![]() |
TrinityCore
|
#include <ScriptMgr.h>
Inheritance diagram for ItemScript:Public Member Functions | |
| virtual bool | OnQuestAccept (Player *player, Item *item, Quest const *quest) |
| virtual bool | OnUse (Player *player, Item *item, SpellCastTargets const &targets) |
| virtual bool | OnExpire (Player *player, ItemTemplate const *proto) |
| virtual bool | OnRemove (Player *player, Item *item) |
| virtual bool | OnCastItemCombatSpell (Player *player, Unit *victim, SpellInfo const *spellInfo, Item *item) |
Public Member Functions inherited from ScriptObject | |
| std::string const & | GetName () const |
Protected Member Functions | |
| ItemScript (char const *name) | |
Protected Member Functions inherited from ScriptObject | |
| ScriptObject (char const *name) | |
| virtual | ~ScriptObject () |
Definition at line 356 of file ScriptMgr.h.
|
explicitprotected |
|
virtual |
Reimplemented in item_generic_limit_chance_above_60.
Definition at line 2359 of file ScriptMgr.cpp.
|
virtual |
Reimplemented in item_mysterious_egg, and item_disgusting_jar.
Definition at line 2349 of file ScriptMgr.cpp.
Definition at line 2339 of file ScriptMgr.cpp.
Reimplemented in item_tainted_core.
Definition at line 2354 of file ScriptMgr.cpp.
|
virtual |
Reimplemented in item_only_for_flight, item_petrov_cluster_bombs, item_captured_frog, and item_defias_gunpowder.
Definition at line 2344 of file ScriptMgr.cpp.