Skip to content

OnSignalBroadcast

Usage

  • No return behavior

Example Autogenerated

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

Location

  • BaseEntity::SignalBroadcast(BaseEntity/Signal signal, string arg, Network.Connection sourceConnection)
csharp
//---
	}
	if (this.net.group == null || base.limitNetworking)
	{
		return;
	}
	if (Interface.CallHook("OnSignalBroadcast", this, sourceConnection) != null)
	{
		return;
	}
	this.ClientRPC<int, string, ulong>(RpcTarget.NetworkGroup("SignalFromServerEx", this, SendMethod.Unreliable, Priority.Immediate), (int)signal, arg, (sourceConnection != null) ? sourceConnection.userid : 0uL);
}

Released under the MIT License.