#include <ScriptMgr.h>
|
| | ~ItemScript () |
| |
| virtual bool | OnQuestAccept (Player *player, Item *item, Quest const *quest) |
| |
| virtual bool | OnUse (Player *player, Item *item, SpellCastTargets const &targets, ObjectGuid castId) |
| |
| 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) |
| |
| | ScriptObject (ScriptObject const &right)=delete |
| |
| | ScriptObject (ScriptObject &&right)=delete |
| |
| ScriptObject & | operator= (ScriptObject const &right)=delete |
| |
| ScriptObject & | operator= (ScriptObject &&right)=delete |
| |
| std::string const & | GetName () const |
| |
Definition at line 388 of file ScriptMgr.h.
◆ ItemScript()
| ItemScript::ItemScript |
( |
char const * |
name | ) |
|
|
explicitprotectednoexcept |
◆ ~ItemScript()
| ItemScript::~ItemScript |
( |
| ) |
|
|
default |
◆ OnCastItemCombatSpell()
| bool ItemScript::OnCastItemCombatSpell |
( |
Player * |
player, |
|
|
Unit * |
victim, |
|
|
SpellInfo const * |
spellInfo, |
|
|
Item * |
item |
|
) |
| |
|
virtual |
◆ OnExpire()
◆ OnQuestAccept()
| bool ItemScript::OnQuestAccept |
( |
Player * |
player, |
|
|
Item * |
item, |
|
|
Quest const * |
quest |
|
) |
| |
|
virtual |
◆ OnRemove()
| bool ItemScript::OnRemove |
( |
Player * |
player, |
|
|
Item * |
item |
|
) |
| |
|
virtual |
◆ OnUse()
The documentation for this class was generated from the following files: