OnSignalBroadcast
Usage
- No return behavior
Example Autogenerated
csharp
private void OnSignalBroadcast( )
{
Puts( "OnSignalBroadcast works!" );
}
Location
- BaseEntity::SignalBroadcast(BaseEntity/Signal signal, Network.Connection sourceConnection)
csharp
//---
}
if (this.net.group == null || base.limitNetworking)
{
return;
}
if (Interface.CallHook("OnSignalBroadcast", this) != null)
{
return;
}
this.ClientRPC<int, ulong>(RpcTarget.NetworkGroup("SignalFromServer", this, SendMethod.Unreliable, Priority.Immediate), (int)signal, (sourceConnection != null) ? sourceConnection.userid : 0uL);
}