OnCoalingTowerStart
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnCoalingTowerStart( CoalingTower instance, BasePlayer player )
{
Puts( "OnCoalingTowerStart works!" );
}
Location
- CoalingTower::RPC_Unload(BaseEntity/RPCMessage msg)
csharp
[BaseEntity.RPC_Server, BaseEntity.RPC_Server.MaxDistance(3f)]
private void RPC_Unload(BaseEntity.RPCMessage msg)
{
if (Interface.CallHook("OnCoalingTowerStart", this, msg.player) != null)
{
return;
}
CoalingTower.ActionAttemptStatus actionAttemptStatus;
if (!this.TryUnloadActiveWagon(out actionAttemptStatus) && msg.player != null)
//---