OnInventoryItemFind
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnInventoryItemFind( PlayerInventory instance, int id )
{
Puts( "OnInventoryItemFind works!" );
}
Location
- PlayerInventory::FindItemByItemID(int id)
csharp
public Item FindItemByItemID(int id)
{
object returnvar = Interface.CallHook("OnInventoryItemFind", this, id);
if (returnvar is Item)
{
return (Item)returnvar;
}
if (this.containerMain != null)
//---