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

Go to the source code of this file.

Classes

struct  BattlegroundWGScore
 
class  BattlegroundWS
 

Macros

#define WS_EVENT_START_BATTLE   8563
 

Enumerations

enum  BG_WS_TimerOrScore {
  BG_WS_MAX_TEAM_SCORE = 3, BG_WS_FLAG_RESPAWN_TIME = 23000, BG_WS_FLAG_DROP_TIME = 10000, BG_WS_SPELL_FORCE_TIME = 600000,
  BG_WS_SPELL_BRUTAL_TIME = 900000
}
 
enum  BG_WS_Sound {
  BG_WS_SOUND_FLAG_CAPTURED_ALLIANCE = 8173, BG_WS_SOUND_FLAG_CAPTURED_HORDE = 8213, BG_WS_SOUND_FLAG_PLACED = 8232, BG_WS_SOUND_FLAG_RETURNED = 8192,
  BG_WS_SOUND_HORDE_FLAG_PICKED_UP = 8212, BG_WS_SOUND_ALLIANCE_FLAG_PICKED_UP = 8174, BG_WS_SOUND_FLAGS_RESPAWNED = 8232
}
 
enum  BG_WS_SpellId {
  BG_WS_SPELL_WARSONG_FLAG = 23333, BG_WS_SPELL_WARSONG_FLAG_DROPPED = 23334, BG_WS_SPELL_WARSONG_FLAG_PICKED = 61266, BG_WS_SPELL_SILVERWING_FLAG = 23335,
  BG_WS_SPELL_SILVERWING_FLAG_DROPPED = 23336, BG_WS_SPELL_SILVERWING_FLAG_PICKED = 61265, BG_WS_SPELL_FOCUSED_ASSAULT = 46392, BG_WS_SPELL_BRUTAL_ASSAULT = 46393
}
 
enum  BG_WS_WorldStates {
  BG_WS_FLAG_UNK_ALLIANCE = 1545, BG_WS_FLAG_UNK_HORDE = 1546, BG_WS_FLAG_CAPTURES_ALLIANCE = 1581, BG_WS_FLAG_CAPTURES_HORDE = 1582,
  BG_WS_FLAG_CAPTURES_MAX = 1601, BG_WS_FLAG_STATE_HORDE = 2338, BG_WS_FLAG_STATE_ALLIANCE = 2339, BG_WS_STATE_TIMER = 4248,
  BG_WS_STATE_TIMER_ACTIVE = 4247
}
 
enum  BG_WS_ObjectTypes {
  BG_WS_OBJECT_DOOR_A_1 = 0, BG_WS_OBJECT_DOOR_A_2 = 1, BG_WS_OBJECT_DOOR_A_3 = 2, BG_WS_OBJECT_DOOR_A_4 = 3,
  BG_WS_OBJECT_DOOR_A_5 = 4, BG_WS_OBJECT_DOOR_A_6 = 5, BG_WS_OBJECT_DOOR_H_1 = 6, BG_WS_OBJECT_DOOR_H_2 = 7,
  BG_WS_OBJECT_DOOR_H_3 = 8, BG_WS_OBJECT_DOOR_H_4 = 9, BG_WS_OBJECT_A_FLAG = 10, BG_WS_OBJECT_H_FLAG = 11,
  BG_WS_OBJECT_SPEEDBUFF_1 = 12, BG_WS_OBJECT_SPEEDBUFF_2 = 13, BG_WS_OBJECT_REGENBUFF_1 = 14, BG_WS_OBJECT_REGENBUFF_2 = 15,
  BG_WS_OBJECT_BERSERKBUFF_1 = 16, BG_WS_OBJECT_BERSERKBUFF_2 = 17, BG_WS_OBJECT_MAX = 18
}
 
enum  BG_WS_ObjectEntry {
  BG_OBJECT_DOOR_A_1_WS_ENTRY = 179918, BG_OBJECT_DOOR_A_2_WS_ENTRY = 179919, BG_OBJECT_DOOR_A_3_WS_ENTRY = 179920, BG_OBJECT_DOOR_A_4_WS_ENTRY = 179921,
  BG_OBJECT_DOOR_A_5_WS_ENTRY = 180322, BG_OBJECT_DOOR_A_6_WS_ENTRY = 180322, BG_OBJECT_DOOR_H_1_WS_ENTRY = 179916, BG_OBJECT_DOOR_H_2_WS_ENTRY = 179917,
  BG_OBJECT_DOOR_H_3_WS_ENTRY = 180322, BG_OBJECT_DOOR_H_4_WS_ENTRY = 180322, BG_OBJECT_A_FLAG_WS_ENTRY = 179830, BG_OBJECT_H_FLAG_WS_ENTRY = 179831,
  BG_OBJECT_A_FLAG_GROUND_WS_ENTRY = 179785, BG_OBJECT_H_FLAG_GROUND_WS_ENTRY = 179786
}
 
enum  BG_WS_FlagState { BG_WS_FLAG_STATE_ON_BASE = 0, BG_WS_FLAG_STATE_WAIT_RESPAWN = 1, BG_WS_FLAG_STATE_ON_PLAYER = 2, BG_WS_FLAG_STATE_ON_GROUND = 3 }
 
enum  BG_WS_Graveyards { WS_GRAVEYARD_FLAGROOM_ALLIANCE = 769, WS_GRAVEYARD_FLAGROOM_HORDE = 770, WS_GRAVEYARD_MAIN_ALLIANCE = 771, WS_GRAVEYARD_MAIN_HORDE = 772 }
 
enum  BG_WS_CreatureTypes { WS_SPIRIT_MAIN_ALLIANCE = 0, WS_SPIRIT_MAIN_HORDE = 1, BG_CREATURES_MAX_WS = 2 }
 
enum  BG_WS_CarrierDebuffs { WS_SPELL_FOCUSED_ASSAULT = 46392, WS_SPELL_BRUTAL_ASSAULT = 46393 }
 
enum  BG_WS_Objectives { WS_OBJECTIVE_CAPTURE_FLAG = 42, WS_OBJECTIVE_RETURN_FLAG = 44 }
 

Macro Definition Documentation

#define WS_EVENT_START_BATTLE   8563

Enumeration Type Documentation

Enumerator
WS_SPELL_FOCUSED_ASSAULT 
WS_SPELL_BRUTAL_ASSAULT 
137 {
138  WS_SPELL_FOCUSED_ASSAULT = 46392,
140 };
Definition: BattlegroundWS.h:139
Definition: BattlegroundWS.h:138
Enumerator
WS_SPIRIT_MAIN_ALLIANCE 
WS_SPIRIT_MAIN_HORDE 
BG_CREATURES_MAX_WS 
129 {
132 
134 };
Definition: BattlegroundWS.h:133
Definition: BattlegroundWS.h:131
Definition: BattlegroundWS.h:130
Enumerator
BG_WS_FLAG_STATE_ON_BASE 
BG_WS_FLAG_STATE_WAIT_RESPAWN 
BG_WS_FLAG_STATE_ON_PLAYER 
BG_WS_FLAG_STATE_ON_GROUND 
113 {
118 };
Definition: BattlegroundWS.h:117
Definition: BattlegroundWS.h:115
Definition: BattlegroundWS.h:114
Definition: BattlegroundWS.h:116
Enumerator
WS_GRAVEYARD_FLAGROOM_ALLIANCE 
WS_GRAVEYARD_FLAGROOM_HORDE 
WS_GRAVEYARD_MAIN_ALLIANCE 
WS_GRAVEYARD_MAIN_HORDE 
121 {
126 };
Definition: BattlegroundWS.h:125
Definition: BattlegroundWS.h:124
Definition: BattlegroundWS.h:123
Definition: BattlegroundWS.h:122
Enumerator
BG_OBJECT_DOOR_A_1_WS_ENTRY 
BG_OBJECT_DOOR_A_2_WS_ENTRY 
BG_OBJECT_DOOR_A_3_WS_ENTRY 
BG_OBJECT_DOOR_A_4_WS_ENTRY 
BG_OBJECT_DOOR_A_5_WS_ENTRY 
BG_OBJECT_DOOR_A_6_WS_ENTRY 
BG_OBJECT_DOOR_H_1_WS_ENTRY 
BG_OBJECT_DOOR_H_2_WS_ENTRY 
BG_OBJECT_DOOR_H_3_WS_ENTRY 
BG_OBJECT_DOOR_H_4_WS_ENTRY 
BG_OBJECT_A_FLAG_WS_ENTRY 
BG_OBJECT_H_FLAG_WS_ENTRY 
BG_OBJECT_A_FLAG_GROUND_WS_ENTRY 
BG_OBJECT_H_FLAG_GROUND_WS_ENTRY 
95 {
106  BG_OBJECT_A_FLAG_WS_ENTRY = 179830,
107  BG_OBJECT_H_FLAG_WS_ENTRY = 179831,
110 };
Definition: BattlegroundWS.h:98
Definition: BattlegroundWS.h:104
Definition: BattlegroundWS.h:96
Definition: BattlegroundWS.h:102
Definition: BattlegroundWS.h:109
Definition: BattlegroundWS.h:101
Definition: BattlegroundWS.h:97
Definition: BattlegroundWS.h:105
Definition: BattlegroundWS.h:103
Definition: BattlegroundWS.h:108
Definition: BattlegroundWS.h:100
Definition: BattlegroundWS.h:107
Definition: BattlegroundWS.h:99
Definition: BattlegroundWS.h:106
Enumerator
WS_OBJECTIVE_CAPTURE_FLAG 
WS_OBJECTIVE_RETURN_FLAG 
143 {
146 };
Definition: BattlegroundWS.h:145
Definition: BattlegroundWS.h:144
Enumerator
BG_WS_OBJECT_DOOR_A_1 
BG_WS_OBJECT_DOOR_A_2 
BG_WS_OBJECT_DOOR_A_3 
BG_WS_OBJECT_DOOR_A_4 
BG_WS_OBJECT_DOOR_A_5 
BG_WS_OBJECT_DOOR_A_6 
BG_WS_OBJECT_DOOR_H_1 
BG_WS_OBJECT_DOOR_H_2 
BG_WS_OBJECT_DOOR_H_3 
BG_WS_OBJECT_DOOR_H_4 
BG_WS_OBJECT_A_FLAG 
BG_WS_OBJECT_H_FLAG 
BG_WS_OBJECT_SPEEDBUFF_1 
BG_WS_OBJECT_SPEEDBUFF_2 
BG_WS_OBJECT_REGENBUFF_1 
BG_WS_OBJECT_REGENBUFF_2 
BG_WS_OBJECT_BERSERKBUFF_1 
BG_WS_OBJECT_BERSERKBUFF_2 
BG_WS_OBJECT_MAX 
72 {
91  BG_WS_OBJECT_MAX = 18
92 };
Definition: BattlegroundWS.h:88
Definition: BattlegroundWS.h:76
Definition: BattlegroundWS.h:78
Definition: BattlegroundWS.h:79
Definition: BattlegroundWS.h:85
Definition: BattlegroundWS.h:73
Definition: BattlegroundWS.h:81
Definition: BattlegroundWS.h:83
Definition: BattlegroundWS.h:90
Definition: BattlegroundWS.h:86
Definition: BattlegroundWS.h:82
Definition: BattlegroundWS.h:80
Definition: BattlegroundWS.h:91
Definition: BattlegroundWS.h:74
Definition: BattlegroundWS.h:77
Definition: BattlegroundWS.h:87
Definition: BattlegroundWS.h:75
Definition: BattlegroundWS.h:89
Definition: BattlegroundWS.h:84
Enumerator
BG_WS_SOUND_FLAG_CAPTURED_ALLIANCE 
BG_WS_SOUND_FLAG_CAPTURED_HORDE 
BG_WS_SOUND_FLAG_PLACED 
BG_WS_SOUND_FLAG_RETURNED 
BG_WS_SOUND_HORDE_FLAG_PICKED_UP 
BG_WS_SOUND_ALLIANCE_FLAG_PICKED_UP 
BG_WS_SOUND_FLAGS_RESPAWNED 
35 {
43 };
Definition: BattlegroundWS.h:40
Definition: BattlegroundWS.h:38
Definition: BattlegroundWS.h:42
Definition: BattlegroundWS.h:41
Definition: BattlegroundWS.h:37
Definition: BattlegroundWS.h:36
Definition: BattlegroundWS.h:39
Enumerator
BG_WS_SPELL_WARSONG_FLAG 
BG_WS_SPELL_WARSONG_FLAG_DROPPED 
BG_WS_SPELL_WARSONG_FLAG_PICKED 
BG_WS_SPELL_SILVERWING_FLAG 
BG_WS_SPELL_SILVERWING_FLAG_DROPPED 
BG_WS_SPELL_SILVERWING_FLAG_PICKED 
BG_WS_SPELL_FOCUSED_ASSAULT 
BG_WS_SPELL_BRUTAL_ASSAULT 
46 {
49  BG_WS_SPELL_WARSONG_FLAG_PICKED = 61266, // fake spell, does not exist but used as timer start event
52  BG_WS_SPELL_SILVERWING_FLAG_PICKED = 61265, // fake spell, does not exist but used as timer start event
55 };
Definition: BattlegroundWS.h:53
Definition: BattlegroundWS.h:47
Definition: BattlegroundWS.h:52
Definition: BattlegroundWS.h:49
Definition: BattlegroundWS.h:51
Definition: BattlegroundWS.h:54
Definition: BattlegroundWS.h:50
Definition: BattlegroundWS.h:48
Enumerator
BG_WS_MAX_TEAM_SCORE 
BG_WS_FLAG_RESPAWN_TIME 
BG_WS_FLAG_DROP_TIME 
BG_WS_SPELL_FORCE_TIME 
BG_WS_SPELL_BRUTAL_TIME 
26 {
29  BG_WS_FLAG_DROP_TIME = 10000,
30  BG_WS_SPELL_FORCE_TIME = 600000,
32 };
Definition: BattlegroundWS.h:31
Definition: BattlegroundWS.h:30
Definition: BattlegroundWS.h:29
Definition: BattlegroundWS.h:27
Definition: BattlegroundWS.h:28
Enumerator
BG_WS_FLAG_UNK_ALLIANCE 
BG_WS_FLAG_UNK_HORDE 
BG_WS_FLAG_CAPTURES_ALLIANCE 
BG_WS_FLAG_CAPTURES_HORDE 
BG_WS_FLAG_CAPTURES_MAX 
BG_WS_FLAG_STATE_HORDE 
BG_WS_FLAG_STATE_ALLIANCE 
BG_WS_STATE_TIMER 
BG_WS_STATE_TIMER_ACTIVE 
58 {
60  BG_WS_FLAG_UNK_HORDE = 1546,
61 // FLAG_UNK = 1547,
67  BG_WS_STATE_TIMER = 4248,
69 };
Definition: BattlegroundWS.h:60
Definition: BattlegroundWS.h:59
Definition: BattlegroundWS.h:65
Definition: BattlegroundWS.h:66
Definition: BattlegroundWS.h:63
Definition: BattlegroundWS.h:67
Definition: BattlegroundWS.h:62
Definition: BattlegroundWS.h:68
Definition: BattlegroundWS.h:64