CanLockerAcceptItem
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void CanLockerAcceptItem( Locker instance, Item item, int targetSlot )
{
Puts( "CanLockerAcceptItem works!" );
}
Location
- Locker::ItemFilter(Item item, int targetSlot)
csharp
public override bool ItemFilter(Item item, int targetSlot)
{
object returnvar = Interface.CallHook("CanLockerAcceptItem", this, item, targetSlot);
if (returnvar is bool)
{
return (bool)returnvar;
}
if (!base.ItemFilter(item, targetSlot))
//---