OnRfBroadcasterRemoved
Usage
- No return behavior
Example Autogenerated
csharp
private void OnRfBroadcasterRemoved( IRFObject obj, int frequency )
{
Puts( "OnRfBroadcasterRemoved works!" );
}
Location
- RFManager::RemoveBroadcaster(int frequency, IRFObject obj)
csharp
//---
{
Debug.LogWarning(string.Format("Found null entries in the RF broadcaster set for frequency {0}... cleaning up.", frequency));
}
if (broadcasterSet.Remove(obj))
{
Interface.CallHook("OnRfBroadcasterRemoved", obj, frequency);
if (broadcasterSet.Count == 0)
{
RFManager._isFrequencyBroadcasting[frequency] = false;
RFManager.UpdateListenersForFrequency(frequency, false);
}
//---