645 {
648
651
653 {
655 }
656
658
660 {
662 {
663 switch (creatureId)
664 {
671 break;
676 break;
681 break;
682 }
683 }
684 }
685
687 {
688 switch (creatureId)
689 {
695 break;
701 break;
707 break;
708 }
709 }
710
712 return true;
713 }
std::uint32_t uint32
Definition: Define.h:107
@ S_WEAPON
Definition: npc_professions.cpp:112
@ S_ARMOR
Definition: npc_professions.cpp:113
#define GOSSIP_UNLEARN_HAMMER
Definition: npc_professions.cpp:82
#define GOSSIP_LEARN_HAMMER
Definition: npc_professions.cpp:81
#define GOSSIP_SENDER_LEARN
Definition: npc_professions.cpp:56
#define GOSSIP_UNLEARN_AXE
Definition: npc_professions.cpp:84
#define GOSSIP_ARMOR_LEARN
Definition: npc_professions.cpp:75
#define GOSSIP_LEARN_AXE
Definition: npc_professions.cpp:83
#define GOSSIP_WEAPON_UNLEARN
Definition: npc_professions.cpp:74
#define GOSSIP_SENDER_UNLEARN
Definition: npc_professions.cpp:57
#define GOSSIP_WEAPON_LEARN
Definition: npc_professions.cpp:73
@ N_TRAINER_SMITHOMNI1
Definition: npc_professions.cpp:195
@ N_TRAINER_SMITHOMNI2
Definition: npc_professions.cpp:196
@ N_TRAINER_AXE
Definition: npc_professions.cpp:202
@ N_TRAINER_ARMOR1
Definition: npc_professions.cpp:199
@ N_TRAINER_HAMMER
Definition: npc_professions.cpp:201
@ N_TRAINER_WEAPON1
Definition: npc_professions.cpp:197
@ N_TRAINER_ARMOR2
Definition: npc_professions.cpp:200
@ N_TRAINER_WEAPON2
Definition: npc_professions.cpp:198
@ N_TRAINER_SWORD
Definition: npc_professions.cpp:203
#define GOSSIP_ARMOR_UNLEARN
Definition: npc_professions.cpp:76
#define GOSSIP_UNLEARN_SWORD
Definition: npc_professions.cpp:86
#define GOSSIP_LEARN_SWORD
Definition: npc_professions.cpp:85
@ SKILL_BLACKSMITHING
Definition: SharedDefines.h:2909
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const guid)
Definition: ScriptedGossip.cpp:45
void AddGossipItemFor(Player *player, uint32 icon, std::string const &text, uint32 sender, uint32 action)
Definition: ScriptedGossip.cpp:28
#define GOSSIP_TEXT_TRAIN
Definition: ScriptedGossip.h:26
#define GOSSIP_TEXT_BROWSE_GOODS
Definition: ScriptedGossip.h:25
@ GOSSIP_SENDER_MAIN
Definition: ScriptedGossip.h:70
@ GOSSIP_ACTION_TRADE
Definition: ScriptedGossip.h:56
@ GOSSIP_ACTION_TRAIN
Definition: ScriptedGossip.h:57
@ GOSSIP_ACTION_INFO_DEF
Definition: ScriptedGossip.h:68
@ GOSSIP_ICON_CHAT
Definition: GossipDef.h:61
@ GOSSIP_ICON_TRAINER
Definition: GossipDef.h:64
@ GOSSIP_ICON_VENDOR
Definition: GossipDef.h:62
uint32 GetEntry() const
Definition: Object.h:115
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
bool GetQuestRewardStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1414
uint16 GetBaseSkillValue(uint32 skill) const
Definition: Player.cpp:5519
void PrepareQuestMenu(ObjectGuid guid)
Definition: PlayerQuest.cpp:39
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1429
uint32 GetGossipTextId(uint32 menuId, WorldObject *source)
Definition: PlayerGossip.cpp:404
bool IsTrainer() const
Definition: Unit.h:761
bool IsQuestGiver() const
Definition: Unit.h:762
bool IsVendor() const
Definition: Unit.h:760
uint8 GetLevel() const
Definition: Unit.h:1024
bool HasWeaponSub(Player *player)
Definition: npc_professions.cpp:639