This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz registerEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
No edit summary
Allejo (talk | contribs)
mNo edit summary
Line 9: Line 9:
| param2desc  = The listener that will be called when events of the specified type occur
| param2desc  = The listener that will be called when events of the specified type occur
}}
}}
===Deprecation===
All calls to [[bz_registerEvent]] have been deprecated as of 2.4 and will be replaced with:
# '''Register(bz_eEventType eventType)'''
More information on this function can be found on the [[BZFS_API_2.4_Upgrade]] page.

Revision as of 05:00, 15 June 2011

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:
eventType  -  The type of event to listen for
eventHandler  -  The listener that will be called when events of the specified type occur


Deprecation

All calls to bz_registerEvent have been deprecated as of 2.4 and will be replaced with:

# Register(bz_eEventType eventType)

More information on this function can be found on the BZFS_API_2.4_Upgrade page.