TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlegroundSA.h File Reference
#include "Battleground.h"
#include "BattlegroundScore.h"
#include "Object.h"
+ Include dependency graph for BattlegroundSA.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GateInfo
 
struct  BG_SA_RoundScore
 
struct  BattlegroundSAScore
 
class  BattlegroundSA
 Class for manage Strand of Ancient battleground. More...
 

Macros

#define BG_SA_FLAG_AMOUNT   3
 
#define BG_SA_DEMOLISHER_AMOUNT   4
 
#define MAX_GATES   6
 

Enumerations

enum  BG_SA_Status {
  BG_SA_NOT_STARTED = 0, BG_SA_WARMUP, BG_SA_ROUND_ONE, BG_SA_SECOND_WARMUP,
  BG_SA_ROUND_TWO, BG_SA_BONUS_ROUND
}
 
enum  BG_SA_GateState { BG_SA_GATE_OK = 1, BG_SA_GATE_DAMAGED = 2, BG_SA_GATE_DESTROYED = 3 }
 
enum  BG_SA_EventIds {
  BG_SA_EVENT_BLUE_GATE_DAMAGED = 19040, BG_SA_EVENT_BLUE_GATE_DESTROYED = 19045, BG_SA_EVENT_GREEN_GATE_DAMAGED = 19041, BG_SA_EVENT_GREEN_GATE_DESTROYED = 19046,
  BG_SA_EVENT_RED_GATE_DAMAGED = 19042, BG_SA_EVENT_RED_GATE_DESTROYED = 19047, BG_SA_EVENT_PURPLE_GATE_DAMAGED = 19043, BG_SA_EVENT_PURPLE_GATE_DESTROYED = 19048,
  BG_SA_EVENT_YELLOW_GATE_DAMAGED = 19044, BG_SA_EVENT_YELLOW_GATE_DESTROYED = 19049, BG_SA_EVENT_ANCIENT_GATE_DAMAGED = 19836, BG_SA_EVENT_ANCIENT_GATE_DESTROYED = 19837,
  BG_SA_EVENT_TITAN_RELIC_ACTIVATED = 22097
}
 
enum  SASpellIds {
  SPELL_TELEPORT_DEFENDER = 52364, SPELL_TELEPORT_ATTACKERS = 60178, SPELL_END_OF_ROUND = 52459, SPELL_REMOVE_SEAFORIUM = 59077,
  SPELL_ALLIANCE_CONTROL_PHASE_SHIFT = 60027, SPELL_HORDE_CONTROL_PHASE_SHIFT = 60028
}
 
enum  SACreatureIds {
  NPC_KANRETHAD = 29, NPC_INVISIBLE_STALKER = 15214, NPC_WORLD_TRIGGER = 22515, NPC_WORLD_TRIGGER_LARGE_AOI_NOT_IMMUNE_PC_NPC = 23472,
  NPC_ANTI_PERSONNAL_CANNON = 27894, NPC_DEMOLISHER_SA = 28781, NPC_RIGGER_SPARKLIGHT = 29260, NPC_GORGRIL_RIGSPARK = 29262
}
 
enum  SAGameObjectIds {
  GO_GATE_OF_THE_GREEN_EMERALD = 190722, GO_GATE_OF_THE_PURPLE_AMETHYST = 190723, GO_GATE_OF_THE_BLUE_SAPPHIRE = 190724, GO_GATE_OF_THE_RED_SUN = 190726,
  GO_GATE_OF_THE_YELLOW_MOON = 190727, GO_CHAMBER_OF_ANCIENT_RELICS = 192549
}
 
enum  BG_SA_Timers { BG_SA_BOAT_START = 60 * IN_MILLISECONDS, BG_SA_WARMUPLENGTH = 120 * IN_MILLISECONDS, BG_SA_ROUNDLENGTH = 600 * IN_MILLISECONDS }
 
enum  SASounds {
  SOUND_GRAVEYARD_TAKEN_HORDE = 8174, SOUND_GRAVEYARD_TAKEN_ALLIANCE = 8212, SOUND_DEFEAT_HORDE = 15905, SOUND_VICTORY_HORDE = 15906,
  SOUND_VICTORY_ALLIANCE = 15907, SOUND_DEFEAT_ALLIANCE = 15908, SOUND_WALL_DESTROYED_ALLIANCE = 15909, SOUND_WALL_DESTROYED_HORDE = 15910,
  SOUND_WALL_ATTACKED_HORDE = 15911, SOUND_WALL_ATTACKED_ALLIANCE = 15912
}
 
enum  SATexts {
  TEXT_ROUND_STARTED = 1, TEXT_ROUND_1_FINISHED = 2, TEXT_SPARKLIGHT_RIGSPARK_SPAWN = 1, TEXT_BLUE_GATE_UNDER_ATTACK = 1,
  TEXT_GREEN_GATE_UNDER_ATTACK = 2, TEXT_RED_GATE_UNDER_ATTACK = 3, TEXT_PURPLE_GATE_UNDER_ATTACK = 4, TEXT_YELLOW_GATE_UNDER_ATTACK = 5,
  TEXT_YELLOW_GATE_DESTROYED = 6, TEXT_PURPLE_GATE_DESTROYED = 7, TEXT_RED_GATE_DESTROYED = 8, TEXT_GREEN_GATE_DESTROYED = 9,
  TEXT_BLUE_GATE_DESTROYED = 10, TEXT_EAST_GRAVEYARD_CAPTURED_A = 11, TEXT_WEST_GRAVEYARD_CAPTURED_A = 12, TEXT_SOUTH_GRAVEYARD_CAPTURED_A = 13,
  TEXT_EAST_GRAVEYARD_CAPTURED_H = 14, TEXT_WEST_GRAVEYARD_CAPTURED_H = 15, TEXT_SOUTH_GRAVEYARD_CAPTURED_H = 16, TEXT_ANCIENT_GATE_UNDER_ATTACK = 17,
  TEXT_ANCIENT_GATE_DESTROYED = 18
}
 
enum  SAWorldStates {
  BG_SA_TIMER_MINS = 3559, BG_SA_TIMER_SEC_TENS = 3560, BG_SA_TIMER_SEC_DECS = 3561, BG_SA_ALLY_ATTACKS = 4352,
  BG_SA_HORDE_ATTACKS = 4353, BG_SA_PURPLE_GATEWS = 3614, BG_SA_RED_GATEWS = 3617, BG_SA_BLUE_GATEWS = 3620,
  BG_SA_GREEN_GATEWS = 3623, BG_SA_YELLOW_GATEWS = 3638, BG_SA_ANCIENT_GATEWS = 3849, BG_SA_LEFT_GY_ALLIANCE = 3635,
  BG_SA_RIGHT_GY_ALLIANCE = 3636, BG_SA_CENTER_GY_ALLIANCE = 3637, BG_SA_RIGHT_ATT_TOKEN_ALL = 3627, BG_SA_LEFT_ATT_TOKEN_ALL = 3626,
  BG_SA_LEFT_ATT_TOKEN_HRD = 3629, BG_SA_RIGHT_ATT_TOKEN_HRD = 3628, BG_SA_HORDE_DEFENCE_TOKEN = 3631, BG_SA_ALLIANCE_DEFENCE_TOKEN = 3630,
  BG_SA_RIGHT_GY_HORDE = 3632, BG_SA_LEFT_GY_HORDE = 3633, BG_SA_CENTER_GY_HORDE = 3634, BG_SA_BONUS_TIMER = 3571,
  BG_SA_ENABLE_TIMER = 3564
}
 
enum  BG_SA_NPCs {
  BG_SA_GUN_1 = 0, BG_SA_GUN_2, BG_SA_GUN_3, BG_SA_GUN_4,
  BG_SA_GUN_5, BG_SA_GUN_6, BG_SA_GUN_7, BG_SA_GUN_8,
  BG_SA_GUN_9, BG_SA_GUN_10, BG_SA_DEMOLISHER_1, BG_SA_DEMOLISHER_2,
  BG_SA_DEMOLISHER_3, BG_SA_DEMOLISHER_4, BG_SA_DEMOLISHER_5, BG_SA_DEMOLISHER_6,
  BG_SA_DEMOLISHER_7, BG_SA_DEMOLISHER_8, BG_SA_NPC_SPARKLIGHT, BG_SA_NPC_RIGSPARK,
  BG_SA_NPC_KANRETHAD, BG_SA_MAXNPC
}
 
enum  BG_SA_Boat { BG_SA_BOAT_ONE_A = 193182, BG_SA_BOAT_TWO_H = 193183, BG_SA_BOAT_ONE_H = 193184, BG_SA_BOAT_TWO_A = 193185 }
 
enum  BG_SA_Objects {
  BG_SA_GREEN_GATE = 0, BG_SA_YELLOW_GATE, BG_SA_BLUE_GATE, BG_SA_RED_GATE,
  BG_SA_PURPLE_GATE, BG_SA_ANCIENT_GATE, BG_SA_TITAN_RELIC, BG_SA_PORTAL_DEFFENDER_BLUE,
  BG_SA_PORTAL_DEFFENDER_GREEN, BG_SA_PORTAL_DEFFENDER_YELLOW, BG_SA_PORTAL_DEFFENDER_PURPLE, BG_SA_PORTAL_DEFFENDER_RED,
  BG_SA_BOAT_ONE, BG_SA_BOAT_TWO, BG_SA_SIGIL_1, BG_SA_SIGIL_2,
  BG_SA_SIGIL_3, BG_SA_SIGIL_4, BG_SA_SIGIL_5, BG_SA_CENTRAL_FLAGPOLE,
  BG_SA_RIGHT_FLAGPOLE, BG_SA_LEFT_FLAGPOLE, BG_SA_CENTRAL_FLAG, BG_SA_RIGHT_FLAG,
  BG_SA_LEFT_FLAG, BG_SA_BOMB, BG_SA_MAXOBJ = BG_SA_BOMB+68
}
 
enum  BG_SA_Graveyards {
  BG_SA_BEACH_GY = 0, BG_SA_DEFENDER_LAST_GY, BG_SA_RIGHT_CAPTURABLE_GY, BG_SA_LEFT_CAPTURABLE_GY,
  BG_SA_CENTRAL_CAPTURABLE_GY, BG_SA_MAX_GY
}
 

Variables

uint32 const BG_SA_NpcEntries [BG_SA_MAXNPC]
 
Position const BG_SA_NpcSpawnlocs [BG_SA_MAXNPC]
 
Position const BG_SA_ObjSpawnlocs [BG_SA_MAXOBJ]
 
uint32 const BG_SA_ObjEntries [BG_SA_MAXOBJ+BG_SA_FLAG_AMOUNT]
 
uint32 const BG_SA_Factions [2]
 
const uint32 BG_SA_GYEntries [BG_SA_MAX_GY]
 
float const BG_SA_GYOrientation [BG_SA_MAX_GY]
 
GateInfo const Gates [MAX_GATES]
 

Macro Definition Documentation

#define BG_SA_DEMOLISHER_AMOUNT   4
#define BG_SA_FLAG_AMOUNT   3
#define MAX_GATES   6

Enumeration Type Documentation

enum BG_SA_Boat
Enumerator
BG_SA_BOAT_ONE_A 
BG_SA_BOAT_TWO_H 
BG_SA_BOAT_ONE_H 
BG_SA_BOAT_TWO_A 
209 {
210  BG_SA_BOAT_ONE_A = 193182,
211  BG_SA_BOAT_TWO_H = 193183,
212  BG_SA_BOAT_ONE_H = 193184,
213  BG_SA_BOAT_TWO_A = 193185
214 };
Definition: BattlegroundSA.h:210
Definition: BattlegroundSA.h:211
Definition: BattlegroundSA.h:212
Definition: BattlegroundSA.h:213
Enumerator
BG_SA_EVENT_BLUE_GATE_DAMAGED 
BG_SA_EVENT_BLUE_GATE_DESTROYED 
BG_SA_EVENT_GREEN_GATE_DAMAGED 
BG_SA_EVENT_GREEN_GATE_DESTROYED 
BG_SA_EVENT_RED_GATE_DAMAGED 
BG_SA_EVENT_RED_GATE_DESTROYED 
BG_SA_EVENT_PURPLE_GATE_DAMAGED 
BG_SA_EVENT_PURPLE_GATE_DESTROYED 
BG_SA_EVENT_YELLOW_GATE_DAMAGED 
BG_SA_EVENT_YELLOW_GATE_DESTROYED 
BG_SA_EVENT_ANCIENT_GATE_DAMAGED 
BG_SA_EVENT_ANCIENT_GATE_DESTROYED 
BG_SA_EVENT_TITAN_RELIC_ACTIVATED 
47 {
50 
53 
56 
59 
62 
65 
67 };
Definition: BattlegroundSA.h:60
Definition: BattlegroundSA.h:52
Definition: BattlegroundSA.h:54
Definition: BattlegroundSA.h:57
Definition: BattlegroundSA.h:49
Definition: BattlegroundSA.h:58
Definition: BattlegroundSA.h:63
Definition: BattlegroundSA.h:64
Definition: BattlegroundSA.h:48
Definition: BattlegroundSA.h:66
Definition: BattlegroundSA.h:55
Definition: BattlegroundSA.h:61
Definition: BattlegroundSA.h:51
Enumerator
BG_SA_GATE_OK 
BG_SA_GATE_DAMAGED 
BG_SA_GATE_DESTROYED 
40 {
41  BG_SA_GATE_OK = 1,
44 };
Definition: BattlegroundSA.h:41
Definition: BattlegroundSA.h:43
Definition: BattlegroundSA.h:42
Enumerator
BG_SA_BEACH_GY 
BG_SA_DEFENDER_LAST_GY 
BG_SA_RIGHT_CAPTURABLE_GY 
BG_SA_LEFT_CAPTURABLE_GY 
BG_SA_CENTRAL_CAPTURABLE_GY 
BG_SA_MAX_GY 
458 {
459  BG_SA_BEACH_GY = 0,
465 };
Definition: BattlegroundSA.h:459
Definition: BattlegroundSA.h:464
Definition: BattlegroundSA.h:461
Definition: BattlegroundSA.h:463
Definition: BattlegroundSA.h:460
Definition: BattlegroundSA.h:462
enum BG_SA_NPCs
Enumerator
BG_SA_GUN_1 
BG_SA_GUN_2 
BG_SA_GUN_3 
BG_SA_GUN_4 
BG_SA_GUN_5 
BG_SA_GUN_6 
BG_SA_GUN_7 
BG_SA_GUN_8 
BG_SA_GUN_9 
BG_SA_GUN_10 
BG_SA_DEMOLISHER_1 
BG_SA_DEMOLISHER_2 
BG_SA_DEMOLISHER_3 
BG_SA_DEMOLISHER_4 
BG_SA_DEMOLISHER_5 
BG_SA_DEMOLISHER_6 
BG_SA_DEMOLISHER_7 
BG_SA_DEMOLISHER_8 
BG_SA_NPC_SPARKLIGHT 
BG_SA_NPC_RIGSPARK 
BG_SA_NPC_KANRETHAD 
BG_SA_MAXNPC 
183 {
184  BG_SA_GUN_1 = 0,
185  BG_SA_GUN_2,
186  BG_SA_GUN_3,
187  BG_SA_GUN_4,
188  BG_SA_GUN_5,
189  BG_SA_GUN_6,
190  BG_SA_GUN_7,
191  BG_SA_GUN_8,
192  BG_SA_GUN_9,
193  BG_SA_GUN_10,
206 };
Definition: BattlegroundSA.h:184
Definition: BattlegroundSA.h:198
Definition: BattlegroundSA.h:185
Definition: BattlegroundSA.h:191
Definition: BattlegroundSA.h:187
Definition: BattlegroundSA.h:203
Definition: BattlegroundSA.h:195
Definition: BattlegroundSA.h:192
Definition: BattlegroundSA.h:190
Definition: BattlegroundSA.h:201
Definition: BattlegroundSA.h:205
Definition: BattlegroundSA.h:189
Definition: BattlegroundSA.h:202
Definition: BattlegroundSA.h:193
Definition: BattlegroundSA.h:199
Definition: BattlegroundSA.h:188
Definition: BattlegroundSA.h:186
Definition: BattlegroundSA.h:204
Definition: BattlegroundSA.h:194
Definition: BattlegroundSA.h:200
Definition: BattlegroundSA.h:197
Definition: BattlegroundSA.h:196
Enumerator
BG_SA_GREEN_GATE 
BG_SA_YELLOW_GATE 
BG_SA_BLUE_GATE 
BG_SA_RED_GATE 
BG_SA_PURPLE_GATE 
BG_SA_ANCIENT_GATE 
BG_SA_TITAN_RELIC 
BG_SA_PORTAL_DEFFENDER_BLUE 
BG_SA_PORTAL_DEFFENDER_GREEN 
BG_SA_PORTAL_DEFFENDER_YELLOW 
BG_SA_PORTAL_DEFFENDER_PURPLE 
BG_SA_PORTAL_DEFFENDER_RED 
BG_SA_BOAT_ONE 
BG_SA_BOAT_TWO 
BG_SA_SIGIL_1 
BG_SA_SIGIL_2 
BG_SA_SIGIL_3 
BG_SA_SIGIL_4 
BG_SA_SIGIL_5 
BG_SA_CENTRAL_FLAGPOLE 
BG_SA_RIGHT_FLAGPOLE 
BG_SA_LEFT_FLAGPOLE 
BG_SA_CENTRAL_FLAG 
BG_SA_RIGHT_FLAG 
BG_SA_LEFT_FLAG 
BG_SA_BOMB 
BG_SA_MAXOBJ 
275 {
276  BG_SA_GREEN_GATE = 0,
301  BG_SA_BOMB,
302  BG_SA_MAXOBJ = BG_SA_BOMB+68
303 };
Definition: BattlegroundSA.h:291
Definition: BattlegroundSA.h:286
Definition: BattlegroundSA.h:277
Definition: BattlegroundSA.h:280
Definition: BattlegroundSA.h:298
Definition: BattlegroundSA.h:282
Definition: BattlegroundSA.h:288
Definition: BattlegroundSA.h:302
Definition: BattlegroundSA.h:300
Definition: BattlegroundSA.h:278
Definition: BattlegroundSA.h:293
Definition: BattlegroundSA.h:281
Definition: BattlegroundSA.h:287
Definition: BattlegroundSA.h:289
Definition: BattlegroundSA.h:301
Definition: BattlegroundSA.h:285
Definition: BattlegroundSA.h:294
Definition: BattlegroundSA.h:295
Definition: BattlegroundSA.h:284
Definition: BattlegroundSA.h:292
Definition: BattlegroundSA.h:279
Definition: BattlegroundSA.h:299
Definition: BattlegroundSA.h:290
Definition: BattlegroundSA.h:296
Definition: BattlegroundSA.h:276
Definition: BattlegroundSA.h:283
Definition: BattlegroundSA.h:297
Enumerator
BG_SA_NOT_STARTED 
BG_SA_WARMUP 
BG_SA_ROUND_ONE 
BG_SA_SECOND_WARMUP 
BG_SA_ROUND_TWO 
BG_SA_BONUS_ROUND 
30 {
37 };
Definition: BattlegroundSA.h:32
Definition: BattlegroundSA.h:31
Definition: BattlegroundSA.h:34
Definition: BattlegroundSA.h:33
Definition: BattlegroundSA.h:35
Definition: BattlegroundSA.h:36
Enumerator
BG_SA_BOAT_START 
BG_SA_WARMUPLENGTH 
BG_SA_ROUNDLENGTH 
103 {
107 };
Definition: BattlegroundSA.h:106
Definition: BattlegroundSA.h:105
Definition: BattlegroundSA.h:104
Definition: Common.h:103
Enumerator
NPC_KANRETHAD 
NPC_INVISIBLE_STALKER 
NPC_WORLD_TRIGGER 
NPC_WORLD_TRIGGER_LARGE_AOI_NOT_IMMUNE_PC_NPC 
NPC_ANTI_PERSONNAL_CANNON 
NPC_DEMOLISHER_SA 
NPC_RIGGER_SPARKLIGHT 
NPC_GORGRIL_RIGSPARK 
80 {
81  NPC_KANRETHAD = 29,
82  NPC_INVISIBLE_STALKER = 15214,
83  NPC_WORLD_TRIGGER = 22515,
85 
87  NPC_DEMOLISHER_SA = 28781,
88  NPC_RIGGER_SPARKLIGHT = 29260,
89  NPC_GORGRIL_RIGSPARK = 29262
90 };
Definition: BattlegroundSA.h:89
Definition: BattlegroundSA.h:84
Definition: BattlegroundSA.h:87
Definition: BattlegroundSA.h:82
Definition: BattlegroundSA.h:88
Definition: BattlegroundSA.h:81
Definition: BattlegroundSA.h:86
Definition: BattlegroundSA.h:83
Enumerator
GO_GATE_OF_THE_GREEN_EMERALD 
GO_GATE_OF_THE_PURPLE_AMETHYST 
GO_GATE_OF_THE_BLUE_SAPPHIRE 
GO_GATE_OF_THE_RED_SUN 
GO_GATE_OF_THE_YELLOW_MOON 
GO_CHAMBER_OF_ANCIENT_RELICS 
93 {
97  GO_GATE_OF_THE_RED_SUN = 190726,
100 };
Definition: BattlegroundSA.h:99
Definition: BattlegroundSA.h:98
Definition: BattlegroundSA.h:95
Definition: BattlegroundSA.h:97
Definition: BattlegroundSA.h:94
Definition: BattlegroundSA.h:96
enum SASounds
Enumerator
SOUND_GRAVEYARD_TAKEN_HORDE 
SOUND_GRAVEYARD_TAKEN_ALLIANCE 
SOUND_DEFEAT_HORDE 
SOUND_VICTORY_HORDE 
SOUND_VICTORY_ALLIANCE 
SOUND_DEFEAT_ALLIANCE 
SOUND_WALL_DESTROYED_ALLIANCE 
SOUND_WALL_DESTROYED_HORDE 
SOUND_WALL_ATTACKED_HORDE 
SOUND_WALL_ATTACKED_ALLIANCE 
110 {
113  SOUND_DEFEAT_HORDE = 15905,
114  SOUND_VICTORY_HORDE = 15906,
115  SOUND_VICTORY_ALLIANCE = 15907,
116  SOUND_DEFEAT_ALLIANCE = 15908,
121 };
Definition: BattlegroundSA.h:120
Definition: BattlegroundSA.h:116
Definition: BattlegroundSA.h:118
Definition: BattlegroundSA.h:111
Definition: BattlegroundSA.h:113
Definition: BattlegroundSA.h:115
Definition: BattlegroundSA.h:112
Definition: BattlegroundSA.h:117
Definition: BattlegroundSA.h:114
Definition: BattlegroundSA.h:119
enum SASpellIds
Enumerator
SPELL_TELEPORT_DEFENDER 
SPELL_TELEPORT_ATTACKERS 
SPELL_END_OF_ROUND 
SPELL_REMOVE_SEAFORIUM 
SPELL_ALLIANCE_CONTROL_PHASE_SHIFT 
SPELL_HORDE_CONTROL_PHASE_SHIFT 
70 {
73  SPELL_END_OF_ROUND = 52459,
74  SPELL_REMOVE_SEAFORIUM = 59077,
77 };
Definition: BattlegroundSA.h:76
Definition: BattlegroundSA.h:73
Definition: BattlegroundSA.h:75
Definition: BattlegroundSA.h:71
Definition: BattlegroundSA.h:74
Definition: BattlegroundSA.h:72
enum SATexts
Enumerator
TEXT_ROUND_STARTED 
TEXT_ROUND_1_FINISHED 
TEXT_SPARKLIGHT_RIGSPARK_SPAWN 
TEXT_BLUE_GATE_UNDER_ATTACK 
TEXT_GREEN_GATE_UNDER_ATTACK 
TEXT_RED_GATE_UNDER_ATTACK 
TEXT_PURPLE_GATE_UNDER_ATTACK 
TEXT_YELLOW_GATE_UNDER_ATTACK 
TEXT_YELLOW_GATE_DESTROYED 
TEXT_PURPLE_GATE_DESTROYED 
TEXT_RED_GATE_DESTROYED 
TEXT_GREEN_GATE_DESTROYED 
TEXT_BLUE_GATE_DESTROYED 
TEXT_EAST_GRAVEYARD_CAPTURED_A 
TEXT_WEST_GRAVEYARD_CAPTURED_A 
TEXT_SOUTH_GRAVEYARD_CAPTURED_A 
TEXT_EAST_GRAVEYARD_CAPTURED_H 
TEXT_WEST_GRAVEYARD_CAPTURED_H 
TEXT_SOUTH_GRAVEYARD_CAPTURED_H 
TEXT_ANCIENT_GATE_UNDER_ATTACK 
TEXT_ANCIENT_GATE_DESTROYED 
124 {
125  // Kanrethad
126  TEXT_ROUND_STARTED = 1,
128 
129  // Rigger Sparklight / Gorgril Rigspark
131 
132  // World Trigger
151 };
Definition: BattlegroundSA.h:148
Definition: BattlegroundSA.h:139
Definition: BattlegroundSA.h:147
Definition: BattlegroundSA.h:127
Definition: BattlegroundSA.h:135
Definition: BattlegroundSA.h:142
Definition: BattlegroundSA.h:133
Definition: BattlegroundSA.h:130
Definition: BattlegroundSA.h:150
Definition: BattlegroundSA.h:141
Definition: BattlegroundSA.h:126
Definition: BattlegroundSA.h:143
Definition: BattlegroundSA.h:149
Definition: BattlegroundSA.h:137
Definition: BattlegroundSA.h:138
Definition: BattlegroundSA.h:136
Definition: BattlegroundSA.h:140
Definition: BattlegroundSA.h:134
Definition: BattlegroundSA.h:144
Definition: BattlegroundSA.h:145
Definition: BattlegroundSA.h:146
Enumerator
BG_SA_TIMER_MINS 
BG_SA_TIMER_SEC_TENS 
BG_SA_TIMER_SEC_DECS 
BG_SA_ALLY_ATTACKS 
BG_SA_HORDE_ATTACKS 
BG_SA_PURPLE_GATEWS 
BG_SA_RED_GATEWS 
BG_SA_BLUE_GATEWS 
BG_SA_GREEN_GATEWS 
BG_SA_YELLOW_GATEWS 
BG_SA_ANCIENT_GATEWS 
BG_SA_LEFT_GY_ALLIANCE 
BG_SA_RIGHT_GY_ALLIANCE 
BG_SA_CENTER_GY_ALLIANCE 
BG_SA_RIGHT_ATT_TOKEN_ALL 
BG_SA_LEFT_ATT_TOKEN_ALL 
BG_SA_LEFT_ATT_TOKEN_HRD 
BG_SA_RIGHT_ATT_TOKEN_HRD 
BG_SA_HORDE_DEFENCE_TOKEN 
BG_SA_ALLIANCE_DEFENCE_TOKEN 
BG_SA_RIGHT_GY_HORDE 
BG_SA_LEFT_GY_HORDE 
BG_SA_CENTER_GY_HORDE 
BG_SA_BONUS_TIMER 
BG_SA_ENABLE_TIMER 
154 {
155  BG_SA_TIMER_MINS = 3559,
156  BG_SA_TIMER_SEC_TENS = 3560,
157  BG_SA_TIMER_SEC_DECS = 3561,
158  BG_SA_ALLY_ATTACKS = 4352,
159  BG_SA_HORDE_ATTACKS = 4353,
160  BG_SA_PURPLE_GATEWS = 3614,
161  BG_SA_RED_GATEWS = 3617,
162  BG_SA_BLUE_GATEWS = 3620,
163  BG_SA_GREEN_GATEWS = 3623,
164  BG_SA_YELLOW_GATEWS = 3638,
165  BG_SA_ANCIENT_GATEWS = 3849,
166  BG_SA_LEFT_GY_ALLIANCE = 3635,
175  BG_SA_RIGHT_GY_HORDE = 3632,
176  BG_SA_LEFT_GY_HORDE = 3633,
177  BG_SA_CENTER_GY_HORDE = 3634,
178  BG_SA_BONUS_TIMER = 3571,
179  BG_SA_ENABLE_TIMER = 3564
180 };
Definition: BattlegroundSA.h:164
Definition: BattlegroundSA.h:156
Definition: BattlegroundSA.h:169
Definition: BattlegroundSA.h:179
Definition: BattlegroundSA.h:171
Definition: BattlegroundSA.h:176
Definition: BattlegroundSA.h:158
Definition: BattlegroundSA.h:157
Definition: BattlegroundSA.h:172
Definition: BattlegroundSA.h:170
Definition: BattlegroundSA.h:177
Definition: BattlegroundSA.h:166
Definition: BattlegroundSA.h:159
Definition: BattlegroundSA.h:178
Definition: BattlegroundSA.h:175
Definition: BattlegroundSA.h:173
Definition: BattlegroundSA.h:168
Definition: BattlegroundSA.h:160
Definition: BattlegroundSA.h:163
Definition: BattlegroundSA.h:165
Definition: BattlegroundSA.h:174
Definition: BattlegroundSA.h:162
Definition: BattlegroundSA.h:155
Definition: BattlegroundSA.h:167
Definition: BattlegroundSA.h:161

Variable Documentation

uint32 const BG_SA_Factions[2]
Initial value:
=
{
1732,
1735,
}
const uint32 BG_SA_GYEntries[BG_SA_MAX_GY]
Initial value:
=
{
1350,
1349,
1347,
1346,
1348,
}
float const BG_SA_GYOrientation[BG_SA_MAX_GY]
Initial value:
=
{
6.202f,
1.926f,
3.917f,
3.104f,
6.148f,
}
Position const BG_SA_NpcSpawnlocs[BG_SA_MAXNPC]
Initial value:
=
{
{ 1436.429f, 110.05f, 41.407f, 5.4f },
{ 1404.9023f, 84.758f, 41.183f, 5.46f },
{ 1068.693f, -86.951f, 93.81f, 0.02f },
{ 1068.83f, -127.56f, 96.45f, 0.0912f },
{ 1422.115f, -196.433f, 42.1825f, 1.0222f },
{ 1454.887f, -220.454f, 41.956f, 0.9627f },
{ 1232.345f, -187.517f, 66.945f, 0.45f },
{ 1249.634f, -224.189f, 66.72f, 0.635f },
{ 1236.213f, 92.287f, 64.965f, 5.751f },
{ 1215.11f, 57.772f, 64.739f, 5.78f },
{ 1611.597656f, -117.270073f, 8.719355f, 2.513274f},
{ 1575.562500f, -158.421875f, 5.024450f, 2.129302f},
{ 1618.047729f, 61.424641f, 7.248210f, 3.979351f},
{ 1575.103149f, 98.873344f, 2.830360f, 3.752458f},
{ 1371.055786f, -317.071136f, 35.007359f, 1.947460f},
{ 1424.034912f, -260.195190f, 31.084425f, 2.820013f},
{ 1353.139893f, 223.745438f, 35.265411f, 4.343684f},
{ 1404.809570f, 197.027237f, 32.046032f, 3.605401f},
{ 1348.644165f, -298.786469f, 31.080130f, 1.710423f},
{ 1358.191040f, 195.527786f, 31.018187f, 4.171337f},
{ 841.921f, -134.194f, 196.838f, 6.23082f }
}
Initial value:
=
{
190722,
190727,
190724,
190726,
190723,
192549,
192834,
192819,
192819,
192819,
192819,
192819,
0,
0,
192687,
192685,
192689,
192690,
192691,
191311,
191311,
191311,
191310,
191306,
191308,
190753
}
Position const BG_SA_ObjSpawnlocs[BG_SA_MAXOBJ]
Initial value:
=
{
}
Definition: BattlegroundSA.h:164
Definition: BattlegroundSA.h:277
Definition: BattlegroundSA.h:280
Definition: BattlegroundSA.h:139
Definition: BattlegroundSA.h:278
Definition: BattlegroundSA.h:281
Definition: BattlegroundSA.h:135
Definition: BattlegroundSA.h:99
Definition: BattlegroundSA.h:142
Definition: BattlegroundSA.h:98
Definition: BattlegroundSA.h:133
Definition: BattlegroundSA.h:150
Definition: BattlegroundSA.h:95
Definition: BattlegroundSA.h:141
Definition: BattlegroundSA.h:97
Definition: BattlegroundSA.h:94
Definition: BattlegroundSA.h:279
Definition: BattlegroundSA.h:149
Definition: BattlegroundSA.h:137
Definition: BattlegroundSA.h:138
Definition: BattlegroundSA.h:136
Definition: BattlegroundSA.h:96
Definition: BattlegroundSA.h:160
Definition: BattlegroundSA.h:163
Definition: BattlegroundSA.h:140
Definition: BattlegroundSA.h:134
Definition: BattlegroundSA.h:165
Definition: BattlegroundSA.h:162
Definition: BattlegroundSA.h:276
Definition: BattlegroundSA.h:161