IC8 Python API:RLPy RIEventListener

From Reallusion Wiki!
Jump to: navigation, search

Description

This class is a byproduct of the REventHandler class, originally intended to provide an interface for registering / unregistering application events. However, this was later refactored as features under REventHandler itself. Rather than creating an object entity every time an event is registered, this class is retained instead. Due to these changes, this class is not recommended for direct usage. Therefore, API documentation and details on its internal implementation will not be revealed. <!--

Constructor & Destructor

__init__ (self, *args, **kwargs)

Initializes a new ri event listener instance.

Parameters

  • args
  • kwargs

Member Functions

Init (self)

Initialize this event listener.

RegisterCallback (self, pCallback)

Register a callback to this event listener.

Parameters

  • pCallback

UnregisterCallback (self, uId)

Remove a callback from this event listener by id.

Parameters

  • uId

UnregisterCallbacks (self, kIds)

Remove callbacks from this event listener by ids.

Parameters

  • kIds

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.