291 {
293 return false;
294
297
299 if (!wintergrasp)
300 return true;
301
303 {
306 }
307 else
308 {
312 {
315 }
316 else
318 }
319 return true;
320 }
constexpr auto MINUTE
Definition: Common.h:47
std::uint32_t uint32
Definition: Define.h:107
@ WG_NPCQUEUE_TEXT_H_WAR
Definition: zone_wintergrasp.cpp:43
@ WG_NPCQUEUE_TEXT_H_NOWAR
Definition: zone_wintergrasp.cpp:41
@ WG_NPCQUEUE_TEXT_A_WAR
Definition: zone_wintergrasp.cpp:46
@ WG_GOSSIP_MENU_QUEUE
Definition: zone_wintergrasp.cpp:49
@ WG_NPCQUEUE_TEXT_A_QUEUE
Definition: zone_wintergrasp.cpp:45
@ WG_NPCQUEUE_TEXT_H_QUEUE
Definition: zone_wintergrasp.cpp:42
@ WG_NPCQUEUE_TEXT_A_NOWAR
Definition: zone_wintergrasp.cpp:44
@ BATTLEFIELD_BATTLEID_WG
Definition: Battlefield.h:35
#define sBattlefieldMgr
Definition: BattlefieldMgr.h:77
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
@ CONFIG_MINIGOB_MANABONK
Definition: IWorld.h:151
#define sWorld
Definition: World.h:443
Seconds GetGameTime()
Definition: GameTime.cpp:38
Definition: Battlefield.h:204
TeamId GetDefenderTeam()
Definition: Battlefield.h:275
uint32 GetTimer()
Definition: Battlefield.h:352
bool IsWarTime()
Return true if battle is start, false if battle is not started.
Definition: Battlefield.h:247
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
void SendUpdateWorldState(uint32 variable, uint32 value) const
Definition: PlayerUpdates.cpp:2197
void PrepareQuestMenu(ObjectGuid guid)
Definition: PlayerQuest.cpp:39
bool IsQuestGiver() const
Definition: Unit.h:762