Method Global:ClearGameObjectGossipEvents [-] [+]

Unbinds event handlers for either all of a GameObject's gossip events, or one type of event.

If event_type is nil, all the GameObject's gossip event handlers are cleared.

Otherwise, only event handlers for event_type are cleared.

NOTE: this will affect all instances of the GameObject, not just one. To bind and unbind gossip events to a single GameObject, tell the Eluna developers to implement that.

Synopsis

ClearGameObjectGossipEvents( entry )

ClearGameObjectGossipEvents( entry, event_type )

Arguments

number entry

The ID of a GameObject 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:RegisterGameObjectGossipEvent.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine