bz_removeEvent

From BZFlagWiki
Revision as of 05:27, 15 December 2008 by Javawizard2539 (Talk | contribs)

Jump to: navigation, search

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.