EventManager.registerEventHook

Registers an EventHook for a specific Event. This hook will be called when the event is fired.

class EventManager
@trusted
void
registerEventHook

Parameters

eventType string

The event's full class name. This is given by EventClass.classinfo.name

hook EventHook

The EventHook to be called when the Event is fired.

Meta