TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlegroundEY.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __BATTLEGROUNDEY_H
20 #define __BATTLEGROUNDEY_H
21 
22 #include "Battleground.h"
23 #include "BattlegroundScore.h"
24 #include "Language.h"
25 #include "Object.h"
26 
28 {
29  BG_EY_EVENT_START_BATTLE = 13180, // Achievement: Flurry
32 };
33 
35 {
39  EY_HORDE_BASE = 2753,
52  PROGRESS_BAR_PERCENT_GREY = 2720, //100 = empty (only grey), 0 = blue|red (no grey)
53  PROGRESS_BAR_STATUS = 2719, //50 init!, 48 ... hordak bere .. 33 .. 0 = full 100% hordacky, 100 = full alliance
54  PROGRESS_BAR_SHOW = 2718, //1 init, 0 druhy send - bez messagu, 1 = controlled aliance
56  //set to 2 when flag is picked up, and to 1 if it is dropped
59 };
60 
62 {
73 };
74 
76 {
77  //strange ids, but sure about them
83 };
84 
86 {
89 };
90 
92 {
93  BG_OBJECT_A_DOOR_EY_ENTRY = 184719, //Alliance door
94  BG_OBJECT_H_DOOR_EY_ENTRY = 184720, //Horde door
95  BG_OBJECT_FLAG1_EY_ENTRY = 184493, //Netherstorm flag (generic)
96  BG_OBJECT_FLAG2_EY_ENTRY = 184141, //Netherstorm flag (flagstand)
97  BG_OBJECT_FLAG3_EY_ENTRY = 184142, //Netherstorm flag (flagdrop)
98  BG_OBJECT_A_BANNER_EY_ENTRY = 184381, //Visual Banner (Alliance)
99  BG_OBJECT_H_BANNER_EY_ENTRY = 184380, //Visual Banner (Horde)
100  BG_OBJECT_N_BANNER_EY_ENTRY = 184382, //Visual Banner (Neutral)
101  BG_OBJECT_BE_TOWER_CAP_EY_ENTRY = 184080, //BE Tower Cap Pt
102  BG_OBJECT_FR_TOWER_CAP_EY_ENTRY = 184081, //Fel Reaver Cap Pt
103  BG_OBJECT_HU_TOWER_CAP_EY_ENTRY = 184082, //Human Tower Cap Pt
104  BG_OBJECT_DR_TOWER_CAP_EY_ENTRY = 184083 //Draenei Tower Cap Pt
105 };
106 
108 {
117 };
118 
120 {
127 };
128 
130 {
135 
138 };
139 
141 {
148 
153 
155 };
156 
158 {
206  //buffs
220 };
221 
222 #define BG_EY_NotEYWeekendHonorTicks 260
223 #define BG_EY_EYWeekendHonorTicks 160
224 
226 {
229 };
230 
232 {
237 };
238 
240 {
244 };
245 
247 {
249 };
250 
252 {
253  BattlegroundEYPointIconsStruct(uint32 _WorldStateControlIndex, uint32 _WorldStateAllianceControlledIndex, uint32 _WorldStateHordeControlledIndex)
254  : WorldStateControlIndex(_WorldStateControlIndex), WorldStateAllianceControlledIndex(_WorldStateAllianceControlledIndex), WorldStateHordeControlledIndex(_WorldStateHordeControlledIndex) { }
258 };
259 
261 {
262  {2044.28f, 1729.68f, 1189.96f, 0.017453f}, // FEL_REAVER center
263  {2048.83f, 1393.65f, 1194.49f, 0.20944f}, // BLOOD_ELF center
264  {2286.56f, 1402.36f, 1197.11f, 3.72381f}, // DRAENEI_RUINS center
265  {2284.48f, 1731.23f, 1189.99f, 2.89725f} // MAGE_TOWER center
266 };
267 
269 {
270  BattlegroundEYLosingPointStruct(uint32 _SpawnNeutralObjectType, uint32 _DespawnObjectTypeAlliance, uint32 _MessageIdAlliance, uint32 _DespawnObjectTypeHorde, uint32 _MessageIdHorde)
271  : SpawnNeutralObjectType(_SpawnNeutralObjectType),
272  DespawnObjectTypeAlliance(_DespawnObjectTypeAlliance), MessageIdAlliance(_MessageIdAlliance),
273  DespawnObjectTypeHorde(_DespawnObjectTypeHorde), MessageIdHorde(_MessageIdHorde)
274  { }
275 
281 };
282 
284 {
285  BattlegroundEYCapturingPointStruct(uint32 _DespawnNeutralObjectType, uint32 _SpawnObjectTypeAlliance, uint32 _MessageIdAlliance, uint32 _SpawnObjectTypeHorde, uint32 _MessageIdHorde, uint32 _GraveYardId)
286  : DespawnNeutralObjectType(_DespawnNeutralObjectType),
287  SpawnObjectTypeAlliance(_SpawnObjectTypeAlliance), MessageIdAlliance(_MessageIdAlliance),
288  SpawnObjectTypeHorde(_SpawnObjectTypeHorde), MessageIdHorde(_MessageIdHorde),
289  GraveYardId(_GraveYardId)
290  { }
291 
298 };
299 
300 const uint8 BG_EY_TickPoints[EY_POINTS_MAX] = {1, 2, 5, 10};
301 const uint32 BG_EY_FlagPoints[EY_POINTS_MAX] = {75, 85, 100, 500};
302 
303 //constant arrays:
305 {
310 };
312 {
317 };
319 {
324 };
325 
327 {
328  friend class BattlegroundEY;
329 
330  protected:
331  BattlegroundEYScore(ObjectGuid playerGuid, uint32 team) : BattlegroundScore(playerGuid, team), FlagCaptures(0) { }
332 
333  void UpdateScore(uint32 type, uint32 value) override
334  {
335  switch (type)
336  {
337  case SCORE_FLAG_CAPTURES: // Flags captured
338  FlagCaptures += value;
339  break;
340  default:
341  BattlegroundScore::UpdateScore(type, value);
342  break;
343  }
344  }
345 
346  void BuildObjectivesBlock(std::vector<int32>& stats) override
347  {
348  stats.push_back(FlagCaptures);
349  }
350 
351  uint32 GetAttr1() const final override { return FlagCaptures; }
352 
354 };
355 
357 {
358  public:
359  BattlegroundEY();
360  ~BattlegroundEY();
361 
362  /* inherited from BattlegroundClass */
363  void AddPlayer(Player* player) override;
364  void StartingEventCloseDoors() override;
365  void StartingEventOpenDoors() override;
366 
367  /* BG Flags */
368  ObjectGuid GetFlagPickerGUID(int32 /*team*/ = -1) const override { return m_FlagKeeper; }
369  void SetFlagPicker(ObjectGuid guid) { m_FlagKeeper = guid; }
370  bool IsFlagPickedup() const { return !m_FlagKeeper.IsEmpty(); }
371  uint8 GetFlagState() const { return m_FlagState; }
372  void RespawnFlag(bool send_message);
373  void RespawnFlagAfterDrop();
374 
375  void RemovePlayer(Player* player, ObjectGuid guid, uint32 team) override;
376  void HandleAreaTrigger(Player* source, uint32 trigger, bool entered) override;
377  void HandleKillPlayer(Player* player, Player* killer) override;
378  WorldSafeLocsEntry const* GetClosestGraveYard(Player* player) override;
379  bool SetupBattleground() override;
380  void Reset() override;
382  void EndBattleground(uint32 winner) override;
383  bool UpdatePlayerScore(Player* player, uint32 type, uint32 value, bool doAddHonor = true) override;
385  void SetDroppedFlagGUID(ObjectGuid guid, int32 /*TeamID*/ = -1) override { m_DroppedFlagGUID = guid; }
387 
388  /* Battleground Events */
389  void EventPlayerClickedOnFlag(Player* Source, GameObject* target_obj) override;
390  void EventPlayerDroppedFlag(Player* Source) override;
391 
392  /* achievement req. */
393  bool IsAllNodesControlledByTeam(uint32 team) const override;
394 
395  uint32 GetPrematureWinner() override;
396 protected:
397  void PostUpdateImpl(uint32 diff) override;
398  void GetPlayerPositionData(std::vector<WorldPackets::Battleground::BattlegroundPlayerPosition>* positions) const override;
399 
400  void EventPlayerCapturedFlag(Player* Source, uint32 BgObjectType);
401  void EventTeamCapturedPoint(Player* Source, uint32 Point);
402  void EventTeamLostPoint(Player* Source, uint32 Point);
404  void UpdatePointsIcons(uint32 Team, uint32 Point);
405 
406  private:
407  /* Point status updating procedures */
408  void CheckSomeoneLeftPoint();
410  void UpdatePointStatuses();
411 
412  /* Scorekeeping */
414 
417 
420 
422 
423  ObjectGuid m_FlagKeeper; // keepers guid
425  uint32 m_FlagCapturedBgObjectType; // type that should be despawned when flag is captured
426  uint8 m_FlagState; // for checking flag state
429 
435 
438 };
439 #endif
440 
Definition: BattlegroundEY.h:46
const uint32 BG_EY_FlagPoints[EY_POINTS_MAX]
Definition: BattlegroundEY.h:301
Definition: BattlegroundEY.h:198
void UpdateScore(uint32 type, uint32 value) override
Definition: BattlegroundEY.h:333
Definition: BattlegroundEY.h:181
Definition: BattlegroundEY.h:193
Definition: BattlegroundEY.h:242
Definition: BattlegroundScore.h:35
Definition: BattlegroundEY.h:82
void RespawnFlagAfterDrop()
Definition: BattlegroundEY.cpp:600
uint8 m_CurrentPointPlayersCount[2 *EY_POINTS_MAX]
Definition: BattlegroundEY.h:434
void UpdatePointsIcons(uint32 Team, uint32 Point)
Definition: BattlegroundEY.cpp:354
Definition: Language.h:680
uint32 SpawnObjectTypeHorde
Definition: BattlegroundEY.h:295
Definition: Language.h:687
int32 m_TeamScores[BG_TEAMS_COUNT]
Definition: Battleground.h:562
void HandleKillPlayer(Player *player, Player *killer) override
Definition: BattlegroundEY.cpp:613
void EventPlayerDroppedFlag(Player *Source) override
Definition: BattlegroundEY.cpp:622
void AddPoints(uint32 Team, uint32 Points)
Definition: BattlegroundEY.cpp:159
Definition: BattlegroundEY.h:132
uint32 MessageIdHorde
Definition: BattlegroundEY.h:280
Definition: BattlegroundEY.h:79
Definition: BattlegroundEY.h:41
Definition: BattlegroundEY.h:234
uint32 GetAttr1() const finaloverride
Definition: BattlegroundEY.h:351
Definition: BattlegroundEY.h:194
Definition: BattlegroundEY.h:243
Definition: BattlegroundEY.h:201
Definition: BattlegroundEY.h:173
Definition: Language.h:679
Definition: BattlegroundEY.h:58
Definition: BattlegroundEY.h:88
Definition: BattlegroundEY.h:48
BG_EY_Objectives
Definition: BattlegroundEY.h:246
void EndBattleground(uint32 winner) override
Definition: BattlegroundEY.cpp:332
EYBattlegroundPointsTrigger
Definition: BattlegroundEY.h:107
Definition: BattlegroundEY.h:213
Points
Definition: ScriptedEscortAI.cpp:31
Definition: BattlegroundEY.h:233
void EventTeamLostPoint(Player *Source, uint32 Point)
Definition: BattlegroundEY.cpp:690
Definition: BattlegroundEY.h:96
Definition: Language.h:686
Definition: BattlegroundEY.h:93
int32 m_TowerCapCheckTimer
Definition: BattlegroundEY.h:428
Definition: BattlegroundEY.h:212
void Reset() override
Definition: BattlegroundEY.cpp:550
Definition: BattlegroundEY.h:217
Definition: BattlegroundEY.h:78
void SetDroppedFlagGUID(ObjectGuid guid, int32=-1) override
Definition: BattlegroundEY.h:385
Definition: BattlegroundEY.h:71
uint8 m_PointState[EY_POINTS_MAX]
Definition: BattlegroundEY.h:431
Definition: Language.h:682
virtual void UpdateScore(uint32 type, uint32 value)
Definition: BattlegroundScore.h:65
WorldSafeLocsEntry const * GetClosestGraveYard(Player *player) override
Definition: BattlegroundEY.cpp:900
Definition: BattlegroundEY.h:168
Definition: BattlegroundEY.h:49
Definition: BattlegroundEY.h:143
Definition: BattlegroundEY.h:190
Definition: BattlegroundEY.h:154
Definition: BattlegroundEY.h:184
Definition: DBCStructure.h:1434
EYBattlegroundGaveyards
Definition: BattlegroundEY.h:119
Definition: BattlegroundEY.h:188
void EventTeamCapturedPoint(Player *Source, uint32 Point)
Definition: BattlegroundEY.cpp:738
const uint8 BG_EY_TickPoints[EY_POINTS_MAX]
Definition: BattlegroundEY.h:300
Definition: BattlegroundEY.h:47
Definition: BattlegroundEY.h:218
void RemovePoint(uint32 TeamID, uint32 Points=1)
Definition: BattlegroundEY.h:415
Definition: BattlegroundEY.h:283
Definition: Language.h:691
BG_EY_WorldStates
Definition: BattlegroundEY.h:34
Definition: BattlegroundEY.h:216
Definition: BattlegroundEY.h:101
uint32 GetPrematureWinner() override
Definition: BattlegroundEY.cpp:963
Definition: BattlegroundEY.h:208
Definition: BattlegroundEY.h:152
Definition: BattlegroundEY.h:115
GuidVector m_PlayersNearPoint[EY_POINTS_MAX+1]
Definition: BattlegroundEY.h:433
int32 m_FlagsTimer
Definition: BattlegroundEY.h:427
std::vector< ObjectGuid > GuidVector
Definition: ObjectGuid.h:335
Definition: Language.h:678
Definition: BattlegroundEY.h:187
Definition: BattlegroundEY.h:145
BattlegroundEYCapturingPointStruct(uint32 _DespawnNeutralObjectType, uint32 _SpawnObjectTypeAlliance, uint32 _MessageIdAlliance, uint32 _SpawnObjectTypeHorde, uint32 _MessageIdHorde, uint32 _GraveYardId)
Definition: BattlegroundEY.h:285
Definition: BattlegroundEY.h:356
uint32 GraveYardId
Definition: BattlegroundEY.h:297
uint32 WorldStateControlIndex
Definition: BattlegroundEY.h:255
Definition: BattlegroundEY.h:63
ObjectGuid m_FlagKeeper
Definition: BattlegroundEY.h:423
Definition: BattlegroundEY.h:109
uint32 MessageIdAlliance
Definition: BattlegroundEY.h:294
void PostUpdateImpl(uint32 diff) override
Post-update hook.
Definition: BattlegroundEY.cpp:74
uint32 m_HonorTics
Definition: BattlegroundEY.h:437
Definition: BattlegroundEY.h:200
Definition: BattlegroundEY.h:165
Definition: BattlegroundEY.h:54
Definition: BattlegroundEY.h:123
Definition: BattlegroundEY.h:186
uint32 m_FlagCapturedBgObjectType
Definition: BattlegroundEY.h:425
uint32 m_HonorScoreTics[2]
Definition: BattlegroundEY.h:418
Definition: BattlegroundEY.h:67
void EventPlayerCapturedFlag(Player *Source, uint32 BgObjectType)
Definition: BattlegroundEY.cpp:805
Definition: Language.h:684
static TeamId GetTeamIndexByTeamId(uint32 Team)
Definition: Battleground.h:399
Definition: Language.h:688
void AddPlayer(Player *player) override
Definition: BattlegroundEY.cpp:375
Definition: BattlegroundEY.h:219
Definition: BattlegroundEY.h:185
Definition: BattlegroundEY.h:182
Definition: Language.h:693
Definition: BattlegroundScore.h:54
uint32 DespawnNeutralObjectType
Definition: BattlegroundEY.h:292
Definition: BattlegroundEY.h:110
Definition: BattlegroundEY.h:183
BattlegroundEYLosingPointStruct(uint32 _SpawnNeutralObjectType, uint32 _DespawnObjectTypeAlliance, uint32 _MessageIdAlliance, uint32 _DespawnObjectTypeHorde, uint32 _MessageIdHorde)
Definition: BattlegroundEY.h:270
Team
Definition: SharedDefines.h:997
Definition: BattlegroundEY.h:87
Definition: BattlegroundEY.h:94
Definition: BattlegroundEY.h:326
Definition: BattlegroundEY.h:98
Position const BG_EY_TriggerPositions[EY_POINTS_MAX]
Definition: BattlegroundEY.h:260
void RespawnFlag(bool send_message)
Definition: BattlegroundEY.cpp:582
Definition: BattlegroundEY.h:172
Definition: BattlegroundEY.h:137
EYBattlegroundObjectTypes
Definition: BattlegroundEY.h:157
uint8 m_FlagState
Definition: BattlegroundEY.h:426
bool UpdatePlayerScore(Player *player, uint32 type, uint32 value, bool doAddHonor=true) override
Definition: BattlegroundEY.cpp:844
Definition: BattlegroundEY.h:179
int32 m_PointAddingTimer
Definition: BattlegroundEY.h:436
Definition: BattlegroundEY.h:196
void FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates &packet) override
Definition: BattlegroundEY.cpp:860
Definition: BattlegroundEY.h:166
Definition: BattlegroundEY.h:189
Definition: BattlegroundEY.h:65
ObjectGuid GetDroppedFlagGUID() const
Definition: BattlegroundEY.h:386
EYBattlegroundObjectEntry
Definition: BattlegroundEY.h:91
Definition: BattlegroundEY.h:81
Definition: BattlegroundEY.h:160
Definition: BattlegroundEY.h:116
Definition: BattlegroundEY.h:100
Definition: BattlegroundEY.h:125
Definition: BattlegroundEY.h:44
BG_EY_ProgressBarConsts
Definition: BattlegroundEY.h:61
Definition: BattlegroundEY.h:114
Definition: BattlegroundEY.h:122
Definition: BattlegroundEY.h:251
Definition: BattlegroundEY.h:31
Definition: BattlegroundEY.h:209
Definition: BattlegroundEY.h:170
Definition: BattlegroundEY.h:69
Definition: BattlegroundEY.h:126
int32_t int32
Definition: Define.h:146
BG_EY_Score
Definition: BattlegroundEY.h:225
uint32 DespawnObjectTypeAlliance
Definition: BattlegroundEY.h:277
uint32_t uint32
Definition: Define.h:150
Definition: BattlegroundEY.h:159
Definition: BattlegroundEY.h:162
Definition: BattlegroundEY.h:38
void RemovePlayer(Player *player, ObjectGuid guid, uint32 team) override
Definition: BattlegroundEY.cpp:383
Definition: BattlegroundEY.h:133
Definition: BattlegroundEY.h:102
Definition: WorldStatePackets.h:27
Definition: BattlegroundEY.h:169
Definition: BattlegroundEY.h:227
Definition: GameObject.h:880
Definition: Language.h:690
uint32 m_Points_Trigger[EY_POINTS_MAX]
Definition: BattlegroundEY.h:421
Definition: BattlegroundEY.h:235
Definition: BattlegroundEY.h:37
Definition: BattlegroundEY.h:70
Definition: BattlegroundEY.h:121
Definition: BattlegroundEY.h:195
uint32 WorldStateAllianceControlledIndex
Definition: BattlegroundEY.h:256
Definition: BattlegroundEY.h:207
Definition: BattlegroundEY.h:53
Definition: BattlegroundEY.h:214
Definition: BattlegroundEY.h:124
void BuildObjectivesBlock(std::vector< int32 > &stats) override
Definition: BattlegroundEY.h:346
Definition: BattlegroundEY.h:191
void SetTeamPoint(uint32 TeamID, uint32 Points=0)
Definition: BattlegroundEY.h:416
Definition: BattlegroundEY.h:111
Definition: BattlegroundEY.h:55
Definition: BattlegroundEY.h:95
Definition: BattlegroundEY.h:164
Definition: BattlegroundEY.h:203
Definition: BattlegroundEY.h:211
Definition: BattlegroundEY.h:136
Definition: BattlegroundEY.h:167
void StartingEventOpenDoors() override
Definition: BattlegroundEY.cpp:141
Definition: BattlegroundEY.h:57
Definition: BattlegroundEY.h:112
Definition: BattlegroundEY.h:30
Definition: BattlegroundEY.h:268
Definition: BattlegroundEY.h:144
Definition: Language.h:681
void CheckSomeoneLeftPoint()
Definition: BattlegroundEY.cpp:209
bool IsAllNodesControlledByTeam(uint32 team) const override
Definition: BattlegroundEY.cpp:953
Definition: BattlegroundEY.h:134
int32 m_PointBarStatus[EY_POINTS_MAX]
Definition: BattlegroundEY.h:432
Definition: BattlegroundEY.h:204
Definition: Language.h:692
BG_EY_Misc
Definition: BattlegroundEY.h:27
Definition: BattlegroundEY.h:236
Definition: Language.h:689
Definition: BattlegroundEY.h:39
void UpdatePointStatuses()
Definition: BattlegroundEY.cpp:250
uint32 WorldStateHordeControlledIndex
Definition: BattlegroundEY.h:257
EYBattlegroundPoints
Definition: BattlegroundEY.h:129
Definition: BattlegroundEY.h:68
uint32 SpawnObjectTypeAlliance
Definition: BattlegroundEY.h:293
Definition: BattlegroundEY.h:177
void HandleAreaTrigger(Player *source, uint32 trigger, bool entered) override
Definition: BattlegroundEY.cpp:407
EYBattlegroundCreaturesTypes
Definition: BattlegroundEY.h:140
Definition: BattlegroundEY.h:180
Definition: BattlegroundEY.h:52
BG_EY_FlagState
Definition: BattlegroundEY.h:231
Definition: BattlegroundEY.h:199
Definition: BattlegroundEY.h:202
const BattlegroundEYPointIconsStruct m_PointsIconStruct[EY_POINTS_MAX]
Definition: BattlegroundEY.h:304
Definition: BattlegroundEY.h:151
BattlegroundEYScore(ObjectGuid playerGuid, uint32 team)
Definition: BattlegroundEY.h:331
Definition: BattlegroundEY.h:174
Definition: BattlegroundEY.h:99
Definition: BattlegroundEY.h:29
uint32 MessageIdAlliance
Definition: BattlegroundEY.h:278
Definition: Language.h:685
Definition: Common.h:103
Definition: BattlegroundEY.h:205
Definition: BattlegroundEY.h:40
void SetFlagPicker(ObjectGuid guid)
Definition: BattlegroundEY.h:369
uint32 DespawnObjectTypeHorde
Definition: BattlegroundEY.h:279
Definition: BattlegroundEY.h:51
Definition: BattlegroundEY.h:142
bool IsFlagPickedup() const
Definition: BattlegroundEY.h:370
Definition: BattlegroundEY.h:149
uint32 m_TeamPointsCount[2]
Definition: BattlegroundEY.h:419
Definition: BattlegroundEY.h:113
Definition: BattlegroundEY.h:175
uint8 GetFlagState() const
Definition: BattlegroundEY.h:371
uint8_t uint8
Definition: Define.h:152
Definition: Position.h:27
Definition: BattlegroundEY.h:163
Definition: BattlegroundEY.h:36
void StartingEventCloseDoors() override
Definition: BattlegroundEY.cpp:132
bool SetupBattleground() override
Definition: BattlegroundEY.cpp:455
uint32 SpawnNeutralObjectType
Definition: BattlegroundEY.h:276
Definition: BattlegroundEY.h:146
const BattlegroundEYCapturingPointStruct m_CapturingPointTypes[EY_POINTS_MAX]
Definition: BattlegroundEY.h:318
Definition: BattlegroundEY.h:171
Definition: BattlegroundEY.h:64
BattlegroundEYPointIconsStruct(uint32 _WorldStateControlIndex, uint32 _WorldStateAllianceControlledIndex, uint32 _WorldStateHordeControlledIndex)
Definition: BattlegroundEY.h:253
Definition: BattlegroundEY.h:66
Definition: BattlegroundEY.h:192
const BattlegroundEYLosingPointStruct m_LosingPointTypes[EY_POINTS_MAX]
Definition: BattlegroundEY.h:311
Definition: BattlegroundEY.h:43
BG_EY_Spells
Definition: BattlegroundEY.h:85
Definition: Battleground.h:235
BG_EY_Sounds
Definition: BattlegroundEY.h:75
void GetPlayerPositionData(std::vector< WorldPackets::Battleground::BattlegroundPlayerPosition > *positions) const override
Definition: BattlegroundEY.cpp:118
const FieldDescriptor value
Definition: descriptor.h:1522
ObjectGuid GetFlagPickerGUID(int32=-1) const override
Definition: BattlegroundEY.h:368
BattlegroundEY()
Definition: BattlegroundEY.cpp:34
ObjectGuid m_DroppedFlagGUID
Definition: BattlegroundEY.h:424
Definition: BattlegroundEY.h:147
Definition: ObjectGuid.h:189
#define const
Definition: zconf.h:217
uint32 MessageIdHorde
Definition: BattlegroundEY.h:296
void CheckSomeoneJoinedPoint()
Definition: BattlegroundEY.cpp:172
Definition: BattlegroundEY.h:80
Definition: BattlegroundEY.h:97
Definition: BattlegroundEY.h:241
Definition: BattlegroundEY.h:228
EYBattlegroundPointState
Definition: BattlegroundEY.h:239
Definition: BattlegroundEY.h:215
uint32 FlagCaptures
Definition: BattlegroundEY.h:353
~BattlegroundEY()
Definition: BattlegroundEY.cpp:72
void UpdateTeamScore(uint32 Team)
Definition: BattlegroundEY.cpp:303
Definition: BattlegroundEY.h:248
Definition: BattlegroundEY.h:50
Definition: BattlegroundEY.h:131
uint32 m_PointOwnedByTeam[EY_POINTS_MAX]
Definition: BattlegroundEY.h:430
Definition: BattlegroundEY.h:150
Definition: BattlegroundEY.h:161
void EventPlayerClickedOnFlag(Player *Source, GameObject *target_obj) override
Definition: BattlegroundEY.cpp:658
Definition: BattlegroundEY.h:178
Definition: BattlegroundEY.h:103
Definition: BattlegroundEY.h:42
Definition: BattlegroundEY.h:197
bool IsEmpty() const
Definition: ObjectGuid.h:242
Definition: BattlegroundEY.h:45
Definition: BattlegroundEY.h:176
Definition: BattlegroundEY.h:210
void UpdatePointsCount(uint32 Team)
Definition: BattlegroundEY.cpp:346
Definition: BattlegroundEY.h:72
Definition: Language.h:683
Definition: BattlegroundEY.h:104