Method Global:ClearMapEvents [-] [+]
Unbinds event handlers for either all of a non-instanced Map's events, or one type of event.
If event_type
is nil
, all the non-instanced Map's event handlers are cleared.
Otherwise, only event handlers for event_type
are cleared.
Synopsis
ClearMapEvents( map_id )
ClearMapEvents( map_id, event_type )
Arguments
number event_type
The event whose handlers will be cleared, see Global:RegisterPlayerGossipEvent.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
Nothing.