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 removeEvent: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{apicall | {{apicall | ||
| name = bz_removeEvent | | name = bz_removeEvent | ||
| description = Removes the specified event listener. The event listener must previously have been added by a call to [[bz_registerEvent]]. | | description = Removes the specified event listener. The event listener must previously have been added by a call to [[bz_registerEvent]]. | ||
| param1 = eventType | | param1 = eventType | ||
| param1type = bz_eEventType | |||
| param1desc = The type of event that this listener was previously registered to handle. This is so that if this listener is registered for multiple event types, only one of those will be removed. | | param1desc = The type of event that this listener was previously registered to handle. This is so that if this listener is registered for multiple event types, only one of those will be removed. | ||
| param2 = listener | | param2 = listener | ||
| param2type = bz_EventHandler* | |||
| param2desc = The listener to remove. | | param2desc = The listener to remove. | ||
}} | }} | ||
Revision as of 05:27, 15 December 2008
void bz_removeEvent (bz_eEventType eventType, bz_EventHandler* listener)
Removes the specified event listener. The event listener must previously have been added by a call to bz_registerEvent.
Parameters:
eventType - The type of event that this listener was previously registered to handle. This is so that if this listener is registered for multiple event types, only one of those will be removed.
listener - The listener to remove.