Skip to content

OnInventoryItemsFind

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnInventoryItemsFind( PlayerInventory instance, int id, List`1 list )
{
    Puts( "OnInventoryItemsFind works!" );
}

Location

  • PlayerInventory::FindItemsByItemID(System.Collections.Generic.List`1<Item> list, int id)
csharp
public void FindItemsByItemID(List<Item> list, int id)
{
	if (Interface.CallHook("OnInventoryItemsFind", this, id, list) != null)
	{
		return;
	}
	if (this.containerMain != null)
	{
//---

Released under the MIT License.