86 npcTextId = altTextId;
95 bool canLearn =
false;
void AddGossipItemFor(Player *player, GossipOptionNpc optionNpc, std::string text, uint32 sender, uint32 action)
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const &guid)
@ SKILL_CLASSIC_ENGINEERING
@ SKILL_OUTLAND_ENGINEERING
ObjectGuid const & GetGUID() const
bool HasSkill(uint32 skill) const
uint16 GetBaseSkillValue(uint32 skill) const
bool HasSpell(uint32 spell) const override
uint32 GetGossipTextId(uint32 menuId, WorldObject *source)
std::unique_ptr< PlayerMenu > PlayerTalkClass
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
CreatureAI * GetAI(Creature *creature) const override
npc_engineering_tele_trinket()
void AddSC_npc_professions()
@ SPELL_LEARN_TO_EVERLOOK
bool OnGossipHello(Player *player) override
npc_engineering_tele_trinketAI(Creature *creature)
bool OnGossipSelect(Player *player, uint32, uint32 gossipListId) override
static bool CanLearn(Player const *player, uint32 textId, uint32 altTextId, uint32 skillId, uint32 skillValue, uint32 reqSpellId, uint32 spellId, uint32 &npcTextId)