OnBedMade
Usage
- No return behavior
Example Autogenerated
csharp
private void OnBedMade( SleepingBag instance, BasePlayer player )
{
Puts( "OnBedMade works!" );
}
Location
- SleepingBag::RPC_MakeBed(BaseEntity/RPCMessage msg)
csharp
//---
ulong num = this.deployerUserID;
this.deployerUserID = msg.player.userID;
this.NotifyPlayer(num);
this.NotifyPlayer(this.deployerUserID);
SleepingBag.OnBagChangedOwnership(this, num);
Interface.CallHook("OnBedMade", this, msg.player);
base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
}