AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BattlegroundAB.h File Reference
#include "Battleground.h"
#include "BattlegroundScore.h"
#include "EventMap.h"

Go to the source code of this file.

Classes

struct  ABNodeInfo
 
struct  BattlegroundABScore
 
class  BattlegroundAB
 
struct  BattlegroundAB::CapturePointInfo
 

Enumerations

enum  BG_AB_Events {
  BG_AB_EVENT_UPDATE_BANNER_STABLE = 1 ,
  BG_AB_EVENT_UPDATE_BANNER_FARM = 2 ,
  BG_AB_EVENT_UPDATE_BANNER_BLACKSMITH = 3 ,
  BG_AB_EVENT_UPDATE_BANNER_LUMBERMILL = 4 ,
  BG_AB_EVENT_UPDATE_BANNER_GOLDMINE = 5 ,
  BG_AB_EVENT_CAPTURE_STABLE = 6 ,
  BG_AB_EVENT_CAPTURE_FARM = 7 ,
  BG_AB_EVENT_CAPTURE_BLACKSMITH = 8 ,
  BG_AB_EVENT_CAPTURE_LUMBERMILL = 9 ,
  BG_AB_EVENT_CAPTURE_GOLDMINE = 10 ,
  BG_AB_EVENT_ALLIANCE_TICK = 11 ,
  BG_AB_EVENT_HORDE_TICK = 12
}
 
enum  BG_AB_WorldStates {
  BG_AB_OP_OCCUPIED_BASES_HORDE = 1778 ,
  BG_AB_OP_OCCUPIED_BASES_ALLY = 1779 ,
  BG_AB_OP_RESOURCES_ALLY = 1776 ,
  BG_AB_OP_RESOURCES_HORDE = 1777 ,
  BG_AB_OP_RESOURCES_MAX = 1780 ,
  BG_AB_OP_RESOURCES_WARNING = 1955 ,
  BG_AB_OP_STABLE_ICON = 1842 ,
  BG_AB_OP_STABLE_STATE_ALIENCE = 1767 ,
  BG_AB_OP_STABLE_STATE_HORDE = 1768 ,
  BG_AB_OP_STABLE_STATE_CON_ALI = 1769 ,
  BG_AB_OP_STABLE_STATE_CON_HOR = 1770 ,
  BG_AB_OP_FARM_ICON = 1845 ,
  BG_AB_OP_FARM_STATE_ALIENCE = 1772 ,
  BG_AB_OP_FARM_STATE_HORDE = 1773 ,
  BG_AB_OP_FARM_STATE_CON_ALI = 1774 ,
  BG_AB_OP_FARM_STATE_CON_HOR = 1775 ,
  BG_AB_OP_BLACKSMITH_ICON = 1846 ,
  BG_AB_OP_BLACKSMITH_STATE_ALIENCE = 1782 ,
  BG_AB_OP_BLACKSMITH_STATE_HORDE = 1783 ,
  BG_AB_OP_BLACKSMITH_STATE_CON_ALI = 1784 ,
  BG_AB_OP_BLACKSMITH_STATE_CON_HOR = 1785 ,
  BG_AB_OP_LUMBERMILL_ICON = 1844 ,
  BG_AB_OP_LUMBERMILL_STATE_ALIENCE = 1792 ,
  BG_AB_OP_LUMBERMILL_STATE_HORDE = 1793 ,
  BG_AB_OP_LUMBERMILL_STATE_CON_ALI = 1794 ,
  BG_AB_OP_LUMBERMILL_STATE_CON_HOR = 1795 ,
  BG_AB_OP_GOLDMINE_ICON = 1843 ,
  BG_AB_OP_GOLDMINE_STATE_ALIENCE = 1787 ,
  BG_AB_OP_GOLDMINE_STATE_HORDE = 1788 ,
  BG_AB_OP_GOLDMINE_STATE_CON_ALI = 1789 ,
  BG_AB_OP_GOLDMINE_STATE_CON_HOR = 1790
}
 
enum  BG_AB_ObjectIds {
  BG_AB_OBJECTID_NODE_BANNER_0 = 180087 ,
  BG_AB_OBJECTID_NODE_BANNER_1 = 180088 ,
  BG_AB_OBJECTID_NODE_BANNER_2 = 180089 ,
  BG_AB_OBJECTID_NODE_BANNER_3 = 180090 ,
  BG_AB_OBJECTID_NODE_BANNER_4 = 180091 ,
  BG_AB_OBJECTID_BANNER_A = 180058 ,
  BG_AB_OBJECTID_BANNER_CONT_A = 180059 ,
  BG_AB_OBJECTID_BANNER_H = 180060 ,
  BG_AB_OBJECTID_BANNER_CONT_H = 180061 ,
  BG_AB_OBJECTID_AURA_A = 180100 ,
  BG_AB_OBJECTID_AURA_H = 180101 ,
  BG_AB_OBJECTID_AURA_C = 180102 ,
  BG_AB_OBJECTID_GATE_A = 180255 ,
  BG_AB_OBJECTID_GATE_H = 180256
}
 
enum  BG_AB_ObjectType {
  BG_AB_OBJECT_BANNER_NEUTRAL = 0 ,
  BG_AB_OBJECT_BANNER_ALLY = 1 ,
  BG_AB_OBJECT_BANNER_HORDE = 2 ,
  BG_AB_OBJECT_BANNER_CONT_A = 3 ,
  BG_AB_OBJECT_BANNER_CONT_H = 4 ,
  BG_AB_OBJECT_AURA_ALLY = 5 ,
  BG_AB_OBJECT_AURA_HORDE = 6 ,
  BG_AB_OBJECT_AURA_CONTESTED = 7 ,
  BG_AB_OBJECTS_PER_NODE = 8 ,
  BG_AB_OBJECT_GATE_A = 40 ,
  BG_AB_OBJECT_GATE_H = 41 ,
  BG_AB_OBJECT_SPEEDBUFF_STABLES = 42 ,
  BG_AB_OBJECT_REGENBUFF_STABLES = 43 ,
  BG_AB_OBJECT_BERSERKBUFF_STABLES = 44 ,
  BG_AB_OBJECT_SPEEDBUFF_BLACKSMITH = 45 ,
  BG_AB_OBJECT_REGENBUFF_BLACKSMITH = 46 ,
  BG_AB_OBJECT_BERSERKBUFF_BLACKSMITH = 47 ,
  BG_AB_OBJECT_SPEEDBUFF_FARM = 48 ,
  BG_AB_OBJECT_REGENBUFF_FARM = 49 ,
  BG_AB_OBJECT_BERSERKBUFF_FARM = 50 ,
  BG_AB_OBJECT_SPEEDBUFF_LUMBER_MILL = 51 ,
  BG_AB_OBJECT_REGENBUFF_LUMBER_MILL = 52 ,
  BG_AB_OBJECT_BERSERKBUFF_LUMBER_MILL = 53 ,
  BG_AB_OBJECT_SPEEDBUFF_GOLD_MINE = 54 ,
  BG_AB_OBJECT_REGENBUFF_GOLD_MINE = 55 ,
  BG_AB_OBJECT_BERSERKBUFF_GOLD_MINE = 56 ,
  BG_AB_OBJECT_MAX = 57
}
 
enum  BG_AB_BattlegroundNodes {
  BG_AB_NODE_STABLES = 0 ,
  BG_AB_NODE_BLACKSMITH = 1 ,
  BG_AB_NODE_FARM = 2 ,
  BG_AB_NODE_LUMBER_MILL = 3 ,
  BG_AB_NODE_GOLD_MINE = 4 ,
  BG_AB_DYNAMIC_NODES_COUNT = 5 ,
  BG_AB_SPIRIT_ALIANCE = 5 ,
  BG_AB_SPIRIT_HORDE = 6 ,
  BG_AB_ALL_NODES_COUNT = 7
}
 
enum  BG_AB_BroadcastTexts {
  BG_AB_TEXT_ALLIANCE_NEAR_VICTORY = 10598 ,
  BG_AB_TEXT_HORDE_NEAR_VICTORY = 10599
}
 
enum  BG_AB_NodeStatus {
  BG_AB_NODE_STATE_NEUTRAL = 0 ,
  BG_AB_NODE_STATE_ALLY_OCCUPIED = 1 ,
  BG_AB_NODE_STATE_HORDE_OCCUPIED = 2 ,
  BG_AB_NODE_STATE_ALLY_CONTESTED = 3 ,
  BG_AB_NODE_STATE_HORDE_CONTESTED = 4
}
 
enum  BG_AB_Sounds {
  BG_AB_SOUND_NODE_CLAIMED = 8192 ,
  BG_AB_SOUND_NODE_CAPTURED_ALLIANCE = 8173 ,
  BG_AB_SOUND_NODE_CAPTURED_HORDE = 8213 ,
  BG_AB_SOUND_NODE_ASSAULTED_ALLIANCE = 8212 ,
  BG_AB_SOUND_NODE_ASSAULTED_HORDE = 8174 ,
  BG_AB_SOUND_NEAR_VICTORY_ALLIANCE = 8456 ,
  BG_AB_SOUND_NEAR_VICTORY_HORDE = 8457
}
 
enum  BG_AB_Misc {
  BG_AB_OBJECTIVE_ASSAULT_BASE = 122 ,
  BG_AB_OBJECTIVE_DEFEND_BASE = 123 ,
  BG_AB_EVENT_START_BATTLE = 9158 ,
  BG_AB_QUEST_CREDIT_BASE = 15001 ,
  BG_AB_HONOR_TICK_NORMAL = 260 ,
  BG_AB_HONOR_TICK_WEEKEND = 160 ,
  BG_AB_REP_TICK_NORMAL = 160 ,
  BG_AB_REP_TICK_WEEKEND = 120 ,
  BG_AB_WARNING_NEAR_VICTORY_SCORE = 1400 ,
  BG_AB_MAX_TEAM_SCORE = 1600 ,
  BG_AB_FLAG_CAPTURING_TIME = 60000 ,
  BG_AB_BANNER_UPDATE_TIME = 2000
}
 

Variables

ABNodeInfo const ABNodes [BG_AB_DYNAMIC_NODES_COUNT]
 
const uint32 BG_AB_TickIntervals [BG_AB_DYNAMIC_NODES_COUNT+1] = {0, 12000, 9000, 6000, 3000, 1000}
 
const uint32 BG_AB_TickPoints [BG_AB_DYNAMIC_NODES_COUNT+1] = {0, 10, 10, 10, 10, 30}
 
const uint32 BG_AB_GraveyardIds [BG_AB_ALL_NODES_COUNT] = {895, 894, 893, 897, 896, 898, 899}
 
const float BG_AB_BuffPositions [BG_AB_DYNAMIC_NODES_COUNT][4]
 
const float BG_AB_NodePositions [BG_AB_DYNAMIC_NODES_COUNT][4]
 
const float BG_AB_DoorPositions [2][8]
 
const float BG_AB_SpiritGuidePos [BG_AB_ALL_NODES_COUNT][4]
 

Enumeration Type Documentation

◆ BG_AB_BattlegroundNodes

Enumerator
BG_AB_NODE_STABLES 
BG_AB_NODE_BLACKSMITH 
BG_AB_NODE_FARM 
BG_AB_NODE_LUMBER_MILL 
BG_AB_NODE_GOLD_MINE 
BG_AB_DYNAMIC_NODES_COUNT 
BG_AB_SPIRIT_ALIANCE 
BG_AB_SPIRIT_HORDE 
BG_AB_ALL_NODES_COUNT 
138{
141 BG_AB_NODE_FARM = 2,
144 BG_AB_DYNAMIC_NODES_COUNT = 5, // dynamic nodes that can be captured
145
148 BG_AB_ALL_NODES_COUNT = 7, // all nodes (dynamic and static)
149};
@ BG_AB_NODE_BLACKSMITH
Definition: BattlegroundAB.h:140
@ BG_AB_NODE_STABLES
Definition: BattlegroundAB.h:139
@ BG_AB_ALL_NODES_COUNT
Definition: BattlegroundAB.h:148
@ BG_AB_NODE_LUMBER_MILL
Definition: BattlegroundAB.h:142
@ BG_AB_DYNAMIC_NODES_COUNT
Definition: BattlegroundAB.h:144
@ BG_AB_NODE_FARM
Definition: BattlegroundAB.h:141
@ BG_AB_SPIRIT_HORDE
Definition: BattlegroundAB.h:147
@ BG_AB_NODE_GOLD_MINE
Definition: BattlegroundAB.h:143
@ BG_AB_SPIRIT_ALIANCE
Definition: BattlegroundAB.h:146

◆ BG_AB_BroadcastTexts

Enumerator
BG_AB_TEXT_ALLIANCE_NEAR_VICTORY 
BG_AB_TEXT_HORDE_NEAR_VICTORY 
152{
155};
@ BG_AB_TEXT_ALLIANCE_NEAR_VICTORY
Definition: BattlegroundAB.h:153
@ BG_AB_TEXT_HORDE_NEAR_VICTORY
Definition: BattlegroundAB.h:154

◆ BG_AB_Events

Enumerator
BG_AB_EVENT_UPDATE_BANNER_STABLE 
BG_AB_EVENT_UPDATE_BANNER_FARM 
BG_AB_EVENT_UPDATE_BANNER_BLACKSMITH 
BG_AB_EVENT_UPDATE_BANNER_LUMBERMILL 
BG_AB_EVENT_UPDATE_BANNER_GOLDMINE 
BG_AB_EVENT_CAPTURE_STABLE 
BG_AB_EVENT_CAPTURE_FARM 
BG_AB_EVENT_CAPTURE_BLACKSMITH 
BG_AB_EVENT_CAPTURE_LUMBERMILL 
BG_AB_EVENT_CAPTURE_GOLDMINE 
BG_AB_EVENT_ALLIANCE_TICK 
BG_AB_EVENT_HORDE_TICK 
26{
32
38
41};
@ BG_AB_EVENT_UPDATE_BANNER_GOLDMINE
Definition: BattlegroundAB.h:31
@ BG_AB_EVENT_ALLIANCE_TICK
Definition: BattlegroundAB.h:39
@ BG_AB_EVENT_UPDATE_BANNER_FARM
Definition: BattlegroundAB.h:28
@ BG_AB_EVENT_CAPTURE_GOLDMINE
Definition: BattlegroundAB.h:37
@ BG_AB_EVENT_UPDATE_BANNER_STABLE
Definition: BattlegroundAB.h:27
@ BG_AB_EVENT_UPDATE_BANNER_LUMBERMILL
Definition: BattlegroundAB.h:30
@ BG_AB_EVENT_UPDATE_BANNER_BLACKSMITH
Definition: BattlegroundAB.h:29
@ BG_AB_EVENT_CAPTURE_LUMBERMILL
Definition: BattlegroundAB.h:36
@ BG_AB_EVENT_HORDE_TICK
Definition: BattlegroundAB.h:40
@ BG_AB_EVENT_CAPTURE_BLACKSMITH
Definition: BattlegroundAB.h:35
@ BG_AB_EVENT_CAPTURE_STABLE
Definition: BattlegroundAB.h:33
@ BG_AB_EVENT_CAPTURE_FARM
Definition: BattlegroundAB.h:34

◆ BG_AB_Misc

enum BG_AB_Misc
Enumerator
BG_AB_OBJECTIVE_ASSAULT_BASE 
BG_AB_OBJECTIVE_DEFEND_BASE 
BG_AB_EVENT_START_BATTLE 
BG_AB_QUEST_CREDIT_BASE 
BG_AB_HONOR_TICK_NORMAL 
BG_AB_HONOR_TICK_WEEKEND 
BG_AB_REP_TICK_NORMAL 
BG_AB_REP_TICK_WEEKEND 
BG_AB_WARNING_NEAR_VICTORY_SCORE 
BG_AB_MAX_TEAM_SCORE 
BG_AB_FLAG_CAPTURING_TIME 
BG_AB_BANNER_UPDATE_TIME 
200{
203 BG_AB_EVENT_START_BATTLE = 9158, // Achievement: Let's Get This Done
205
210
213
216};
@ BG_AB_REP_TICK_NORMAL
Definition: BattlegroundAB.h:208
@ BG_AB_REP_TICK_WEEKEND
Definition: BattlegroundAB.h:209
@ BG_AB_FLAG_CAPTURING_TIME
Definition: BattlegroundAB.h:214
@ BG_AB_WARNING_NEAR_VICTORY_SCORE
Definition: BattlegroundAB.h:211
@ BG_AB_BANNER_UPDATE_TIME
Definition: BattlegroundAB.h:215
@ BG_AB_HONOR_TICK_NORMAL
Definition: BattlegroundAB.h:206
@ BG_AB_QUEST_CREDIT_BASE
Definition: BattlegroundAB.h:204
@ BG_AB_MAX_TEAM_SCORE
Definition: BattlegroundAB.h:212
@ BG_AB_OBJECTIVE_ASSAULT_BASE
Definition: BattlegroundAB.h:201
@ BG_AB_HONOR_TICK_WEEKEND
Definition: BattlegroundAB.h:207
@ BG_AB_EVENT_START_BATTLE
Definition: BattlegroundAB.h:203
@ BG_AB_OBJECTIVE_DEFEND_BASE
Definition: BattlegroundAB.h:202

◆ BG_AB_NodeStatus

Enumerator
BG_AB_NODE_STATE_NEUTRAL 
BG_AB_NODE_STATE_ALLY_OCCUPIED 
BG_AB_NODE_STATE_HORDE_OCCUPIED 
BG_AB_NODE_STATE_ALLY_CONTESTED 
BG_AB_NODE_STATE_HORDE_CONTESTED 
180{
186};
@ BG_AB_NODE_STATE_NEUTRAL
Definition: BattlegroundAB.h:181
@ BG_AB_NODE_STATE_ALLY_OCCUPIED
Definition: BattlegroundAB.h:182
@ BG_AB_NODE_STATE_HORDE_CONTESTED
Definition: BattlegroundAB.h:185
@ BG_AB_NODE_STATE_HORDE_OCCUPIED
Definition: BattlegroundAB.h:183
@ BG_AB_NODE_STATE_ALLY_CONTESTED
Definition: BattlegroundAB.h:184

◆ BG_AB_ObjectIds

Enumerator
BG_AB_OBJECTID_NODE_BANNER_0 
BG_AB_OBJECTID_NODE_BANNER_1 
BG_AB_OBJECTID_NODE_BANNER_2 
BG_AB_OBJECTID_NODE_BANNER_3 
BG_AB_OBJECTID_NODE_BANNER_4 
BG_AB_OBJECTID_BANNER_A 
BG_AB_OBJECTID_BANNER_CONT_A 
BG_AB_OBJECTID_BANNER_H 
BG_AB_OBJECTID_BANNER_CONT_H 
BG_AB_OBJECTID_AURA_A 
BG_AB_OBJECTID_AURA_H 
BG_AB_OBJECTID_AURA_C 
BG_AB_OBJECTID_GATE_A 
BG_AB_OBJECTID_GATE_H 
84{
85 BG_AB_OBJECTID_NODE_BANNER_0 = 180087, // Stables banner
86 BG_AB_OBJECTID_NODE_BANNER_1 = 180088, // Blacksmith banner
87 BG_AB_OBJECTID_NODE_BANNER_2 = 180089, // Farm banner
88 BG_AB_OBJECTID_NODE_BANNER_3 = 180090, // Lumber mill banner
89 BG_AB_OBJECTID_NODE_BANNER_4 = 180091, // Gold mine banner
90
95
96 BG_AB_OBJECTID_AURA_A = 180100,
97 BG_AB_OBJECTID_AURA_H = 180101,
98 BG_AB_OBJECTID_AURA_C = 180102,
99
100 BG_AB_OBJECTID_GATE_A = 180255,
101 BG_AB_OBJECTID_GATE_H = 180256
102};
@ BG_AB_OBJECTID_BANNER_CONT_A
Definition: BattlegroundAB.h:92
@ BG_AB_OBJECTID_BANNER_A
Definition: BattlegroundAB.h:91
@ BG_AB_OBJECTID_NODE_BANNER_3
Definition: BattlegroundAB.h:88
@ BG_AB_OBJECTID_AURA_A
Definition: BattlegroundAB.h:96
@ BG_AB_OBJECTID_BANNER_H
Definition: BattlegroundAB.h:93
@ BG_AB_OBJECTID_NODE_BANNER_4
Definition: BattlegroundAB.h:89
@ BG_AB_OBJECTID_NODE_BANNER_2
Definition: BattlegroundAB.h:87
@ BG_AB_OBJECTID_NODE_BANNER_1
Definition: BattlegroundAB.h:86
@ BG_AB_OBJECTID_AURA_C
Definition: BattlegroundAB.h:98
@ BG_AB_OBJECTID_AURA_H
Definition: BattlegroundAB.h:97
@ BG_AB_OBJECTID_GATE_A
Definition: BattlegroundAB.h:100
@ BG_AB_OBJECTID_NODE_BANNER_0
Definition: BattlegroundAB.h:85
@ BG_AB_OBJECTID_BANNER_CONT_H
Definition: BattlegroundAB.h:94
@ BG_AB_OBJECTID_GATE_H
Definition: BattlegroundAB.h:101

◆ BG_AB_ObjectType

Enumerator
BG_AB_OBJECT_BANNER_NEUTRAL 
BG_AB_OBJECT_BANNER_ALLY 
BG_AB_OBJECT_BANNER_HORDE 
BG_AB_OBJECT_BANNER_CONT_A 
BG_AB_OBJECT_BANNER_CONT_H 
BG_AB_OBJECT_AURA_ALLY 
BG_AB_OBJECT_AURA_HORDE 
BG_AB_OBJECT_AURA_CONTESTED 
BG_AB_OBJECTS_PER_NODE 
BG_AB_OBJECT_GATE_A 
BG_AB_OBJECT_GATE_H 
BG_AB_OBJECT_SPEEDBUFF_STABLES 
BG_AB_OBJECT_REGENBUFF_STABLES 
BG_AB_OBJECT_BERSERKBUFF_STABLES 
BG_AB_OBJECT_SPEEDBUFF_BLACKSMITH 
BG_AB_OBJECT_REGENBUFF_BLACKSMITH 
BG_AB_OBJECT_BERSERKBUFF_BLACKSMITH 
BG_AB_OBJECT_SPEEDBUFF_FARM 
BG_AB_OBJECT_REGENBUFF_FARM 
BG_AB_OBJECT_BERSERKBUFF_FARM 
BG_AB_OBJECT_SPEEDBUFF_LUMBER_MILL 
BG_AB_OBJECT_REGENBUFF_LUMBER_MILL 
BG_AB_OBJECT_BERSERKBUFF_LUMBER_MILL 
BG_AB_OBJECT_SPEEDBUFF_GOLD_MINE 
BG_AB_OBJECT_REGENBUFF_GOLD_MINE 
BG_AB_OBJECT_BERSERKBUFF_GOLD_MINE 
BG_AB_OBJECT_MAX 
105{
115
118
134 BG_AB_OBJECT_MAX = 57,
135};
@ BG_AB_OBJECT_REGENBUFF_BLACKSMITH
Definition: BattlegroundAB.h:123
@ BG_AB_OBJECT_REGENBUFF_FARM
Definition: BattlegroundAB.h:126
@ BG_AB_OBJECT_BANNER_HORDE
Definition: BattlegroundAB.h:108
@ BG_AB_OBJECT_SPEEDBUFF_GOLD_MINE
Definition: BattlegroundAB.h:131
@ BG_AB_OBJECT_REGENBUFF_LUMBER_MILL
Definition: BattlegroundAB.h:129
@ BG_AB_OBJECT_BANNER_ALLY
Definition: BattlegroundAB.h:107
@ BG_AB_OBJECT_GATE_A
Definition: BattlegroundAB.h:116
@ BG_AB_OBJECT_AURA_HORDE
Definition: BattlegroundAB.h:112
@ BG_AB_OBJECT_SPEEDBUFF_FARM
Definition: BattlegroundAB.h:125
@ BG_AB_OBJECT_BERSERKBUFF_BLACKSMITH
Definition: BattlegroundAB.h:124
@ BG_AB_OBJECT_MAX
Definition: BattlegroundAB.h:134
@ BG_AB_OBJECT_SPEEDBUFF_BLACKSMITH
Definition: BattlegroundAB.h:122
@ BG_AB_OBJECT_GATE_H
Definition: BattlegroundAB.h:117
@ BG_AB_OBJECT_BERSERKBUFF_FARM
Definition: BattlegroundAB.h:127
@ BG_AB_OBJECT_REGENBUFF_GOLD_MINE
Definition: BattlegroundAB.h:132
@ BG_AB_OBJECT_BANNER_NEUTRAL
Definition: BattlegroundAB.h:106
@ BG_AB_OBJECT_SPEEDBUFF_LUMBER_MILL
Definition: BattlegroundAB.h:128
@ BG_AB_OBJECTS_PER_NODE
Definition: BattlegroundAB.h:114
@ BG_AB_OBJECT_BANNER_CONT_H
Definition: BattlegroundAB.h:110
@ BG_AB_OBJECT_BERSERKBUFF_STABLES
Definition: BattlegroundAB.h:121
@ BG_AB_OBJECT_BERSERKBUFF_GOLD_MINE
Definition: BattlegroundAB.h:133
@ BG_AB_OBJECT_SPEEDBUFF_STABLES
Definition: BattlegroundAB.h:119
@ BG_AB_OBJECT_BANNER_CONT_A
Definition: BattlegroundAB.h:109
@ BG_AB_OBJECT_AURA_ALLY
Definition: BattlegroundAB.h:111
@ BG_AB_OBJECT_BERSERKBUFF_LUMBER_MILL
Definition: BattlegroundAB.h:130
@ BG_AB_OBJECT_REGENBUFF_STABLES
Definition: BattlegroundAB.h:120
@ BG_AB_OBJECT_AURA_CONTESTED
Definition: BattlegroundAB.h:113

◆ BG_AB_Sounds

Enumerator
BG_AB_SOUND_NODE_CLAIMED 
BG_AB_SOUND_NODE_CAPTURED_ALLIANCE 
BG_AB_SOUND_NODE_CAPTURED_HORDE 
BG_AB_SOUND_NODE_ASSAULTED_ALLIANCE 
BG_AB_SOUND_NODE_ASSAULTED_HORDE 
BG_AB_SOUND_NEAR_VICTORY_ALLIANCE 
BG_AB_SOUND_NEAR_VICTORY_HORDE 
189{
197};
@ BG_AB_SOUND_NEAR_VICTORY_ALLIANCE
Definition: BattlegroundAB.h:195
@ BG_AB_SOUND_NODE_CAPTURED_HORDE
Definition: BattlegroundAB.h:192
@ BG_AB_SOUND_NODE_ASSAULTED_ALLIANCE
Definition: BattlegroundAB.h:193
@ BG_AB_SOUND_NODE_ASSAULTED_HORDE
Definition: BattlegroundAB.h:194
@ BG_AB_SOUND_NEAR_VICTORY_HORDE
Definition: BattlegroundAB.h:196
@ BG_AB_SOUND_NODE_CLAIMED
Definition: BattlegroundAB.h:190
@ BG_AB_SOUND_NODE_CAPTURED_ALLIANCE
Definition: BattlegroundAB.h:191

◆ BG_AB_WorldStates

Enumerator
BG_AB_OP_OCCUPIED_BASES_HORDE 
BG_AB_OP_OCCUPIED_BASES_ALLY 
BG_AB_OP_RESOURCES_ALLY 
BG_AB_OP_RESOURCES_HORDE 
BG_AB_OP_RESOURCES_MAX 
BG_AB_OP_RESOURCES_WARNING 
BG_AB_OP_STABLE_ICON 
BG_AB_OP_STABLE_STATE_ALIENCE 
BG_AB_OP_STABLE_STATE_HORDE 
BG_AB_OP_STABLE_STATE_CON_ALI 
BG_AB_OP_STABLE_STATE_CON_HOR 
BG_AB_OP_FARM_ICON 
BG_AB_OP_FARM_STATE_ALIENCE 
BG_AB_OP_FARM_STATE_HORDE 
BG_AB_OP_FARM_STATE_CON_ALI 
BG_AB_OP_FARM_STATE_CON_HOR 
BG_AB_OP_BLACKSMITH_ICON 
BG_AB_OP_BLACKSMITH_STATE_ALIENCE 
BG_AB_OP_BLACKSMITH_STATE_HORDE 
BG_AB_OP_BLACKSMITH_STATE_CON_ALI 
BG_AB_OP_BLACKSMITH_STATE_CON_HOR 
BG_AB_OP_LUMBERMILL_ICON 
BG_AB_OP_LUMBERMILL_STATE_ALIENCE 
BG_AB_OP_LUMBERMILL_STATE_HORDE 
BG_AB_OP_LUMBERMILL_STATE_CON_ALI 
BG_AB_OP_LUMBERMILL_STATE_CON_HOR 
BG_AB_OP_GOLDMINE_ICON 
BG_AB_OP_GOLDMINE_STATE_ALIENCE 
BG_AB_OP_GOLDMINE_STATE_HORDE 
BG_AB_OP_GOLDMINE_STATE_CON_ALI 
BG_AB_OP_GOLDMINE_STATE_CON_HOR 
44{
51
52 BG_AB_OP_STABLE_ICON = 1842, //Stable map icon (NONE)
53 BG_AB_OP_STABLE_STATE_ALIENCE = 1767, //Stable map state (ALIENCE)
54 BG_AB_OP_STABLE_STATE_HORDE = 1768, //Stable map state (HORDE)
55 BG_AB_OP_STABLE_STATE_CON_ALI = 1769, //Stable map state (CON ALIENCE)
56 BG_AB_OP_STABLE_STATE_CON_HOR = 1770, //Stable map state (CON HORDE)
57
58 BG_AB_OP_FARM_ICON = 1845, //Farm map icon (NONE)
59 BG_AB_OP_FARM_STATE_ALIENCE = 1772, //Farm state (ALIENCE)
60 BG_AB_OP_FARM_STATE_HORDE = 1773, //Farm state (HORDE)
61 BG_AB_OP_FARM_STATE_CON_ALI = 1774, //Farm state (CON ALIENCE)
62 BG_AB_OP_FARM_STATE_CON_HOR = 1775, //Farm state (CON HORDE)
63
64 BG_AB_OP_BLACKSMITH_ICON = 1846, //Blacksmith map icon (NONE)
65 BG_AB_OP_BLACKSMITH_STATE_ALIENCE = 1782, //Blacksmith map state (ALIENCE)
66 BG_AB_OP_BLACKSMITH_STATE_HORDE = 1783, //Blacksmith map state (HORDE)
67 BG_AB_OP_BLACKSMITH_STATE_CON_ALI = 1784, //Blacksmith map state (CON ALIENCE)
68 BG_AB_OP_BLACKSMITH_STATE_CON_HOR = 1785, //Blacksmith map state (CON HORDE)
69
70 BG_AB_OP_LUMBERMILL_ICON = 1844, //Lumber Mill map icon (NONE)
71 BG_AB_OP_LUMBERMILL_STATE_ALIENCE = 1792, //Lumber Mill map state (ALIENCE)
72 BG_AB_OP_LUMBERMILL_STATE_HORDE = 1793, //Lumber Mill map state (HORDE)
73 BG_AB_OP_LUMBERMILL_STATE_CON_ALI = 1794, //Lumber Mill map state (CON ALIENCE)
74 BG_AB_OP_LUMBERMILL_STATE_CON_HOR = 1795, //Lumber Mill map state (CON HORDE)
75
76 BG_AB_OP_GOLDMINE_ICON = 1843, //Gold Mine map icon (NONE)
77 BG_AB_OP_GOLDMINE_STATE_ALIENCE = 1787, //Gold Mine map state (ALIENCE)
78 BG_AB_OP_GOLDMINE_STATE_HORDE = 1788, //Gold Mine map state (HORDE)
79 BG_AB_OP_GOLDMINE_STATE_CON_ALI = 1789, //Gold Mine map state (CON ALIENCE
80 BG_AB_OP_GOLDMINE_STATE_CON_HOR = 1790, //Gold Mine map state (CON HORDE)
81};
@ BG_AB_OP_LUMBERMILL_STATE_HORDE
Definition: BattlegroundAB.h:72
@ BG_AB_OP_STABLE_STATE_CON_HOR
Definition: BattlegroundAB.h:56
@ BG_AB_OP_FARM_ICON
Definition: BattlegroundAB.h:58
@ BG_AB_OP_RESOURCES_ALLY
Definition: BattlegroundAB.h:47
@ BG_AB_OP_RESOURCES_MAX
Definition: BattlegroundAB.h:49
@ BG_AB_OP_OCCUPIED_BASES_HORDE
Definition: BattlegroundAB.h:45
@ BG_AB_OP_GOLDMINE_STATE_CON_HOR
Definition: BattlegroundAB.h:80
@ BG_AB_OP_LUMBERMILL_STATE_ALIENCE
Definition: BattlegroundAB.h:71
@ BG_AB_OP_RESOURCES_HORDE
Definition: BattlegroundAB.h:48
@ BG_AB_OP_GOLDMINE_ICON
Definition: BattlegroundAB.h:76
@ BG_AB_OP_BLACKSMITH_ICON
Definition: BattlegroundAB.h:64
@ BG_AB_OP_BLACKSMITH_STATE_CON_ALI
Definition: BattlegroundAB.h:67
@ BG_AB_OP_FARM_STATE_CON_ALI
Definition: BattlegroundAB.h:61
@ BG_AB_OP_LUMBERMILL_STATE_CON_HOR
Definition: BattlegroundAB.h:74
@ BG_AB_OP_FARM_STATE_CON_HOR
Definition: BattlegroundAB.h:62
@ BG_AB_OP_STABLE_ICON
Definition: BattlegroundAB.h:52
@ BG_AB_OP_BLACKSMITH_STATE_CON_HOR
Definition: BattlegroundAB.h:68
@ BG_AB_OP_GOLDMINE_STATE_ALIENCE
Definition: BattlegroundAB.h:77
@ BG_AB_OP_FARM_STATE_HORDE
Definition: BattlegroundAB.h:60
@ BG_AB_OP_BLACKSMITH_STATE_HORDE
Definition: BattlegroundAB.h:66
@ BG_AB_OP_LUMBERMILL_ICON
Definition: BattlegroundAB.h:70
@ BG_AB_OP_STABLE_STATE_HORDE
Definition: BattlegroundAB.h:54
@ BG_AB_OP_RESOURCES_WARNING
Definition: BattlegroundAB.h:50
@ BG_AB_OP_OCCUPIED_BASES_ALLY
Definition: BattlegroundAB.h:46
@ BG_AB_OP_STABLE_STATE_ALIENCE
Definition: BattlegroundAB.h:53
@ BG_AB_OP_LUMBERMILL_STATE_CON_ALI
Definition: BattlegroundAB.h:73
@ BG_AB_OP_FARM_STATE_ALIENCE
Definition: BattlegroundAB.h:59
@ BG_AB_OP_STABLE_STATE_CON_ALI
Definition: BattlegroundAB.h:55
@ BG_AB_OP_BLACKSMITH_STATE_ALIENCE
Definition: BattlegroundAB.h:65
@ BG_AB_OP_GOLDMINE_STATE_HORDE
Definition: BattlegroundAB.h:78
@ BG_AB_OP_GOLDMINE_STATE_CON_ALI
Definition: BattlegroundAB.h:79

Variable Documentation

◆ ABNodes

Initial value:
=
{
{ BG_AB_NODE_STABLES, 10199, 10200, 10203, 10204, 10201, 10202, 10286, 10287 },
{ BG_AB_NODE_BLACKSMITH, 10211, 10212, 10213, 10214, 10215, 10216, 10290, 10291 },
{ BG_AB_NODE_FARM, 10217, 10218, 10219, 10220, 10221, 10222, 10288, 10289 },
{ BG_AB_NODE_LUMBER_MILL, 10224, 10225, 10226, 10227, 10228, 10229, 10284, 10285 },
{ BG_AB_NODE_GOLD_MINE, 10230, 10231, 10232, 10233, 10234, 10235, 10282, 10283 }
}

Referenced by BattlegroundAB::EventPlayerClickedOnFlag(), and BattlegroundAB::PostUpdateImpl().

◆ BG_AB_BuffPositions

const float BG_AB_BuffPositions[BG_AB_DYNAMIC_NODES_COUNT][4]
Initial value:
=
{
{1185.71f, 1185.24f, -56.36f, 2.56f},
{990.75f, 1008.18f, -42.60f, 2.43f},
{817.66f, 843.34f, -56.54f, 3.01f},
{807.46f, 1189.16f, 11.92f, 5.44f},
{1146.62f, 816.94f, -98.49f, 6.14f}
}

Referenced by BattlegroundAB::SetupBattleground().

◆ BG_AB_DoorPositions

const float BG_AB_DoorPositions[2][8]
Initial value:
=
{
{1284.597f, 1281.167f, -15.97792f, 0.7068594f, 0.012957f, -0.060288f, 0.344959f, 0.93659f},
{708.0903f, 708.4479f, -17.8342f, -2.391099f, 0.050291f, 0.015127f, 0.929217f, -0.365784f}
}

Referenced by BattlegroundAB::SetupBattleground().

◆ BG_AB_GraveyardIds

const uint32 BG_AB_GraveyardIds[BG_AB_ALL_NODES_COUNT] = {895, 894, 893, 897, 896, 898, 899}

◆ BG_AB_NodePositions

const float BG_AB_NodePositions[BG_AB_DYNAMIC_NODES_COUNT][4]
Initial value:
=
{
{1166.785f, 1200.132f, -56.70859f, 0.9075713f},
{977.0156f, 1046.616f, -44.80923f, -2.600541f},
{806.1821f, 874.2723f, -55.99371f, -2.303835f},
{856.1419f, 1148.902f, 11.18469f, -2.303835f},
{1146.923f, 848.1782f, -110.917f, -0.7330382f}
}

Referenced by BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundAB::NodeOccupied(), and BattlegroundAB::SetupBattleground().

◆ BG_AB_SpiritGuidePos

const float BG_AB_SpiritGuidePos[BG_AB_ALL_NODES_COUNT][4]
Initial value:
=
{
{1200.03f, 1171.09f, -56.47f, 5.15f},
{1017.43f, 960.61f, -42.95f, 4.88f},
{833.00f, 793.00f, -57.25f, 5.27f},
{775.17f, 1206.40f, 15.79f, 1.90f},
{1207.48f, 787.00f, -83.36f, 5.51f},
{1354.05f, 1275.48f, -11.30f, 4.77f},
{714.61f, 646.15f, -10.87f, 4.34f}
}

Referenced by BattlegroundAB::NodeOccupied(), and BattlegroundAB::SetupBattleground().

◆ BG_AB_TickIntervals

const uint32 BG_AB_TickIntervals[BG_AB_DYNAMIC_NODES_COUNT+1] = {0, 12000, 9000, 6000, 3000, 1000}

◆ BG_AB_TickPoints

const uint32 BG_AB_TickPoints[BG_AB_DYNAMIC_NODES_COUNT+1] = {0, 10, 10, 10, 10, 30}