OnSleepingBagDestroy
Usage
- No return behavior
Example Autogenerated
csharp
private void OnSleepingBagDestroy( )
{
Puts( "OnSleepingBagDestroy works!" );
}Location
- SleepingBag::DestroyBag(ulong userID, NetworkableId sleepingBag)
csharp
//---
{
result = false;
}
else
{
if (Interface.CallHook("OnSleepingBagDestroy", sleepingBag2, userID) != null)
{
result = false;
/*Error near IL_0077: Could not find block for branch target IL_00e8*/;
}
RemoveBagForPlayer(sleepingBag2, sleepingBag2.deployerUserID);
//---