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