Difference between revisions of "Bz removeEvent"

From BZFlagWiki
Jump to: navigation, search
(New page: {{apicall | name = bz_removeEvent( bz_eEventType eventType, bz_EventListener *listener ) | description = Removes the specified event listener. The event listener must previo...)
 
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name            = bz_removeEvent( bz_eEventType eventType, bz_EventListener *listener )
 
| name            = bz_removeEvent( bz_eEventType eventType, bz_EventListener *listener )
| description    = Removes the specified event listener. The event listener must previously have been added by a call to [[bz_addEvent]].  
+
| description    = Removes the specified event listener. The event listener must previously have been added by a call to [[bz_registerEvent]].  
 
| param1          = eventType
 
| param1          = eventType
 
| 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.

Revision as of 01:36, 15 December 2008

void bz_removeEvent( bz_eEventType eventType, bz_EventListener *listener ) (eventType, 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.