Skip to content

OnRfBroadcasterAdd

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • RFManager::AddBroadcaster(int frequency, IRFObject obj)
csharp
public static void AddBroadcaster(int frequency, IRFObject obj)
{
	frequency = RFManager.ClampFrequency(frequency);
	if (Interface.CallHook("OnRfBroadcasterAdd", obj, frequency) != null)
	{
		return;
	}
	HashSet<IRFObject> expr_23 = RFManager.GetBroadcasterSet(frequency);
	Predicate<IRFObject> arg_43_1;
//---

Released under the MIT License.