OnRfListenerAdd
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnRfListenerAdd( IRFObject obj, int frequency )
{
Puts( "OnRfListenerAdd works!" );
}
Location
- RFManager::AddListener(int frequency, IRFObject obj)
csharp
public static void AddListener(int frequency, IRFObject obj)
{
frequency = RFManager.ClampFrequency(frequency);
if (Interface.CallHook("OnRfListenerAdd", obj, frequency) != null)
{
return;
}
List<IRFObject> listenList = RFManager.GetListenList(frequency);
if (listenList.Contains(obj))
//---