CanBeRecycled
Usage
- Return a bool value to override default behavior
Example Autogenerated
csharp
private bool? CanBeRecycled( Item item, Recycler instance )
{
Puts( "CanBeRecycled works!" );
return null;
}Location
- Recycler::CanBeRecycled(Item item)
csharp
private bool CanBeRecycled(Item item)
{
object obj = Interface.CallHook("CanBeRecycled", item, this);
if (obj is bool)
{
return (bool)obj;
}
if (item != null)
//---