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;
}
List<IRFObject> listenList = RFManager.GetListenList(frequency);
if (listenList.Contains(obj))
//---