MCPcopy Create free account
hub / github.com/ElunaLuaEngine/Eluna / ClearCreatureEvents

Function ClearCreatureEvents

methods/TrinityCore/GlobalMethods.h:2574–2593  ·  view source on GitHub ↗

* 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 all instances of the [Creature], not just one. * To bind and unbind events to a single [Creature], see

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.80

Tested by

no test coverage detected