Skip to content

OnSleepingBagDestroy

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnSleepingBagDestroy(  )
{
    Puts( "OnSleepingBagDestroy works!" );
}

Location

  • SleepingBag::DestroyBag(ulong userID, NetworkableId sleepingBag)
csharp
//---
		}
		if (sleepingBag2 == null)
		{
			result = false;
		}
		else if (Interface.CallHook("OnSleepingBagDestroy", sleepingBag2, userID) != null)
		{
			result = false;
		}
		else
		{
//---

Released under the MIT License.