Skip to content

OnDefaultItemsReceived

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnDefaultItemsReceived( PlayerInventory instance )
{
    Puts( "OnDefaultItemsReceived works!" );
}

Location

  • PlayerInventory::GiveDefaultItems()
csharp
//---
	{
		this.GiveItem(ItemManager.CreateByName("snowball", 1, 0uL), this.containerBelt);
		this.GiveItem(ItemManager.CreateByName("snowball", 1, 0uL), this.containerBelt);
		this.GiveItem(ItemManager.CreateByName("snowball", 1, 0uL), this.containerBelt);
	}
	Interface.CallHook("OnDefaultItemsReceived", this);
}

Released under the MIT License.