Skip to content

OnRfBroadcasterAdded

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnRfBroadcasterAdded( IRFObject obj, int frequency )
{
    Puts( "OnRfBroadcasterAdded works!" );
}

Location

  • RFManager::AddBroadcaster(int frequency, IRFObject obj)
csharp
//---
	{
		Debug.LogWarning(string.Format("Found null entries in the RF broadcaster set for frequency {0}... cleaning up.", frequency));
	}
	if (expr_23.Add(obj))
	{
		Interface.CallHook("OnRfBroadcasterAdded", obj, frequency);
		bool flag;
		if (!RFManager._isFrequencyBroadcasting.TryGetValue(frequency, out flag) || !flag)
		{
			RFManager._isFrequencyBroadcasting[frequency] = true;
			RFManager.UpdateListenersForFrequency(frequency, true);
//---

Released under the MIT License.