644 {
647
650
652 {
654 }
655
657
659 {
661 {
662 switch (creatureId)
663 {
670 break;
675 break;
680 break;
681 }
682 }
683 }
684
686 {
687 switch (creatureId)
688 {
694 break;
700 break;
706 break;
707 }
708 }
709
711 return true;
712 }
std::uint32_t uint32
Definition: Define.h:107
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:60
@ GOSSIP_ICON_TRAINER
Definition: GossipDef.h:63
@ GOSSIP_ICON_VENDOR
Definition: GossipDef.h:61
@ S_WEAPON
Definition: npc_professions.cpp:111
@ S_ARMOR
Definition: npc_professions.cpp:112
#define GOSSIP_UNLEARN_HAMMER
Definition: npc_professions.cpp:81
#define GOSSIP_LEARN_HAMMER
Definition: npc_professions.cpp:80
#define GOSSIP_SENDER_LEARN
Definition: npc_professions.cpp:55
#define GOSSIP_UNLEARN_AXE
Definition: npc_professions.cpp:83
#define GOSSIP_ARMOR_LEARN
Definition: npc_professions.cpp:74
#define GOSSIP_LEARN_AXE
Definition: npc_professions.cpp:82
#define GOSSIP_WEAPON_UNLEARN
Definition: npc_professions.cpp:73
#define GOSSIP_SENDER_UNLEARN
Definition: npc_professions.cpp:56
#define GOSSIP_WEAPON_LEARN
Definition: npc_professions.cpp:72
@ N_TRAINER_SMITHOMNI1
Definition: npc_professions.cpp:194
@ N_TRAINER_SMITHOMNI2
Definition: npc_professions.cpp:195
@ N_TRAINER_AXE
Definition: npc_professions.cpp:201
@ N_TRAINER_ARMOR1
Definition: npc_professions.cpp:198
@ N_TRAINER_HAMMER
Definition: npc_professions.cpp:200
@ N_TRAINER_WEAPON1
Definition: npc_professions.cpp:196
@ N_TRAINER_ARMOR2
Definition: npc_professions.cpp:199
@ N_TRAINER_WEAPON2
Definition: npc_professions.cpp:197
@ N_TRAINER_SWORD
Definition: npc_professions.cpp:202
#define GOSSIP_ARMOR_UNLEARN
Definition: npc_professions.cpp:75
#define GOSSIP_UNLEARN_SWORD
Definition: npc_professions.cpp:85
#define GOSSIP_LEARN_SWORD
Definition: npc_professions.cpp:84
@ SKILL_BLACKSMITHING
Definition: SharedDefines.h:2909
uint32 GetEntry() const
Definition: Object.h:112
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
bool GetQuestRewardStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1409
uint16 GetBaseSkillValue(uint32 skill) const
Definition: Player.cpp:5488
void PrepareQuestMenu(ObjectGuid guid)
Definition: PlayerQuest.cpp:39
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1424
uint32 GetGossipTextId(uint32 menuId, WorldObject *source)
Definition: PlayerGossip.cpp:404
bool IsTrainer() const
Definition: Unit.h:717
bool IsQuestGiver() const
Definition: Unit.h:718
bool IsVendor() const
Definition: Unit.h:716
uint8 GetLevel() const
Definition: Unit.h:855
bool HasWeaponSub(Player *player)
Definition: npc_professions.cpp:638