 | EventManagerRegisterListener Method (Object, EventManagerEventDelegate) |
Registers the specified delegate for events of the specified type.
Namespace: Slash.ECS.EventsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic void RegisterListener(
Object eventType,
EventManagerEventDelegate callback
)
Public Sub RegisterListener (
eventType As Object,
callback As EventManagerEventDelegate
)
public:
void RegisterListener(
Object^ eventType,
EventManagerEventDelegate^ callback
)
member RegisterListener :
eventType : Object *
callback : EventManagerEventDelegate -> unit
Parameters
- eventType
- Type: SystemObject
Type of the event the caller is interested in. - callback
- Type: Slash.ECS.EventsEventManagerEventDelegate
Delegate to invoke when specified type occurred.
Exceptions
See Also