Skip to content

OnRfListenerRemove

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • RFManager::RemoveListener(int frequency, IRFObject obj)
csharp
public static void RemoveListener(int frequency, IRFObject obj)
{
	frequency = RFManager.ClampFrequency(frequency);
	if (Interface.CallHook("OnRfListenerRemove", obj, frequency) != null)
	{
		return;
	}
	if (RFManager.GetListenerSet(frequency).Remove(obj))
	{
//---

Released under the MIT License.