Skip to content

OnDefaultItemsReceive

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • PlayerInventory::GiveDefaultItems()
csharp
public void GiveDefaultItems()
{
	if (Interface.CallHook("OnDefaultItemsReceive", this) != null)
	{
		return;
	}
	this.Strip();
	BaseGameMode activeGameMode = BaseGameMode.GetActiveGameMode(true);
//---

Released under the MIT License.