Method Global:ClearUniqueCreatureEvents [-] [+]
Unbinds event handlers for either all of a Creature's events, or one type of event.
If event_type
is nil
, all the Creature's event handlers are cleared.
Otherwise, only event handlers for event_type
are cleared.
NOTE: this will affect only a single Creature. To bind and unbind events to all instances of a Creature, see Global:RegisterCreatureEvent and [Global:ClearCreatureEvent].
Synopsis
ClearUniqueCreatureEvents( entry )
ClearUniqueCreatureEvents( entry, event_type )
Arguments
number guid
The GUID of a single Creature whose handlers will be cleared.
Valid numbers: integers from 0 to 18,446,744,073,709,551,615.
number instance_id
The instance ID of a single Creature whose handlers will be cleared.
Valid numbers: integers from 0 to 4,294,967,295.
number event_type
The event whose handlers will be cleared, see Global:RegisterCreatureEvent.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
Nothing.