48 {
50 return true;
51
53 if (!pInstance)
54 return true;
55
58 {
61 {
64 else
66 }
67 else
68 {
72 }
73 break;
77 break;
81 break;
82 default:
83 return true;
84 }
86 return true;
87 }
std::uint32_t uint32
Definition: Define.h:107
@ DATA_INSTANCE_PROGRESS
Definition: trial_of_the_champion.h:33
@ DATA_TEAMID_IN_INSTANCE
Definition: trial_of_the_champion.h:44
@ INSTANCE_PROGRESS_INITIAL
Definition: trial_of_the_champion.h:52
@ INSTANCE_PROGRESS_ARGENT_CHALLENGE_DIED
Definition: trial_of_the_champion.h:60
@ INSTANCE_PROGRESS_CHAMPIONS_DEAD
Definition: trial_of_the_champion.h:58
@ GOSSIP_START_EVENT_1B
Definition: trial_of_the_champion.cpp:36
@ GOSSIP_START_EVENT_3
Definition: trial_of_the_champion.cpp:38
@ NPC_TEXT_CHALLENGE_1
Definition: trial_of_the_champion.cpp:29
@ NPC_TEXT_NOT_MOUNTED_H
Definition: trial_of_the_champion.cpp:26
@ GOSSIP_MENU_STAGE
Definition: trial_of_the_champion.cpp:33
@ NPC_TEXT_CHALLENGE_3
Definition: trial_of_the_champion.cpp:31
@ GOSSIP_START_EVENT_2
Definition: trial_of_the_champion.cpp:37
@ NPC_TEXT_NOT_MOUNTED_A
Definition: trial_of_the_champion.cpp:27
@ GOSSIP_START_EVENT_1A
Definition: trial_of_the_champion.cpp:35
@ NPC_TEXT_CHALLENGE_2
Definition: trial_of_the_champion.cpp:30
@ TEAM_HORDE
Definition: SharedDefines.h:761
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
@ GOSSIP_SENDER_MAIN
Definition: ScriptedGossip.h:70
@ GOSSIP_ACTION_INFO_DEF
Definition: ScriptedGossip.h:68
@ UNIT_NPC_FLAG_GOSSIP
Definition: UnitDefines.h:294
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
Vehicle * GetVehicle() const
Definition: Unit.h:1786
bool HasNpcFlag(NPCFlags flags) const
Definition: Unit.h:725
Definition: InstanceScript.h:142
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:51