bz_registerEvent

From BZFlagWiki
Revision as of 10:21, 14 December 2008 by Javawizard2539 (Talk | contribs) (New page: {{apicall | name = bz_registerEvent | description = Registers a new event handler. This event handler will receive events of the event type specified. | param1 = bz_eEventType ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

void bz_registerEvent (bz_eEventType eventType, bz_EventHandler* eventHandler)


Registers a new event handler. This event handler will receive events of the event type specified.

Parameters:
bz_eEventType eventType  -  The type of event to listen for
bz_EventHandler* eventHandler  -  The listener that will be called when events of the specified type occur