AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
npc_prof_tailor () | |
bool | HasTailorSpell (Player *player) |
bool | OnGossipHello (Player *player, Creature *creature) override |
void | SendActionMenu (Player *player, Creature *creature, uint32 action) |
void | SendConfirmLearn (Player *player, Creature *creature, uint32 action) |
void | SendConfirmUnlearn (Player *player, Creature *creature, uint32 action) |
bool | OnGossipSelect (Player *player, Creature *creature, uint32 sender, uint32 action) override |
Public Member Functions inherited from CreatureScript | |
bool | IsDatabaseBound () const override |
virtual bool | OnGossipHello (Player *, Creature *) |
virtual bool | OnGossipSelect (Player *, Creature *, uint32, uint32) |
virtual bool | OnGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) |
virtual bool | OnQuestAccept (Player *, Creature *, Quest const *) |
virtual bool | OnQuestSelect (Player *, Creature *, Quest const *) |
virtual bool | OnQuestComplete (Player *, Creature *, Quest const *) |
virtual bool | OnQuestReward (Player *, Creature *, Quest const *, uint32) |
virtual uint32 | GetDialogStatus (Player *, Creature *) |
virtual CreatureAI * | GetAI (Creature *) const |
virtual void | OnFfaPvpStateUpdate (Creature *, bool) |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
uint16 | GetTotalAvailableHooks () |
Public Member Functions inherited from UpdatableScript< Creature > | |
virtual void | OnUpdate (Creature *, uint32) |
Additional Inherited Members | |
Protected Member Functions inherited from CreatureScript | |
CreatureScript (const char *name) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name, uint16 totalAvailableHooks=0) | |
virtual | ~ScriptObject ()=default |
Protected Member Functions inherited from UpdatableScript< Creature > | |
UpdatableScript ()=default | |
|
inline |
|
inline |
References Player::HasSpell(), S_MOONCLOTH, S_SHADOWEAVE, and S_SPELLFIRE.
Referenced by OnGossipHello().
Reimplemented from CreatureScript.
References AddGossipItemFor(), Player::GetBaseSkillValue(), Object::GetEntry(), Player::GetGossipTextId(), Object::GetGUID(), Unit::GetLevel(), Player::GetQuestRewardStatus(), GOSSIP_ACTION_INFO_DEF, GOSSIP_ACTION_TRADE, GOSSIP_ACTION_TRAIN, GOSSIP_ICON_CHAT, GOSSIP_ICON_TRAINER, GOSSIP_ICON_VENDOR, GOSSIP_LEARN_MOONCLOTH, GOSSIP_LEARN_SHADOWEAVE, GOSSIP_LEARN_SPELLFIRE, GOSSIP_SENDER_LEARN, GOSSIP_SENDER_MAIN, GOSSIP_SENDER_UNLEARN, GOSSIP_TEXT_BROWSE_GOODS, GOSSIP_TEXT_TRAIN, GOSSIP_UNLEARN_MOONCLOTH, GOSSIP_UNLEARN_SHADOWEAVE, GOSSIP_UNLEARN_SPELLFIRE, Player::HasSkill(), Player::HasSpell(), HasTailorSpell(), Unit::IsQuestGiver(), Unit::IsTrainer(), Unit::IsVendor(), N_TRAINER_MOONCLOTH, N_TRAINER_SHADOWEAVE, N_TRAINER_SPELLFIRE, Player::PrepareQuestMenu(), S_MOONCLOTH, S_SHADOWEAVE, S_SPELLFIRE, SendGossipMenuFor(), and SKILL_TAILORING.
|
inlineoverridevirtual |
Reimplemented from CreatureScript.
References ClearGossipMenuFor(), GOSSIP_SENDER_CHECK, GOSSIP_SENDER_LEARN, GOSSIP_SENDER_MAIN, GOSSIP_SENDER_UNLEARN, SendActionMenu(), SendConfirmLearn(), and SendConfirmUnlearn().
References DoHighUnlearnCost(), DoLearnCost(), Object::GetGUID(), Player::GetSession(), GOSSIP_ACTION_INFO_DEF, GOSSIP_ACTION_TRADE, GOSSIP_ACTION_TRAIN, ProcessCastaction(), ProcessUnlearnAction(), S_LEARN_MOONCLOTH, S_LEARN_SHADOWEAVE, S_LEARN_SPELLFIRE, S_MOONCLOTH, S_SHADOWEAVE, S_SPELLFIRE, S_UNLEARN_MOONCLOTH, S_UNLEARN_SHADOWEAVE, S_UNLEARN_SPELLFIRE, WorldSession::SendListInventory(), and WorldSession::SendTrainerList().
Referenced by OnGossipSelect().
|
inline |
References AddGossipItemFor(), Object::GetEntry(), Player::GetGossipTextId(), Object::GetGUID(), GOSSIP_ICON_CHAT, GOSSIP_LEARN_MOONCLOTH, GOSSIP_LEARN_SHADOWEAVE, GOSSIP_LEARN_SPELLFIRE, GOSSIP_SENDER_CHECK, N_TRAINER_MOONCLOTH, N_TRAINER_SHADOWEAVE, N_TRAINER_SPELLFIRE, and SendGossipMenuFor().
Referenced by OnGossipSelect().
|
inline |
References AddGossipItemFor(), BOX_UNLEARN_TAILOR_SPEC, DoHighUnlearnCost(), Object::GetEntry(), Player::GetGossipTextId(), Object::GetGUID(), GOSSIP_SENDER_CHECK, GOSSIP_UNLEARN_MOONCLOTH, GOSSIP_UNLEARN_SHADOWEAVE, GOSSIP_UNLEARN_SPELLFIRE, N_TRAINER_MOONCLOTH, N_TRAINER_SHADOWEAVE, N_TRAINER_SPELLFIRE, and SendGossipMenuFor().
Referenced by OnGossipSelect().