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

Function RegisterItemEvent

methods/CMangos/GlobalMethods.h:966–969  ·  view source on GitHub ↗

* Registers an [Item] event handler. * * * enum ItemEvents * { * ITEM_EVENT_ON_DUMMY_EFFECT = 1, // (event, caster, spellid, effindex, item) * ITEM_EVENT_ON_USE = 2, // (event, player, item, target) - Can return false to stop the spell casting * ITEM_EVENT_ON_QUEST_ACCEPT

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

RegisterEntryHelperFunction · 0.70

Tested by

no test coverage detected