AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BattlefieldWG.h File Reference
#include "Battlefield.h"
#include "Log.h"
#include "ObjectAccessor.h"
#include "World.h"

Go to the source code of this file.

Classes

class  BfGraveyardWG
 
struct  BfWGCoordGY
 
class  WintergraspCapturePoint
 
class  BattlefieldWG
 
struct  WintergraspObjectPositionData
 
struct  WintergraspBuildingSpawnData
 
struct  WintergraspTeleporterData
 
struct  WintergraspTowerData
 
struct  WintergraspTowerCannonData
 
struct  WGWorkshopData
 
struct  BfWGGameObjectBuilding
 
struct  WGWorkshop
 

Typedefs

typedef std::set< GameObject * > GameObjectSet
 
typedef std::set< BfWGGameObjectBuilding * > GameObjectBuilding
 
typedef std::set< WGWorkshop * > Workshop
 
typedef std::set< Group * > GroupSet
 

Enumerations

enum  WintergraspSpells {
  SPELL_RECRUIT = 37795 ,
  SPELL_CORPORAL = 33280 ,
  SPELL_LIEUTENANT = 55629 ,
  SPELL_TENACITY = 58549 ,
  SPELL_TENACITY_VEHICLE = 59911 ,
  SPELL_TOWER_CONTROL = 62064 ,
  SPELL_SPIRITUAL_IMMUNITY = 58729 ,
  SPELL_GREAT_HONOR = 58555 ,
  SPELL_GREATER_HONOR = 58556 ,
  SPELL_GREATEST_HONOR = 58557 ,
  SPELL_ALLIANCE_FLAG = 14268 ,
  SPELL_HORDE_FLAG = 14267 ,
  SPELL_GRAB_PASSENGER = 61178 ,
  SPELL_VICTORY_REWARD = 56902 ,
  SPELL_DEFEAT_REWARD = 58494 ,
  SPELL_DAMAGED_TOWER = 59135 ,
  SPELL_DESTROYED_TOWER = 59136 ,
  SPELL_DAMAGED_BUILDING = 59201 ,
  SPELL_INTACT_BUILDING = 59203 ,
  SPELL_TELEPORT_BRIDGE = 59096 ,
  SPELL_TELEPORT_FORTRESS = 60035 ,
  SPELL_TELEPORT_DALARAN = 53360 ,
  SPELL_VICTORY_AURA = 60044 ,
  SPELL_WINTERGRASP_WATER = 36444 ,
  SPELL_ESSENCE_OF_WINTERGRASP = 58045 ,
  SPELL_WINTERGRASP_RESTRICTED_FLIGHT_AREA = 58730 ,
  SPELL_LEANING_TOWER_ACHIEVEMENT = 60676 ,
  SPELL_HORDE_CONTROLS_FACTORY_PHASE_SHIFT = 56618 ,
  SPELL_ALLIANCE_CONTROLS_FACTORY_PHASE_SHIFT = 56617 ,
  SPELL_HORDE_CONTROL_PHASE_SHIFT = 55773 ,
  SPELL_ALLIANCE_CONTROL_PHASE_SHIFT = 55774
}
 
enum  WintergraspData {
  BATTLEFIELD_WG_DATA_INTACT_TOWER_ATT ,
  BATTLEFIELD_WG_DATA_DAMAGED_TOWER_ATT ,
  BATTLEFIELD_WG_DATA_BROKEN_TOWER_ATT ,
  BATTLEFIELD_WG_DATA_MAX_VEHICLE_A ,
  BATTLEFIELD_WG_DATA_MAX_VEHICLE_H ,
  BATTLEFIELD_WG_DATA_VEHICLE_A ,
  BATTLEFIELD_WG_DATA_VEHICLE_H ,
  BATTLEFIELD_WG_DATA_MAX
}
 
enum  WintergraspWorldStates {
  BATTLEFIELD_WG_WORLD_STATE_VEHICLE_H = 3490 ,
  BATTLEFIELD_WG_WORLD_STATE_MAX_VEHICLE_H = 3491 ,
  BATTLEFIELD_WG_WORLD_STATE_VEHICLE_A = 3680 ,
  BATTLEFIELD_WG_WORLD_STATE_MAX_VEHICLE_A = 3681 ,
  BATTLEFIELD_WG_WORLD_STATE_ACTIVE = 3801 ,
  BATTLEFIELD_WG_WORLD_STATE_DEFENDER = 3802 ,
  BATTLEFIELD_WG_WORLD_STATE_ATTACKER = 3803 ,
  BATTLEFIELD_WG_WORLD_STATE_SHOW_WORLDSTATE = 3710
}
 
enum  WintergraspAreaIds {
  BATTLEFIELD_WG_ZONEID = 4197 ,
  BATTLEFIELD_WG_MAPID = 571 ,
  AREA_WINTERGRASP_FORTRESS = 4575 ,
  AREA_THE_SUNKEN_RING = 4538 ,
  AREA_THE_BROKEN_TEMPLE = 4539 ,
  AREA_WESTPARK_WORKSHOP = 4611 ,
  AREA_EASTPARK_WORKSHOP = 4612 ,
  AREA_WINTERGRASP = 4197 ,
  AREA_THE_CHILLED_QUAGMIRE = 4589
}
 
enum  WGGraveyardId {
  BATTLEFIELD_WG_GY_WORKSHOP_NE ,
  BATTLEFIELD_WG_GY_WORKSHOP_NW ,
  BATTLEFIELD_WG_GY_WORKSHOP_SE ,
  BATTLEFIELD_WG_GY_WORKSHOP_SW ,
  BATTLEFIELD_WG_GY_KEEP ,
  BATTLEFIELD_WG_GY_HORDE ,
  BATTLEFIELD_WG_GY_ALLIANCE ,
  BATTLEFIELD_WG_GRAVEYARD_MAX
}
 
enum  eWGGossipText {
  BATTLEFIELD_WG_GOSSIPTEXT_GY_NE = 20071 ,
  BATTLEFIELD_WG_GOSSIPTEXT_GY_NW = 20072 ,
  BATTLEFIELD_WG_GOSSIPTEXT_GY_SE = 20074 ,
  BATTLEFIELD_WG_GOSSIPTEXT_GY_SW = 20073 ,
  BATTLEFIELD_WG_GOSSIPTEXT_GY_KEEP = 20070 ,
  BATTLEFIELD_WG_GOSSIPTEXT_GY_HORDE = 20075 ,
  BATTLEFIELD_WG_GOSSIPTEXT_GY_ALLIANCE = 20076 ,
  BATTLEFIELD_WG_WORLD_START_MESSAGE = 20078
}
 
enum  WintergraspNpcs {
  BATTLEFIELD_WG_NPC_GUARD_H = 30739 ,
  BATTLEFIELD_WG_NPC_GUARD_A = 30740 ,
  BATTLEFIELD_WG_NPC_STALKER = 15214 ,
  BATTLEFIELD_WG_NPC_VIERON_BLAZEFEATHER = 31102 ,
  BATTLEFIELD_WG_NPC_STONE_GUARD_MUKAR = 32296 ,
  BATTLEFIELD_WG_NPC_HOODOO_MASTER_FU_JIN = 31101 ,
  BATTLEFIELD_WG_NPC_CHAMPION_ROS_SLAI = 39173 ,
  BATTLEFIELD_WG_NPC_COMMANDER_DARDOSH = 31091 ,
  BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_KILRATH = 31151 ,
  BATTLEFIELD_WG_NPC_SIEGESMITH_STRONGHOOF = 31106 ,
  BATTLEFIELD_WG_NPC_PRIMALIST_MULFORT = 31053 ,
  BATTLEFIELD_WG_NPC_LIEUTENANT_MURP = 31107 ,
  BATTLEFIELD_WG_NPC_HORDE_WARBRINGER = 15350 ,
  BATTLEFIELD_WG_NPC_BRIGADIER_GENERAL = 15351 ,
  BATTLEFIELD_WG_NPC_AV_PORTAL_HORDE = 32617 ,
  BATTLEFIELD_WG_NPC_AV_PORTAL_ALLY = 32616 ,
  BATTLEFIELD_WG_NPC_AB_PORTAL_HORDE = 32619 ,
  BATTLEFIELD_WG_NPC_AB_PORTAL_ALLY = 32618 ,
  BATTLEFIELD_WG_NPC_EOTS_PORTAL_HORDE = 32620 ,
  BATTLEFIELD_WG_NPC_EOTS_PORTAL_ALLY = 32621 ,
  BATTLEFIELD_WG_NPC_SOTA_PORTAL_HORDE = 32623 ,
  BATTLEFIELD_WG_NPC_SOTA_PORTAL_ALLY = 32622 ,
  BATTLEFIELD_WG_NPC_WG_PORTAL_HORDE = 32625 ,
  BATTLEFIELD_WG_NPC_WG_PORTAL_ALLY = 32624 ,
  BATTLEFIELD_WG_NPC_BOWYER_RANDOLPH = 31052 ,
  BATTLEFIELD_WG_NPC_KNIGHT_DAMERON = 32294 ,
  BATTLEFIELD_WG_NPC_SORCERESS_KAYLANA = 31051 ,
  BATTLEFIELD_WG_NPC_MARSHAL_MAGRUDER = 39172 ,
  BATTLEFIELD_WG_NPC_COMMANDER_ZANNETH = 31036 ,
  BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_AHBRAMIS = 31153 ,
  BATTLEFIELD_WG_NPC_SIEGE_MASTER_STOUTHANDLE = 31108 ,
  BATTLEFIELD_WG_NPC_ANCHORITE_TESSA = 31054 ,
  BATTLEFIELD_WG_NPC_SENIOR_DEMOLITIONIST_LEGOSO = 31109 ,
  NPC_TAUNKA_SPIRIT_GUIDE = 31841 ,
  NPC_DWARVEN_SPIRIT_GUIDE = 31842 ,
  NPC_WINTERGRASP_SIEGE_ENGINE_TURRET_ALLIANCE = 28319 ,
  NPC_WINTERGRASP_SIEGE_ENGINE_TURRET_HORDE = 32629 ,
  NPC_WINTERGRASP_SIEGE_ENGINE_ALLIANCE = 28312 ,
  NPC_WINTERGRASP_SIEGE_ENGINE_HORDE = 32627 ,
  NPC_WINTERGRASP_CATAPULT = 27881 ,
  NPC_WINTERGRASP_DEMOLISHER = 28094 ,
  NPC_WINTERGRASP_TOWER_CANNON = 28366 ,
  NPC_QUEST_SOUTHERN_TOWER_KILL = 35074 ,
  NPC_QUEST_VEHICLE_PROTECTED = 31284 ,
  NPC_QUEST_PVP_KILL_VEHICLE = 31093 ,
  NPC_QUEST_PVP_KILL_HORDE = 39019 ,
  NPC_QUEST_PVP_KILL_ALLIANCE = 31086
}
 
enum  WintergraspGameObjectBuildingType {
  BATTLEFIELD_WG_OBJECTTYPE_DOOR ,
  BATTLEFIELD_WG_OBJECTTYPE_TITANRELIC ,
  BATTLEFIELD_WG_OBJECTTYPE_WALL ,
  BATTLEFIELD_WG_OBJECTTYPE_DOOR_LAST ,
  BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER ,
  BATTLEFIELD_WG_OBJECTTYPE_TOWER
}
 
enum  WintergraspGameObjectState {
  BATTLEFIELD_WG_OBJECTSTATE_NONE ,
  BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_INTACT ,
  BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_DAMAGE ,
  BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_DESTROY ,
  BATTLEFIELD_WG_OBJECTSTATE_HORDE_INTACT ,
  BATTLEFIELD_WG_OBJECTSTATE_HORDE_DAMAGE ,
  BATTLEFIELD_WG_OBJECTSTATE_HORDE_DESTROY ,
  BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_INTACT ,
  BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DAMAGE ,
  BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DESTROY
}
 
enum  WintergraspWorkshopIds {
  BATTLEFIELD_WG_WORKSHOP_NE ,
  BATTLEFIELD_WG_WORKSHOP_NW ,
  BATTLEFIELD_WG_WORKSHOP_SE ,
  BATTLEFIELD_WG_WORKSHOP_SW ,
  BATTLEFIELD_WG_WORKSHOP_KEEP_WEST ,
  BATTLEFIELD_WG_WORKSHOP_KEEP_EAST
}
 
enum  WintergraspWorldstates {
  WORLDSTATE_WORKSHOP_NE = 3701 ,
  WORLDSTATE_WORKSHOP_NW = 3700 ,
  WORLDSTATE_WORKSHOP_SE = 3703 ,
  WORLDSTATE_WORKSHOP_SW = 3702 ,
  WORLDSTATE_WORKSHOP_K_W = 3698 ,
  WORLDSTATE_WORKSHOP_K_E = 3699 ,
  WORLDSTATE_HORDE_KEEP_CAPTURED = 4022 ,
  WORLDSTATE_HORDE_KEEP_DEFENDED = 4024 ,
  WORLDSTATE_ALLIANCE_KEEP_CAPTURED = 4023 ,
  WORLDSTATE_ALLIANCE_KEEP_DEFENDED = 4025
}
 
enum  eWGText {
  BATTLEFIELD_WG_TEXT_START = 28 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_NE_ATTACK = 19 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_NW_ATTACK = 11 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_SE_ATTACK = 15 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_SW_ATTACK = 23 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_NE_TAKEN = 20 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_NW_TAKEN = 12 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_SE_TAKEN = 16 ,
  BATTLEFIELD_WG_TEXT_WORKSHOP_SW_TAKEN = 24 ,
  BATTLEFIELD_WG_TEXT_DEFEND_KEEP = 29 ,
  BATTLEFIELD_WG_TEXT_WIN_KEEP = 30 ,
  BATTLEFIELD_WG_TEXT_WILL_START = 27 ,
  BATTLEFIELD_WG_TEXT_FIRSTRANK = 37 ,
  BATTLEFIELD_WG_TEXT_SECONDRANK = 38 ,
  BATTLEFIELD_WG_TEXT_TOWER_S_DAMAGED = 1 ,
  BATTLEFIELD_WG_TEXT_TOWER_E_DAMAGED = 3 ,
  BATTLEFIELD_WG_TEXT_TOWER_W_DAMAGED = 5 ,
  BATTLEFIELD_WG_TEXT_TOWER_S_DESTROYED = 2 ,
  BATTLEFIELD_WG_TEXT_TOWER_E_DESTROYED = 4 ,
  BATTLEFIELD_WG_TEXT_TOWER_W_DESTROYED = 6 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_NE_DAMAGED = 33 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_NW_DAMAGED = 7 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_SE_DAMAGED = 9 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_SW_DAMAGED = 35 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_NE_DESTROYED = 34 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_NW_DESTROYED = 8 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_SE_DESTROYED = 10 ,
  BATTLEFIELD_WG_TEXT_KEEPTOWER_SW_DESTROYED = 36
}
 
enum  WintergraspGameObject {
  GO_WINTERGRASP_FACTORY_BANNER_NE = 190475 ,
  GO_WINTERGRASP_FACTORY_BANNER_NW = 190487 ,
  GO_WINTERGRASP_FACTORY_BANNER_SE = 194959 ,
  GO_WINTERGRASP_FACTORY_BANNER_SW = 194962 ,
  GO_WINTERGRASP_TITAN_S_RELIC = 192829 ,
  GO_WINTERGRASP_FORTRESS_TOWER_1 = 190221 ,
  GO_WINTERGRASP_FORTRESS_TOWER_2 = 190373 ,
  GO_WINTERGRASP_FORTRESS_TOWER_3 = 190377 ,
  GO_WINTERGRASP_FORTRESS_TOWER_4 = 190378 ,
  GO_WINTERGRASP_SHADOWSIGHT_TOWER = 190356 ,
  GO_WINTERGRASP_WINTER_S_EDGE_TOWER = 190357 ,
  GO_WINTERGRASP_FLAMEWATCH_TOWER = 190358
}
 

Variables

const uint32 VehNumWorldState [2] = { 3680, 3490 }
 
const uint32 MaxVehNumWorldState [2] = { 3681, 3491 }
 
const uint32 ClockWorldState [2] = { 3781, 4354 }
 
const uint32 WintergraspFaction [3] = { 1, 2, 35 }
 
float const WintergraspStalkerPos [4] = { 4948.985f, 2937.789f, 550.5172f, 1.815142f }
 
const uint32 WGQuest [2][6]
 
const BfWGCoordGY WGGraveYard [BATTLEFIELD_WG_GRAVEYARD_MAX]
 
const uint8 WG_MAX_OBJ = 32
 
const uint8 WG_MAX_TURRET = 16
 
const uint8 WG_MAX_KEEP_NPC = 45
 
const uint8 WG_MAX_OUTSIDE_NPC = 14
 
const uint8 WG_OUTSIDE_ALLIANCE_NPC = 7
 
const uint8 WG_MAX_TELEPORTER = 12
 
const WintergraspBuildingSpawnData WGGameObjectBuilding [WG_MAX_OBJ]
 
const Position WGTurret [WG_MAX_TURRET]
 
const WintergraspObjectPositionData WGKeepNPC [WG_MAX_KEEP_NPC]
 
const WintergraspObjectPositionData WGOutsideNPC [WG_MAX_OUTSIDE_NPC]
 
const WintergraspTeleporterData WGPortalDefenderData [WG_MAX_TELEPORTER]
 
uint8 const WG_MAX_ATTACKTOWERS = 3
 
const WintergraspTowerData AttackTowers [WG_MAX_ATTACKTOWERS]
 
const uint8 WG_MAX_TOWER_CANNON = 7
 
const WintergraspTowerCannonData TowerCannon [WG_MAX_TOWER_CANNON]
 
uint8 const WG_MAX_WORKSHOP = 6
 
const WGWorkshopData WorkshopsData [WG_MAX_WORKSHOP]
 

Typedef Documentation

◆ GameObjectBuilding

◆ GameObjectSet

typedef std::set<GameObject*> GameObjectSet

◆ GroupSet

typedef std::set<Group*> GroupSet

◆ Workshop

typedef std::set<WGWorkshop*> Workshop

Enumeration Type Documentation

◆ eWGGossipText

Enumerator
BATTLEFIELD_WG_GOSSIPTEXT_GY_NE 
BATTLEFIELD_WG_GOSSIPTEXT_GY_NW 
BATTLEFIELD_WG_GOSSIPTEXT_GY_SE 
BATTLEFIELD_WG_GOSSIPTEXT_GY_SW 
BATTLEFIELD_WG_GOSSIPTEXT_GY_KEEP 
BATTLEFIELD_WG_GOSSIPTEXT_GY_HORDE 
BATTLEFIELD_WG_GOSSIPTEXT_GY_ALLIANCE 
BATTLEFIELD_WG_WORLD_START_MESSAGE 
156{
165};
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_HORDE
Definition: BattlefieldWG.h:162
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_SW
Definition: BattlefieldWG.h:160
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_SE
Definition: BattlefieldWG.h:159
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_NE
Definition: BattlefieldWG.h:157
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_NW
Definition: BattlefieldWG.h:158
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_ALLIANCE
Definition: BattlefieldWG.h:163
@ BATTLEFIELD_WG_GOSSIPTEXT_GY_KEEP
Definition: BattlefieldWG.h:161
@ BATTLEFIELD_WG_WORLD_START_MESSAGE
Definition: BattlefieldWG.h:164

◆ eWGText

enum eWGText
Todo:
: Handle this with creature_text ?
Enumerator
BATTLEFIELD_WG_TEXT_START 
BATTLEFIELD_WG_TEXT_WORKSHOP_NE_ATTACK 
BATTLEFIELD_WG_TEXT_WORKSHOP_NW_ATTACK 
BATTLEFIELD_WG_TEXT_WORKSHOP_SE_ATTACK 
BATTLEFIELD_WG_TEXT_WORKSHOP_SW_ATTACK 
BATTLEFIELD_WG_TEXT_WORKSHOP_NE_TAKEN 
BATTLEFIELD_WG_TEXT_WORKSHOP_NW_TAKEN 
BATTLEFIELD_WG_TEXT_WORKSHOP_SE_TAKEN 
BATTLEFIELD_WG_TEXT_WORKSHOP_SW_TAKEN 
BATTLEFIELD_WG_TEXT_DEFEND_KEEP 
BATTLEFIELD_WG_TEXT_WIN_KEEP 
BATTLEFIELD_WG_TEXT_WILL_START 
BATTLEFIELD_WG_TEXT_FIRSTRANK 
BATTLEFIELD_WG_TEXT_SECONDRANK 
BATTLEFIELD_WG_TEXT_TOWER_S_DAMAGED 
BATTLEFIELD_WG_TEXT_TOWER_E_DAMAGED 
BATTLEFIELD_WG_TEXT_TOWER_W_DAMAGED 
BATTLEFIELD_WG_TEXT_TOWER_S_DESTROYED 
BATTLEFIELD_WG_TEXT_TOWER_E_DESTROYED 
BATTLEFIELD_WG_TEXT_TOWER_W_DESTROYED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_NE_DAMAGED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_NW_DAMAGED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_SE_DAMAGED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_SW_DAMAGED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_NE_DESTROYED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_NW_DESTROYED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_SE_DESTROYED 
BATTLEFIELD_WG_TEXT_KEEPTOWER_SW_DESTROYED 
536{
538 BATTLEFIELD_WG_TEXT_WORKSHOP_NE_ATTACK = 19, // Ally, horde +2
539 BATTLEFIELD_WG_TEXT_WORKSHOP_NW_ATTACK = 11, // Ally, horde +2
540 BATTLEFIELD_WG_TEXT_WORKSHOP_SE_ATTACK = 15, // Ally, horde +2
541 BATTLEFIELD_WG_TEXT_WORKSHOP_SW_ATTACK = 23, // Ally, horde +2
542 BATTLEFIELD_WG_TEXT_WORKSHOP_NE_TAKEN = 20, // Ally, horde +2
543 BATTLEFIELD_WG_TEXT_WORKSHOP_NW_TAKEN = 12, // Ally, horde +2
544 BATTLEFIELD_WG_TEXT_WORKSHOP_SE_TAKEN = 16, // Ally, horde +2
545 BATTLEFIELD_WG_TEXT_WORKSHOP_SW_TAKEN = 24, // Ally, horde +2
546 BATTLEFIELD_WG_TEXT_DEFEND_KEEP = 29, // Ally, horde +2
547 BATTLEFIELD_WG_TEXT_WIN_KEEP = 30, // Ally, horde +2
565};
@ BATTLEFIELD_WG_TEXT_TOWER_S_DAMAGED
Definition: BattlefieldWG.h:551
@ BATTLEFIELD_WG_TEXT_TOWER_E_DAMAGED
Definition: BattlefieldWG.h:552
@ BATTLEFIELD_WG_TEXT_WILL_START
Definition: BattlefieldWG.h:548
@ BATTLEFIELD_WG_TEXT_WORKSHOP_SE_TAKEN
Definition: BattlefieldWG.h:544
@ BATTLEFIELD_WG_TEXT_WORKSHOP_SE_ATTACK
Definition: BattlefieldWG.h:540
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_NW_DAMAGED
Definition: BattlefieldWG.h:558
@ BATTLEFIELD_WG_TEXT_TOWER_W_DAMAGED
Definition: BattlefieldWG.h:553
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_NE_DESTROYED
Definition: BattlefieldWG.h:561
@ BATTLEFIELD_WG_TEXT_SECONDRANK
Definition: BattlefieldWG.h:550
@ BATTLEFIELD_WG_TEXT_TOWER_W_DESTROYED
Definition: BattlefieldWG.h:556
@ BATTLEFIELD_WG_TEXT_WORKSHOP_SW_ATTACK
Definition: BattlefieldWG.h:541
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_SE_DAMAGED
Definition: BattlefieldWG.h:559
@ BATTLEFIELD_WG_TEXT_START
Definition: BattlefieldWG.h:537
@ BATTLEFIELD_WG_TEXT_WORKSHOP_NE_TAKEN
Definition: BattlefieldWG.h:542
@ BATTLEFIELD_WG_TEXT_WORKSHOP_NW_TAKEN
Definition: BattlefieldWG.h:543
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_SE_DESTROYED
Definition: BattlefieldWG.h:563
@ BATTLEFIELD_WG_TEXT_TOWER_E_DESTROYED
Definition: BattlefieldWG.h:555
@ BATTLEFIELD_WG_TEXT_WIN_KEEP
Definition: BattlefieldWG.h:547
@ BATTLEFIELD_WG_TEXT_WORKSHOP_SW_TAKEN
Definition: BattlefieldWG.h:545
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_SW_DAMAGED
Definition: BattlefieldWG.h:560
@ BATTLEFIELD_WG_TEXT_DEFEND_KEEP
Definition: BattlefieldWG.h:546
@ BATTLEFIELD_WG_TEXT_FIRSTRANK
Definition: BattlefieldWG.h:549
@ BATTLEFIELD_WG_TEXT_WORKSHOP_NE_ATTACK
Definition: BattlefieldWG.h:538
@ BATTLEFIELD_WG_TEXT_TOWER_S_DESTROYED
Definition: BattlefieldWG.h:554
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_SW_DESTROYED
Definition: BattlefieldWG.h:564
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_NW_DESTROYED
Definition: BattlefieldWG.h:562
@ BATTLEFIELD_WG_TEXT_KEEPTOWER_NE_DAMAGED
Definition: BattlefieldWG.h:557
@ BATTLEFIELD_WG_TEXT_WORKSHOP_NW_ATTACK
Definition: BattlefieldWG.h:539

◆ WGGraveyardId

Enumerator
BATTLEFIELD_WG_GY_WORKSHOP_NE 
BATTLEFIELD_WG_GY_WORKSHOP_NW 
BATTLEFIELD_WG_GY_WORKSHOP_SE 
BATTLEFIELD_WG_GY_WORKSHOP_SW 
BATTLEFIELD_WG_GY_KEEP 
BATTLEFIELD_WG_GY_HORDE 
BATTLEFIELD_WG_GY_ALLIANCE 
BATTLEFIELD_WG_GRAVEYARD_MAX 
144{
153};
@ BATTLEFIELD_WG_GY_WORKSHOP_NE
Definition: BattlefieldWG.h:145
@ BATTLEFIELD_WG_GY_KEEP
Definition: BattlefieldWG.h:149
@ BATTLEFIELD_WG_GRAVEYARD_MAX
Definition: BattlefieldWG.h:152
@ BATTLEFIELD_WG_GY_WORKSHOP_SW
Definition: BattlefieldWG.h:148
@ BATTLEFIELD_WG_GY_WORKSHOP_SE
Definition: BattlefieldWG.h:147
@ BATTLEFIELD_WG_GY_HORDE
Definition: BattlefieldWG.h:150
@ BATTLEFIELD_WG_GY_WORKSHOP_NW
Definition: BattlefieldWG.h:146
@ BATTLEFIELD_WG_GY_ALLIANCE
Definition: BattlefieldWG.h:151

◆ WintergraspAreaIds

Enumerator
BATTLEFIELD_WG_ZONEID 
BATTLEFIELD_WG_MAPID 
AREA_WINTERGRASP_FORTRESS 
AREA_THE_SUNKEN_RING 
AREA_THE_BROKEN_TEMPLE 
AREA_WESTPARK_WORKSHOP 
AREA_EASTPARK_WORKSHOP 
AREA_WINTERGRASP 
AREA_THE_CHILLED_QUAGMIRE 
115{
116 BATTLEFIELD_WG_ZONEID = 4197, // Wintergrasp
117 BATTLEFIELD_WG_MAPID = 571, // Northrend
118
124 AREA_WINTERGRASP = 4197,
126};
@ BATTLEFIELD_WG_MAPID
Definition: BattlefieldWG.h:117
@ AREA_THE_SUNKEN_RING
Definition: BattlefieldWG.h:120
@ AREA_WINTERGRASP_FORTRESS
Definition: BattlefieldWG.h:119
@ AREA_EASTPARK_WORKSHOP
Definition: BattlefieldWG.h:123
@ AREA_THE_BROKEN_TEMPLE
Definition: BattlefieldWG.h:121
@ BATTLEFIELD_WG_ZONEID
Definition: BattlefieldWG.h:116
@ AREA_WINTERGRASP
Definition: BattlefieldWG.h:124
@ AREA_WESTPARK_WORKSHOP
Definition: BattlefieldWG.h:122
@ AREA_THE_CHILLED_QUAGMIRE
Definition: BattlefieldWG.h:125

◆ WintergraspData

Enumerator
BATTLEFIELD_WG_DATA_INTACT_TOWER_ATT 
BATTLEFIELD_WG_DATA_DAMAGED_TOWER_ATT 
BATTLEFIELD_WG_DATA_BROKEN_TOWER_ATT 
BATTLEFIELD_WG_DATA_MAX_VEHICLE_A 
BATTLEFIELD_WG_DATA_MAX_VEHICLE_H 
BATTLEFIELD_WG_DATA_VEHICLE_A 
BATTLEFIELD_WG_DATA_VEHICLE_H 
BATTLEFIELD_WG_DATA_MAX 
91{
100};
@ BATTLEFIELD_WG_DATA_INTACT_TOWER_ATT
Definition: BattlefieldWG.h:92
@ BATTLEFIELD_WG_DATA_VEHICLE_A
Definition: BattlefieldWG.h:97
@ BATTLEFIELD_WG_DATA_MAX_VEHICLE_A
Definition: BattlefieldWG.h:95
@ BATTLEFIELD_WG_DATA_MAX
Definition: BattlefieldWG.h:99
@ BATTLEFIELD_WG_DATA_VEHICLE_H
Definition: BattlefieldWG.h:98
@ BATTLEFIELD_WG_DATA_BROKEN_TOWER_ATT
Definition: BattlefieldWG.h:94
@ BATTLEFIELD_WG_DATA_MAX_VEHICLE_H
Definition: BattlefieldWG.h:96
@ BATTLEFIELD_WG_DATA_DAMAGED_TOWER_ATT
Definition: BattlefieldWG.h:93

◆ WintergraspGameObject

Enumerator
GO_WINTERGRASP_FACTORY_BANNER_NE 
GO_WINTERGRASP_FACTORY_BANNER_NW 
GO_WINTERGRASP_FACTORY_BANNER_SE 
GO_WINTERGRASP_FACTORY_BANNER_SW 
GO_WINTERGRASP_TITAN_S_RELIC 
GO_WINTERGRASP_FORTRESS_TOWER_1 
GO_WINTERGRASP_FORTRESS_TOWER_2 
GO_WINTERGRASP_FORTRESS_TOWER_3 
GO_WINTERGRASP_FORTRESS_TOWER_4 
GO_WINTERGRASP_SHADOWSIGHT_TOWER 
GO_WINTERGRASP_WINTER_S_EDGE_TOWER 
GO_WINTERGRASP_FLAMEWATCH_TOWER 
568{
573
575
580
584};
@ GO_WINTERGRASP_FACTORY_BANNER_SW
Definition: BattlefieldWG.h:572
@ GO_WINTERGRASP_FORTRESS_TOWER_3
Definition: BattlefieldWG.h:578
@ GO_WINTERGRASP_FORTRESS_TOWER_2
Definition: BattlefieldWG.h:577
@ GO_WINTERGRASP_FLAMEWATCH_TOWER
Definition: BattlefieldWG.h:583
@ GO_WINTERGRASP_FORTRESS_TOWER_4
Definition: BattlefieldWG.h:579
@ GO_WINTERGRASP_SHADOWSIGHT_TOWER
Definition: BattlefieldWG.h:581
@ GO_WINTERGRASP_FACTORY_BANNER_NW
Definition: BattlefieldWG.h:570
@ GO_WINTERGRASP_FACTORY_BANNER_NE
Definition: BattlefieldWG.h:569
@ GO_WINTERGRASP_TITAN_S_RELIC
Definition: BattlefieldWG.h:574
@ GO_WINTERGRASP_FORTRESS_TOWER_1
Definition: BattlefieldWG.h:576
@ GO_WINTERGRASP_FACTORY_BANNER_SE
Definition: BattlefieldWG.h:571
@ GO_WINTERGRASP_WINTER_S_EDGE_TOWER
Definition: BattlefieldWG.h:582

◆ WintergraspGameObjectBuildingType

Enumerator
BATTLEFIELD_WG_OBJECTTYPE_DOOR 
BATTLEFIELD_WG_OBJECTTYPE_TITANRELIC 
BATTLEFIELD_WG_OBJECTTYPE_WALL 
BATTLEFIELD_WG_OBJECTTYPE_DOOR_LAST 
BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER 
BATTLEFIELD_WG_OBJECTTYPE_TOWER 
487{
494};
@ BATTLEFIELD_WG_OBJECTTYPE_DOOR
Definition: BattlefieldWG.h:488
@ BATTLEFIELD_WG_OBJECTTYPE_TOWER
Definition: BattlefieldWG.h:493
@ BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER
Definition: BattlefieldWG.h:492
@ BATTLEFIELD_WG_OBJECTTYPE_WALL
Definition: BattlefieldWG.h:490
@ BATTLEFIELD_WG_OBJECTTYPE_DOOR_LAST
Definition: BattlefieldWG.h:491
@ BATTLEFIELD_WG_OBJECTTYPE_TITANRELIC
Definition: BattlefieldWG.h:489

◆ WintergraspGameObjectState

Enumerator
BATTLEFIELD_WG_OBJECTSTATE_NONE 
BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_INTACT 
BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_DAMAGE 
BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_DESTROY 
BATTLEFIELD_WG_OBJECTSTATE_HORDE_INTACT 
BATTLEFIELD_WG_OBJECTSTATE_HORDE_DAMAGE 
BATTLEFIELD_WG_OBJECTSTATE_HORDE_DESTROY 
BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_INTACT 
BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DAMAGE 
BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DESTROY 
497{
508};
@ BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DAMAGE
Definition: BattlefieldWG.h:506
@ BATTLEFIELD_WG_OBJECTSTATE_NONE
Definition: BattlefieldWG.h:498
@ BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DESTROY
Definition: BattlefieldWG.h:507
@ BATTLEFIELD_WG_OBJECTSTATE_HORDE_DESTROY
Definition: BattlefieldWG.h:504
@ BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_DESTROY
Definition: BattlefieldWG.h:501
@ BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_INTACT
Definition: BattlefieldWG.h:499
@ BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_INTACT
Definition: BattlefieldWG.h:505
@ BATTLEFIELD_WG_OBJECTSTATE_HORDE_INTACT
Definition: BattlefieldWG.h:502
@ BATTLEFIELD_WG_OBJECTSTATE_NEUTRAL_DAMAGE
Definition: BattlefieldWG.h:500
@ BATTLEFIELD_WG_OBJECTSTATE_HORDE_DAMAGE
Definition: BattlefieldWG.h:503

◆ WintergraspNpcs

Enumerator
BATTLEFIELD_WG_NPC_GUARD_H 
BATTLEFIELD_WG_NPC_GUARD_A 
BATTLEFIELD_WG_NPC_STALKER 
BATTLEFIELD_WG_NPC_VIERON_BLAZEFEATHER 
BATTLEFIELD_WG_NPC_STONE_GUARD_MUKAR 
BATTLEFIELD_WG_NPC_HOODOO_MASTER_FU_JIN 
BATTLEFIELD_WG_NPC_CHAMPION_ROS_SLAI 
BATTLEFIELD_WG_NPC_COMMANDER_DARDOSH 
BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_KILRATH 
BATTLEFIELD_WG_NPC_SIEGESMITH_STRONGHOOF 
BATTLEFIELD_WG_NPC_PRIMALIST_MULFORT 
BATTLEFIELD_WG_NPC_LIEUTENANT_MURP 
BATTLEFIELD_WG_NPC_HORDE_WARBRINGER 
BATTLEFIELD_WG_NPC_BRIGADIER_GENERAL 
BATTLEFIELD_WG_NPC_AV_PORTAL_HORDE 
BATTLEFIELD_WG_NPC_AV_PORTAL_ALLY 
BATTLEFIELD_WG_NPC_AB_PORTAL_HORDE 
BATTLEFIELD_WG_NPC_AB_PORTAL_ALLY 
BATTLEFIELD_WG_NPC_EOTS_PORTAL_HORDE 
BATTLEFIELD_WG_NPC_EOTS_PORTAL_ALLY 
BATTLEFIELD_WG_NPC_SOTA_PORTAL_HORDE 
BATTLEFIELD_WG_NPC_SOTA_PORTAL_ALLY 
BATTLEFIELD_WG_NPC_WG_PORTAL_HORDE 
BATTLEFIELD_WG_NPC_WG_PORTAL_ALLY 
BATTLEFIELD_WG_NPC_BOWYER_RANDOLPH 
BATTLEFIELD_WG_NPC_KNIGHT_DAMERON 
BATTLEFIELD_WG_NPC_SORCERESS_KAYLANA 
BATTLEFIELD_WG_NPC_MARSHAL_MAGRUDER 
BATTLEFIELD_WG_NPC_COMMANDER_ZANNETH 
BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_AHBRAMIS 
BATTLEFIELD_WG_NPC_SIEGE_MASTER_STOUTHANDLE 
BATTLEFIELD_WG_NPC_ANCHORITE_TESSA 
BATTLEFIELD_WG_NPC_SENIOR_DEMOLITIONIST_LEGOSO 
NPC_TAUNKA_SPIRIT_GUIDE 
NPC_DWARVEN_SPIRIT_GUIDE 
NPC_WINTERGRASP_SIEGE_ENGINE_TURRET_ALLIANCE 
NPC_WINTERGRASP_SIEGE_ENGINE_TURRET_HORDE 
NPC_WINTERGRASP_SIEGE_ENGINE_ALLIANCE 
NPC_WINTERGRASP_SIEGE_ENGINE_HORDE 
NPC_WINTERGRASP_CATAPULT 
NPC_WINTERGRASP_DEMOLISHER 
NPC_WINTERGRASP_TOWER_CANNON 
NPC_QUEST_SOUTHERN_TOWER_KILL 
NPC_QUEST_VEHICLE_PROTECTED 
NPC_QUEST_PVP_KILL_VEHICLE 
NPC_QUEST_PVP_KILL_HORDE 
NPC_QUEST_PVP_KILL_ALLIANCE 
168{
172
174 BATTLEFIELD_WG_NPC_STONE_GUARD_MUKAR = 32296,// <WINTERGRASP QUARTERMASTER>
175 BATTLEFIELD_WG_NPC_HOODOO_MASTER_FU_JIN = 31101,// <MASTER HEXXER>
176 BATTLEFIELD_WG_NPC_CHAMPION_ROS_SLAI = 39173,// <WINTERGRASP QUARTERMASTER>
184
195
197 BATTLEFIELD_WG_NPC_KNIGHT_DAMERON = 32294,// <WINTERGRASP QUARTERMASTER>
198 BATTLEFIELD_WG_NPC_SORCERESS_KAYLANA = 31051,// <ENCHANTRESS>
199 BATTLEFIELD_WG_NPC_MARSHAL_MAGRUDER = 39172,// <WINTERGRASP QUARTERMASTER>
205
206 NPC_TAUNKA_SPIRIT_GUIDE = 31841, // Horde spirit guide for Wintergrasp
207 NPC_DWARVEN_SPIRIT_GUIDE = 31842, // Alliance spirit guide for Wintergrasp
208
216
222};
@ BATTLEFIELD_WG_NPC_BRIGADIER_GENERAL
Definition: BattlefieldWG.h:183
@ NPC_QUEST_PVP_KILL_VEHICLE
Definition: BattlefieldWG.h:219
@ BATTLEFIELD_WG_NPC_SIEGE_MASTER_STOUTHANDLE
Definition: BattlefieldWG.h:202
@ BATTLEFIELD_WG_NPC_AB_PORTAL_ALLY
Definition: BattlefieldWG.h:188
@ NPC_WINTERGRASP_SIEGE_ENGINE_HORDE
Definition: BattlefieldWG.h:212
@ BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_KILRATH
Definition: BattlefieldWG.h:178
@ BATTLEFIELD_WG_NPC_HORDE_WARBRINGER
Definition: BattlefieldWG.h:182
@ BATTLEFIELD_WG_NPC_COMMANDER_DARDOSH
Definition: BattlefieldWG.h:177
@ BATTLEFIELD_WG_NPC_LIEUTENANT_MURP
Definition: BattlefieldWG.h:181
@ NPC_QUEST_VEHICLE_PROTECTED
Definition: BattlefieldWG.h:218
@ NPC_QUEST_PVP_KILL_ALLIANCE
Definition: BattlefieldWG.h:221
@ BATTLEFIELD_WG_NPC_EOTS_PORTAL_ALLY
Definition: BattlefieldWG.h:190
@ BATTLEFIELD_WG_NPC_SOTA_PORTAL_ALLY
Definition: BattlefieldWG.h:192
@ BATTLEFIELD_WG_NPC_EOTS_PORTAL_HORDE
Definition: BattlefieldWG.h:189
@ BATTLEFIELD_WG_NPC_COMMANDER_ZANNETH
Definition: BattlefieldWG.h:200
@ BATTLEFIELD_WG_NPC_ANCHORITE_TESSA
Definition: BattlefieldWG.h:203
@ BATTLEFIELD_WG_NPC_WG_PORTAL_HORDE
Definition: BattlefieldWG.h:193
@ NPC_WINTERGRASP_CATAPULT
Definition: BattlefieldWG.h:213
@ BATTLEFIELD_WG_NPC_BOWYER_RANDOLPH
Definition: BattlefieldWG.h:196
@ BATTLEFIELD_WG_NPC_SOTA_PORTAL_HORDE
Definition: BattlefieldWG.h:191
@ NPC_WINTERGRASP_DEMOLISHER
Definition: BattlefieldWG.h:214
@ BATTLEFIELD_WG_NPC_SIEGESMITH_STRONGHOOF
Definition: BattlefieldWG.h:179
@ BATTLEFIELD_WG_NPC_KNIGHT_DAMERON
Definition: BattlefieldWG.h:197
@ NPC_WINTERGRASP_TOWER_CANNON
Definition: BattlefieldWG.h:215
@ BATTLEFIELD_WG_NPC_GUARD_H
Definition: BattlefieldWG.h:169
@ NPC_DWARVEN_SPIRIT_GUIDE
Definition: BattlefieldWG.h:207
@ BATTLEFIELD_WG_NPC_WG_PORTAL_ALLY
Definition: BattlefieldWG.h:194
@ BATTLEFIELD_WG_NPC_VIERON_BLAZEFEATHER
Definition: BattlefieldWG.h:173
@ NPC_WINTERGRASP_SIEGE_ENGINE_TURRET_HORDE
Definition: BattlefieldWG.h:210
@ NPC_WINTERGRASP_SIEGE_ENGINE_TURRET_ALLIANCE
Definition: BattlefieldWG.h:209
@ BATTLEFIELD_WG_NPC_AV_PORTAL_HORDE
Definition: BattlefieldWG.h:185
@ NPC_TAUNKA_SPIRIT_GUIDE
Definition: BattlefieldWG.h:206
@ NPC_QUEST_PVP_KILL_HORDE
Definition: BattlefieldWG.h:220
@ BATTLEFIELD_WG_NPC_PRIMALIST_MULFORT
Definition: BattlefieldWG.h:180
@ NPC_QUEST_SOUTHERN_TOWER_KILL
Definition: BattlefieldWG.h:217
@ BATTLEFIELD_WG_NPC_STONE_GUARD_MUKAR
Definition: BattlefieldWG.h:174
@ BATTLEFIELD_WG_NPC_STALKER
Definition: BattlefieldWG.h:171
@ BATTLEFIELD_WG_NPC_GUARD_A
Definition: BattlefieldWG.h:170
@ BATTLEFIELD_WG_NPC_CHAMPION_ROS_SLAI
Definition: BattlefieldWG.h:176
@ BATTLEFIELD_WG_NPC_SORCERESS_KAYLANA
Definition: BattlefieldWG.h:198
@ BATTLEFIELD_WG_NPC_AV_PORTAL_ALLY
Definition: BattlefieldWG.h:186
@ BATTLEFIELD_WG_NPC_SENIOR_DEMOLITIONIST_LEGOSO
Definition: BattlefieldWG.h:204
@ BATTLEFIELD_WG_NPC_AB_PORTAL_HORDE
Definition: BattlefieldWG.h:187
@ NPC_WINTERGRASP_SIEGE_ENGINE_ALLIANCE
Definition: BattlefieldWG.h:211
@ BATTLEFIELD_WG_NPC_HOODOO_MASTER_FU_JIN
Definition: BattlefieldWG.h:175
@ BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_AHBRAMIS
Definition: BattlefieldWG.h:201
@ BATTLEFIELD_WG_NPC_MARSHAL_MAGRUDER
Definition: BattlefieldWG.h:199

◆ WintergraspSpells

Enumerator
SPELL_RECRUIT 
SPELL_CORPORAL 
SPELL_LIEUTENANT 
SPELL_TENACITY 
SPELL_TENACITY_VEHICLE 
SPELL_TOWER_CONTROL 
SPELL_SPIRITUAL_IMMUNITY 
SPELL_GREAT_HONOR 
SPELL_GREATER_HONOR 
SPELL_GREATEST_HONOR 
SPELL_ALLIANCE_FLAG 
SPELL_HORDE_FLAG 
SPELL_GRAB_PASSENGER 
SPELL_VICTORY_REWARD 
SPELL_DEFEAT_REWARD 
SPELL_DAMAGED_TOWER 
SPELL_DESTROYED_TOWER 
SPELL_DAMAGED_BUILDING 
SPELL_INTACT_BUILDING 
SPELL_TELEPORT_BRIDGE 
SPELL_TELEPORT_FORTRESS 
SPELL_TELEPORT_DALARAN 
SPELL_VICTORY_AURA 
SPELL_WINTERGRASP_WATER 
SPELL_ESSENCE_OF_WINTERGRASP 
SPELL_WINTERGRASP_RESTRICTED_FLIGHT_AREA 
SPELL_LEANING_TOWER_ACHIEVEMENT 
SPELL_HORDE_CONTROLS_FACTORY_PHASE_SHIFT 
SPELL_ALLIANCE_CONTROLS_FACTORY_PHASE_SHIFT 
SPELL_HORDE_CONTROL_PHASE_SHIFT 
SPELL_ALLIANCE_CONTROL_PHASE_SHIFT 
46{
47 // Wartime auras
48 SPELL_RECRUIT = 37795,
49 SPELL_CORPORAL = 33280,
50 SPELL_LIEUTENANT = 55629,
51 SPELL_TENACITY = 58549,
53 SPELL_TOWER_CONTROL = 62064,
55 SPELL_GREAT_HONOR = 58555,
56 SPELL_GREATER_HONOR = 58556,
58 SPELL_ALLIANCE_FLAG = 14268,
59 SPELL_HORDE_FLAG = 14267,
61
62 // Reward spells
64 SPELL_DEFEAT_REWARD = 58494,
65 SPELL_DAMAGED_TOWER = 59135,
69
72
74 SPELL_VICTORY_AURA = 60044,
75
76 // Other spells
81
82 // Phasing spells
83 SPELL_HORDE_CONTROLS_FACTORY_PHASE_SHIFT = 56618,// ADDS PHASE 16
84 SPELL_ALLIANCE_CONTROLS_FACTORY_PHASE_SHIFT = 56617,// ADDS PHASE 32
85
86 SPELL_HORDE_CONTROL_PHASE_SHIFT = 55773,// ADDS PHASE 64
87 SPELL_ALLIANCE_CONTROL_PHASE_SHIFT = 55774,// ADDS PHASE 128
88};
@ SPELL_HORDE_FLAG
Definition: BattlefieldWG.h:59
@ SPELL_GREATEST_HONOR
Definition: BattlefieldWG.h:57
@ SPELL_ESSENCE_OF_WINTERGRASP
Definition: BattlefieldWG.h:78
@ SPELL_VICTORY_AURA
Definition: BattlefieldWG.h:74
@ SPELL_WINTERGRASP_RESTRICTED_FLIGHT_AREA
Definition: BattlefieldWG.h:79
@ SPELL_RECRUIT
Definition: BattlefieldWG.h:48
@ SPELL_TELEPORT_FORTRESS
Definition: BattlefieldWG.h:71
@ SPELL_TENACITY
Definition: BattlefieldWG.h:51
@ SPELL_ALLIANCE_CONTROLS_FACTORY_PHASE_SHIFT
Definition: BattlefieldWG.h:84
@ SPELL_HORDE_CONTROLS_FACTORY_PHASE_SHIFT
Definition: BattlefieldWG.h:83
@ SPELL_GRAB_PASSENGER
Definition: BattlefieldWG.h:60
@ SPELL_TELEPORT_BRIDGE
Definition: BattlefieldWG.h:70
@ SPELL_HORDE_CONTROL_PHASE_SHIFT
Definition: BattlefieldWG.h:86
@ SPELL_VICTORY_REWARD
Definition: BattlefieldWG.h:63
@ SPELL_CORPORAL
Definition: BattlefieldWG.h:49
@ SPELL_LEANING_TOWER_ACHIEVEMENT
Definition: BattlefieldWG.h:80
@ SPELL_GREATER_HONOR
Definition: BattlefieldWG.h:56
@ SPELL_TELEPORT_DALARAN
Definition: BattlefieldWG.h:73
@ SPELL_DAMAGED_BUILDING
Definition: BattlefieldWG.h:67
@ SPELL_GREAT_HONOR
Definition: BattlefieldWG.h:55
@ SPELL_ALLIANCE_CONTROL_PHASE_SHIFT
Definition: BattlefieldWG.h:87
@ SPELL_WINTERGRASP_WATER
Definition: BattlefieldWG.h:77
@ SPELL_INTACT_BUILDING
Definition: BattlefieldWG.h:68
@ SPELL_DESTROYED_TOWER
Definition: BattlefieldWG.h:66
@ SPELL_SPIRITUAL_IMMUNITY
Definition: BattlefieldWG.h:54
@ SPELL_ALLIANCE_FLAG
Definition: BattlefieldWG.h:58
@ SPELL_DEFEAT_REWARD
Definition: BattlefieldWG.h:64
@ SPELL_TENACITY_VEHICLE
Definition: BattlefieldWG.h:52
@ SPELL_LIEUTENANT
Definition: BattlefieldWG.h:50
@ SPELL_DAMAGED_TOWER
Definition: BattlefieldWG.h:65
@ SPELL_TOWER_CONTROL
Definition: BattlefieldWG.h:53

◆ WintergraspWorkshopIds

Enumerator
BATTLEFIELD_WG_WORKSHOP_NE 
BATTLEFIELD_WG_WORKSHOP_NW 
BATTLEFIELD_WG_WORKSHOP_SE 
BATTLEFIELD_WG_WORKSHOP_SW 
BATTLEFIELD_WG_WORKSHOP_KEEP_WEST 
BATTLEFIELD_WG_WORKSHOP_KEEP_EAST 
511{
518};
@ BATTLEFIELD_WG_WORKSHOP_SE
Definition: BattlefieldWG.h:514
@ BATTLEFIELD_WG_WORKSHOP_KEEP_WEST
Definition: BattlefieldWG.h:516
@ BATTLEFIELD_WG_WORKSHOP_KEEP_EAST
Definition: BattlefieldWG.h:517
@ BATTLEFIELD_WG_WORKSHOP_NW
Definition: BattlefieldWG.h:513
@ BATTLEFIELD_WG_WORKSHOP_SW
Definition: BattlefieldWG.h:515
@ BATTLEFIELD_WG_WORKSHOP_NE
Definition: BattlefieldWG.h:512

◆ WintergraspWorldStates

Enumerator
BATTLEFIELD_WG_WORLD_STATE_VEHICLE_H 
BATTLEFIELD_WG_WORLD_STATE_MAX_VEHICLE_H 
BATTLEFIELD_WG_WORLD_STATE_VEHICLE_A 
BATTLEFIELD_WG_WORLD_STATE_MAX_VEHICLE_A 
BATTLEFIELD_WG_WORLD_STATE_ACTIVE 
BATTLEFIELD_WG_WORLD_STATE_DEFENDER 
BATTLEFIELD_WG_WORLD_STATE_ATTACKER 
BATTLEFIELD_WG_WORLD_STATE_SHOW_WORLDSTATE 
103{
112};
@ BATTLEFIELD_WG_WORLD_STATE_VEHICLE_H
Definition: BattlefieldWG.h:104
@ BATTLEFIELD_WG_WORLD_STATE_SHOW_WORLDSTATE
Definition: BattlefieldWG.h:111
@ BATTLEFIELD_WG_WORLD_STATE_ACTIVE
Definition: BattlefieldWG.h:108
@ BATTLEFIELD_WG_WORLD_STATE_VEHICLE_A
Definition: BattlefieldWG.h:106
@ BATTLEFIELD_WG_WORLD_STATE_MAX_VEHICLE_H
Definition: BattlefieldWG.h:105
@ BATTLEFIELD_WG_WORLD_STATE_MAX_VEHICLE_A
Definition: BattlefieldWG.h:107
@ BATTLEFIELD_WG_WORLD_STATE_DEFENDER
Definition: BattlefieldWG.h:109
@ BATTLEFIELD_WG_WORLD_STATE_ATTACKER
Definition: BattlefieldWG.h:110

◆ WintergraspWorldstates

Enumerator
WORLDSTATE_WORKSHOP_NE 
WORLDSTATE_WORKSHOP_NW 
WORLDSTATE_WORKSHOP_SE 
WORLDSTATE_WORKSHOP_SW 
WORLDSTATE_WORKSHOP_K_W 
WORLDSTATE_WORKSHOP_K_E 
WORLDSTATE_HORDE_KEEP_CAPTURED 
WORLDSTATE_HORDE_KEEP_DEFENDED 
WORLDSTATE_ALLIANCE_KEEP_CAPTURED 
WORLDSTATE_ALLIANCE_KEEP_DEFENDED 
521{
532};
@ WORLDSTATE_HORDE_KEEP_DEFENDED
Definition: BattlefieldWG.h:529
@ WORLDSTATE_ALLIANCE_KEEP_DEFENDED
Definition: BattlefieldWG.h:531
@ WORLDSTATE_ALLIANCE_KEEP_CAPTURED
Definition: BattlefieldWG.h:530
@ WORLDSTATE_WORKSHOP_NW
Definition: BattlefieldWG.h:523
@ WORLDSTATE_WORKSHOP_K_E
Definition: BattlefieldWG.h:527
@ WORLDSTATE_WORKSHOP_K_W
Definition: BattlefieldWG.h:526
@ WORLDSTATE_HORDE_KEEP_CAPTURED
Definition: BattlefieldWG.h:528
@ WORLDSTATE_WORKSHOP_SW
Definition: BattlefieldWG.h:525
@ WORLDSTATE_WORKSHOP_NE
Definition: BattlefieldWG.h:522
@ WORLDSTATE_WORKSHOP_SE
Definition: BattlefieldWG.h:524

Variable Documentation

◆ AttackTowers

◆ ClockWorldState

◆ MaxVehNumWorldState

const uint32 MaxVehNumWorldState[2] = { 3681, 3491 }

◆ TowerCannon

◆ VehNumWorldState

const uint32 VehNumWorldState[2] = { 3680, 3490 }

◆ WG_MAX_ATTACKTOWERS

uint8 const WG_MAX_ATTACKTOWERS = 3

◆ WG_MAX_KEEP_NPC

const uint8 WG_MAX_KEEP_NPC = 45

◆ WG_MAX_OBJ

const uint8 WG_MAX_OBJ = 32

◆ WG_MAX_OUTSIDE_NPC

const uint8 WG_MAX_OUTSIDE_NPC = 14

◆ WG_MAX_TELEPORTER

const uint8 WG_MAX_TELEPORTER = 12

◆ WG_MAX_TOWER_CANNON

const uint8 WG_MAX_TOWER_CANNON = 7

◆ WG_MAX_TURRET

const uint8 WG_MAX_TURRET = 16

◆ WG_MAX_WORKSHOP

uint8 const WG_MAX_WORKSHOP = 6

◆ WG_OUTSIDE_ALLIANCE_NPC

const uint8 WG_OUTSIDE_ALLIANCE_NPC = 7

◆ WGGameObjectBuilding

◆ WGGraveYard

Initial value:
=
{
{ 5104.750f, 2300.940f, 368.579f, 0.733038f, 1329, BATTLEFIELD_WG_GY_WORKSHOP_NE, BATTLEFIELD_WG_GOSSIPTEXT_GY_NE, TEAM_NEUTRAL },
{ 5099.120f, 3466.036f, 368.484f, 5.317802f, 1330, BATTLEFIELD_WG_GY_WORKSHOP_NW, BATTLEFIELD_WG_GOSSIPTEXT_GY_NW, TEAM_NEUTRAL },
{ 4314.648f, 2408.522f, 392.642f, 6.268125f, 1333, BATTLEFIELD_WG_GY_WORKSHOP_SE, BATTLEFIELD_WG_GOSSIPTEXT_GY_SE, TEAM_NEUTRAL },
{ 4331.716f, 3235.695f, 390.251f, 0.008500f, 1334, BATTLEFIELD_WG_GY_WORKSHOP_SW, BATTLEFIELD_WG_GOSSIPTEXT_GY_SW, TEAM_NEUTRAL },
{ 5537.986f, 2897.493f, 517.057f, 4.819249f, 1285, BATTLEFIELD_WG_GY_KEEP, BATTLEFIELD_WG_GOSSIPTEXT_GY_KEEP, TEAM_NEUTRAL },
{ 5032.454f, 3711.382f, 372.468f, 3.971623f, 1331, BATTLEFIELD_WG_GY_HORDE, BATTLEFIELD_WG_GOSSIPTEXT_GY_HORDE, TEAM_HORDE },
{ 5140.790f, 2179.120f, 390.950f, 1.972220f, 1332, BATTLEFIELD_WG_GY_ALLIANCE, BATTLEFIELD_WG_GOSSIPTEXT_GY_ALLIANCE, TEAM_ALLIANCE },
}
@ TEAM_NEUTRAL
Definition: SharedDefines.h:762
@ TEAM_ALLIANCE
Definition: SharedDefines.h:760
@ TEAM_HORDE
Definition: SharedDefines.h:761

Referenced by BattlefieldWG::SetupBattlefield().

◆ WGKeepNPC

◆ WGOutsideNPC

Initial value:
=
{
{ 5032.04f, 3681.79f, 362.980f, 4.210f, BATTLEFIELD_WG_NPC_VIERON_BLAZEFEATHER, 0 },
{ 5020.71f, 3626.19f, 360.150f, 4.640f, BATTLEFIELD_WG_NPC_HOODOO_MASTER_FU_JIN, 0 },
{ 4994.85f, 3660.51f, 359.150f, 2.260f, BATTLEFIELD_WG_NPC_COMMANDER_DARDOSH, 0 },
{ 5015.46f, 3677.11f, 362.970f, 6.009f, BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_KILRATH, 0 },
{ 5031.12f, 3663.77f, 363.500f, 3.110f, BATTLEFIELD_WG_NPC_SIEGESMITH_STRONGHOOF, 0 },
{ 5042.74f, 3675.82f, 363.060f, 3.358f, BATTLEFIELD_WG_NPC_PRIMALIST_MULFORT, 0 },
{ 5014.45f, 3640.87f, 361.390f, 3.280f, BATTLEFIELD_WG_NPC_LIEUTENANT_MURP, 0 },
{ 5100.07f, 2168.89f, 365.779f, 1.972f, 0, BATTLEFIELD_WG_NPC_BOWYER_RANDOLPH },
{ 5081.70f, 2173.73f, 365.878f, 0.855f, 0, BATTLEFIELD_WG_NPC_SORCERESS_KAYLANA },
{ 5078.28f, 2183.70f, 365.029f, 1.466f, 0, BATTLEFIELD_WG_NPC_COMMANDER_ZANNETH },
{ 5088.49f, 2188.18f, 365.647f, 5.253f, 0, BATTLEFIELD_WG_NPC_TACTICAL_OFFICER_AHBRAMIS },
{ 5095.67f, 2193.28f, 365.924f, 4.939f, 0, BATTLEFIELD_WG_NPC_SIEGE_MASTER_STOUTHANDLE },
{ 5088.61f, 2167.66f, 365.689f, 0.680f, 0, BATTLEFIELD_WG_NPC_ANCHORITE_TESSA },
{ 5080.40f, 2199.00f, 359.489f, 2.967f, 0, BATTLEFIELD_WG_NPC_SENIOR_DEMOLITIONIST_LEGOSO },
}

Referenced by BattlefieldWG::SetupBattlefield().

◆ WGPortalDefenderData

const WintergraspTeleporterData WGPortalDefenderData[WG_MAX_TELEPORTER]
Initial value:
=
{
{ 190763, 5153.41f, 2901.35f, 409.191f, -0.069f },
{ 190763, 5268.70f, 2666.42f, 409.099f, -0.715f },
{ 190763, 5197.05f, 2944.81f, 409.191f, 2.3387f },
{ 190763, 5196.67f, 2737.34f, 409.189f, -2.932f },
{ 190763, 5314.58f, 3055.85f, 408.862f, 0.5410f },
{ 190763, 5391.28f, 2828.09f, 418.675f, -2.164f },
{ 190763, 5153.93f, 2781.67f, 409.246f, 1.6580f },
{ 190763, 5311.44f, 2618.93f, 409.092f, -2.373f },
{ 190763, 5269.21f, 3013.84f, 408.828f, -1.762f },
{ 190763, 5401.62f, 2853.66f, 418.674f, 2.6354f },
{ 192951, 5314.51f, 2703.69f, 408.550f, -0.890f },
{ 192951, 5316.25f, 2977.04f, 408.539f, -0.820f },
}

Referenced by BattlefieldWG::SetupBattlefield().

◆ WGQuest

const uint32 WGQuest[2][6]
Initial value:
=
{
{ 13186, 13181, 13222, 13538, 13177, 13179 },
{ 13185, 13183, 13223, 13539, 13178, 13180 },
}

◆ WGTurret

const Position WGTurret[WG_MAX_TURRET]
Initial value:
=
{
{ 5391.19f, 3060.8f, 419.616f, 1.69557f },
{ 5266.75f, 2976.5f, 421.067f, 3.20354f },
{ 5234.86f, 2948.8f, 420.88f, 1.61311f },
{ 5323.05f, 2923.7f, 421.645f, 1.5817f },
{ 5363.82f, 2923.87f, 421.709f, 1.60527f },
{ 5264.04f, 2861.34f, 421.587f, 3.21142f },
{ 5264.68f, 2819.78f, 421.656f, 3.15645f },
{ 5322.16f, 2756.69f, 421.646f, 4.69978f },
{ 5363.78f, 2756.77f, 421.629f, 4.78226f },
{ 5236.2f, 2732.68f, 421.649f, 4.72336f },
{ 5265.02f, 2704.63f, 421.7f, 3.12507f },
{ 5350.87f, 2616.03f, 421.243f, 4.72729f },
{ 5390.95f, 2615.5f, 421.126f, 4.6409f },
{ 5148.8f, 2820.24f, 421.621f, 3.16043f },
{ 5147.98f, 2861.93f, 421.63f, 3.18792f },
{ 5352.22f, 3061.46f, 421.102f, 1.52235f }
}

Referenced by BattlefieldWG::SetupBattlefield().

◆ WintergraspFaction

◆ WintergraspStalkerPos

float const WintergraspStalkerPos[4] = { 4948.985f, 2937.789f, 550.5172f, 1.815142f }

◆ WorkshopsData