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

Go to the source code of this file.

Classes

struct  zm_beacon
 
class  OPvPCapturePointZM_Beacon
 
class  OPvPCapturePointZM_GraveYard
 
class  OutdoorPvPZM
 

Enumerations

enum  DefenseMessages {
  TEXT_OVERLOOK_TAKEN_ALLIANCE = 14841, TEXT_OVERLOOK_TAKEN_HORDE = 14842, TEXT_STADIUM_TAKEN_ALLIANCE = 14843, TEXT_STADIUM_TAKEN_HORDE = 14844,
  TEXT_BROKEN_HILL_TAKEN_ALLIANCE = 14845, TEXT_BROKEN_HILL_TAKEN_HORDE = 14846, TEXT_ALL_GUARDS_DEFEATED = 15017, TEXT_HALAA_TAKEN_ALLIANCE = 15018,
  TEXT_HALAA_TAKEN_HORDE = 15019, TEXT_HALAA_DEFENSELESS = 15020, TEXT_HALAA_GAINING_CONTROL_HORDE = 15493, TEXT_HALAA_GAINING_CONTROL_ALLIANCE = 15494,
  TEXT_BONE_WASTES_TAKEN_ALLIANCE = 16120, TEXT_BONE_WASTES_TAKEN_HORDE = 16119, TEXT_SPIRIT_TOWER_TAKEN_ALLIANCE = 18285, TEXT_SPIRIT_TOWER_TAKEN_HORDE = 18286,
  TEXT_SPIRIT_TOWER_LOSE_ALLIANCE = 18288, TEXT_SPIRIT_TOWER_LOSE_HORDE = 18287, TEXT_WEST_BEACON_TAKEN_ALLIANCE = 15541, TEXT_WEST_BEACON_TAKEN_HORDE = 15543,
  TEXT_EAST_BEACON_TAKEN_ALLIANCE = 15546, TEXT_EAST_BEACON_TAKEN_HORDE = 15545, TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE = 15591, TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE = 15590,
  TEXT_BOTH_BEACONS_TAKEN_ALLIANCE = 16284, TEXT_BOTH_BEACONS_TAKEN_HORDE = 16285, TEXT_BATTLE_STANDARDS_ALLIANCE = 16287, TEXT_BATTLE_STANDARDS_HORDE = 16288
}
 
enum  OutdoorPvPZMSpells {
  ZM_CAPTURE_BUFF = 33779, ZM_BATTLE_STANDARD_A = 32430, ZM_BATTLE_STANDARD_H = 32431, ZM_AlliancePlayerKillReward = 32155,
  ZM_HordePlayerKillReward = 32158
}
 
enum  ZMCreatureTypes { ZM_ALLIANCE_FIELD_SCOUT = 0, ZM_HORDE_FIELD_SCOUT, ZM_CREATURE_NUM }
 
enum  ZM_BeaconType { ZM_BEACON_EAST = 0, ZM_BEACON_WEST, ZM_NUM_BEACONS }
 
enum  OutdoorPvPZMWorldStates {
  ZM_WORLDSTATE_UNK_1 = 2653, ZM_UI_TOWER_EAST_N = 2560, ZM_UI_TOWER_EAST_H = 2559, ZM_UI_TOWER_EAST_A = 2558,
  ZM_UI_TOWER_WEST_N = 2557, ZM_UI_TOWER_WEST_H = 2556, ZM_UI_TOWER_WEST_A = 2555, ZM_MAP_TOWER_EAST_N = 2652,
  ZM_MAP_TOWER_EAST_H = 2651, ZM_MAP_TOWER_EAST_A = 2650, ZM_MAP_GRAVEYARD_H = 2649, ZM_MAP_GRAVEYARD_A = 2648,
  ZM_MAP_GRAVEYARD_N = 2647, ZM_MAP_TOWER_WEST_N = 2646, ZM_MAP_TOWER_WEST_H = 2645, ZM_MAP_TOWER_WEST_A = 2644,
  ZM_MAP_HORDE_FLAG_READY = 2658, ZM_MAP_HORDE_FLAG_NOT_READY = 2657, ZM_MAP_ALLIANCE_FLAG_NOT_READY = 2656, ZM_MAP_ALLIANCE_FLAG_READY = 2655
}
 
enum  ZM_TowerStateMask { ZM_TOWERSTATE_N = 1, ZM_TOWERSTATE_A = 2, ZM_TOWERSTATE_H = 4 }
 
enum  ZM_GraveYardState { ZM_GRAVEYARD_N = 1, ZM_GRAVEYARD_A = 2, ZM_GRAVEYARD_H = 4 }
 

Variables

const uint8 OutdoorPvPZMBuffZonesNum = 5
 
const uint32 OutdoorPvPZMBuffZones [OutdoorPvPZMBuffZonesNum] = {3521, 3607, 3717, 3715, 3716}
 
const uint32 ZM_GRAVEYARD_ZONE = 3521
 
const uint32 ZM_GRAVEYARD_ID = 969
 
const go_type ZM_Banner_A = { 182527, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
 
const go_type ZM_Banner_H = { 182528, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
 
const go_type ZM_Banner_N = { 182529, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
 
const creature_type ZM_HordeFieldScout = {18564, 530, 296.625f, 7818.4f, 42.6294f, 5.18363f}
 
const creature_type ZM_AllianceFieldScout = {18581, 530, 374.395f, 6230.08f, 22.8351f, 0.593412f}
 
const zm_beacon ZMBeaconInfo [ZM_NUM_BEACONS]
 
const uint32 ZMBeaconCaptureA [ZM_NUM_BEACONS]
 
const uint32 ZMBeaconCaptureH [ZM_NUM_BEACONS]
 
const go_type ZMCapturePoints [ZM_NUM_BEACONS]
 

Enumeration Type Documentation

Enumerator
TEXT_OVERLOOK_TAKEN_ALLIANCE 
TEXT_OVERLOOK_TAKEN_HORDE 
TEXT_STADIUM_TAKEN_ALLIANCE 
TEXT_STADIUM_TAKEN_HORDE 
TEXT_BROKEN_HILL_TAKEN_ALLIANCE 
TEXT_BROKEN_HILL_TAKEN_HORDE 
TEXT_ALL_GUARDS_DEFEATED 
TEXT_HALAA_TAKEN_ALLIANCE 
TEXT_HALAA_TAKEN_HORDE 
TEXT_HALAA_DEFENSELESS 
TEXT_HALAA_GAINING_CONTROL_HORDE 
TEXT_HALAA_GAINING_CONTROL_ALLIANCE 
TEXT_BONE_WASTES_TAKEN_ALLIANCE 
TEXT_BONE_WASTES_TAKEN_HORDE 
TEXT_SPIRIT_TOWER_TAKEN_ALLIANCE 
TEXT_SPIRIT_TOWER_TAKEN_HORDE 
TEXT_SPIRIT_TOWER_LOSE_ALLIANCE 
TEXT_SPIRIT_TOWER_LOSE_HORDE 
TEXT_WEST_BEACON_TAKEN_ALLIANCE 
TEXT_WEST_BEACON_TAKEN_HORDE 
TEXT_EAST_BEACON_TAKEN_ALLIANCE 
TEXT_EAST_BEACON_TAKEN_HORDE 
TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE 
TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE 
TEXT_BOTH_BEACONS_TAKEN_ALLIANCE 
TEXT_BOTH_BEACONS_TAKEN_HORDE 
TEXT_BATTLE_STANDARDS_ALLIANCE 
TEXT_BATTLE_STANDARDS_HORDE 
24 {
25  TEXT_WEST_BEACON_TAKEN_ALLIANCE = 15541, // '|cffffff00The Alliance has taken control of the West Beacon!|r'
26  TEXT_WEST_BEACON_TAKEN_HORDE = 15543, // '|cffffff00The Horde has taken control of the West Beacon!|r'
27  TEXT_EAST_BEACON_TAKEN_ALLIANCE = 15546, // '|cffffff00The Alliance has taken control of the East Beacon!|r'
28  TEXT_EAST_BEACON_TAKEN_HORDE = 15545, // '|cffffff00The Horde has taken control of the East Beacon!|r'
29  TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE = 15591, // '|cffffff00The Alliance has taken control of Twin Spire Ruins!|r'
30  TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE = 15590, // '|cffffff00The Horde has taken control of Twin Spire Ruins!|r'
31  TEXT_BOTH_BEACONS_TAKEN_ALLIANCE = 16284, // (NYI) '|cffffff00The Alliance has taken control of both beacons!|r'
32  TEXT_BOTH_BEACONS_TAKEN_HORDE = 16285, // (NYI) '|cffffff00The Horde has taken control of both beacons!|r'
33  TEXT_BATTLE_STANDARDS_ALLIANCE = 16287, // (NYI) '|cffffff00The Alliance Field Scout is now issuing battle standards.|r'
34  TEXT_BATTLE_STANDARDS_HORDE = 16288 // (NYI) '|cffffff00The Horde Field Scout is now issuing battle standards.|r'
35 };
Definition: OutdoorPvPZM.h:26
Definition: OutdoorPvPZM.h:30
Definition: OutdoorPvPZM.h:28
Definition: OutdoorPvPZM.h:33
Definition: OutdoorPvPZM.h:32
Definition: OutdoorPvPZM.h:31
Definition: OutdoorPvPZM.h:34
Definition: OutdoorPvPZM.h:29
Definition: OutdoorPvPZM.h:25
Definition: OutdoorPvPZM.h:27
Enumerator
ZM_CAPTURE_BUFF 
ZM_BATTLE_STANDARD_A 
ZM_BATTLE_STANDARD_H 
ZM_AlliancePlayerKillReward 
ZM_HordePlayerKillReward 
49 {
50  // cast on the players of the controlling faction
51  ZM_CAPTURE_BUFF = 33779, // twin spire blessing
52  // spell that the field scout casts on the player to carry the flag
53  ZM_BATTLE_STANDARD_A = 32430,
54  // spell that the field scout casts on the player to carry the flag
55  ZM_BATTLE_STANDARD_H = 32431,
56  // token create spell
58  // token create spell
60 };
Definition: OutdoorPvPZM.h:51
Definition: OutdoorPvPZM.h:59
Definition: OutdoorPvPZM.h:53
Definition: OutdoorPvPZM.h:57
Definition: OutdoorPvPZM.h:55
Enumerator
ZM_WORLDSTATE_UNK_1 
ZM_UI_TOWER_EAST_N 
ZM_UI_TOWER_EAST_H 
ZM_UI_TOWER_EAST_A 
ZM_UI_TOWER_WEST_N 
ZM_UI_TOWER_WEST_H 
ZM_UI_TOWER_WEST_A 
ZM_MAP_TOWER_EAST_N 
ZM_MAP_TOWER_EAST_H 
ZM_MAP_TOWER_EAST_A 
ZM_MAP_GRAVEYARD_H 
ZM_MAP_GRAVEYARD_A 
ZM_MAP_GRAVEYARD_N 
ZM_MAP_TOWER_WEST_N 
ZM_MAP_TOWER_WEST_H 
ZM_MAP_TOWER_WEST_A 
ZM_MAP_HORDE_FLAG_READY 
ZM_MAP_HORDE_FLAG_NOT_READY 
ZM_MAP_ALLIANCE_FLAG_NOT_READY 
ZM_MAP_ALLIANCE_FLAG_READY 
124 {
125  ZM_WORLDSTATE_UNK_1 = 2653,
126 
127  ZM_UI_TOWER_EAST_N = 2560,
128  ZM_UI_TOWER_EAST_H = 2559,
129  ZM_UI_TOWER_EAST_A = 2558,
130  ZM_UI_TOWER_WEST_N = 2557,
131  ZM_UI_TOWER_WEST_H = 2556,
132  ZM_UI_TOWER_WEST_A = 2555,
133 
134  ZM_MAP_TOWER_EAST_N = 2652,
135  ZM_MAP_TOWER_EAST_H = 2651,
136  ZM_MAP_TOWER_EAST_A = 2650,
137  ZM_MAP_GRAVEYARD_H = 2649,
138  ZM_MAP_GRAVEYARD_A = 2648,
139  ZM_MAP_GRAVEYARD_N = 2647,
140  ZM_MAP_TOWER_WEST_N = 2646,
141  ZM_MAP_TOWER_WEST_H = 2645,
142  ZM_MAP_TOWER_WEST_A = 2644,
143 
148 };
Definition: OutdoorPvPZM.h:141
Definition: OutdoorPvPZM.h:130
Definition: OutdoorPvPZM.h:142
Definition: OutdoorPvPZM.h:129
Definition: OutdoorPvPZM.h:128
Definition: OutdoorPvPZM.h:145
Definition: OutdoorPvPZM.h:125
Definition: OutdoorPvPZM.h:146
Definition: OutdoorPvPZM.h:147
Definition: OutdoorPvPZM.h:137
Definition: OutdoorPvPZM.h:131
Definition: OutdoorPvPZM.h:135
Definition: OutdoorPvPZM.h:139
Definition: OutdoorPvPZM.h:144
Definition: OutdoorPvPZM.h:127
Definition: OutdoorPvPZM.h:138
Definition: OutdoorPvPZM.h:132
Definition: OutdoorPvPZM.h:136
Definition: OutdoorPvPZM.h:134
Definition: OutdoorPvPZM.h:140
Enumerator
ZM_BEACON_EAST 
ZM_BEACON_WEST 
ZM_NUM_BEACONS 
93 {
94  ZM_BEACON_EAST = 0,
97 };
Definition: OutdoorPvPZM.h:96
Definition: OutdoorPvPZM.h:95
Definition: OutdoorPvPZM.h:94
Enumerator
ZM_GRAVEYARD_N 
ZM_GRAVEYARD_A 
ZM_GRAVEYARD_H 
176 {
177  ZM_GRAVEYARD_N = 1,
178  ZM_GRAVEYARD_A = 2,
179  ZM_GRAVEYARD_H = 4
180 };
Definition: OutdoorPvPZM.h:178
Definition: OutdoorPvPZM.h:177
Definition: OutdoorPvPZM.h:179
Enumerator
ZM_TOWERSTATE_N 
ZM_TOWERSTATE_A 
ZM_TOWERSTATE_H 
151 {
152  ZM_TOWERSTATE_N = 1,
153  ZM_TOWERSTATE_A = 2,
154  ZM_TOWERSTATE_H = 4
155 };
Definition: OutdoorPvPZM.h:153
Definition: OutdoorPvPZM.h:154
Definition: OutdoorPvPZM.h:152
Enumerator
ZM_ALLIANCE_FIELD_SCOUT 
ZM_HORDE_FIELD_SCOUT 
ZM_CREATURE_NUM 
74 {
78 };
Definition: OutdoorPvPZM.h:75
Definition: OutdoorPvPZM.h:77
Definition: OutdoorPvPZM.h:76

Variable Documentation

const uint32 OutdoorPvPZMBuffZones[OutdoorPvPZMBuffZonesNum] = {3521, 3607, 3717, 3715, 3716}
const uint8 OutdoorPvPZMBuffZonesNum = 5
const creature_type ZM_AllianceFieldScout = {18581, 530, 374.395f, 6230.08f, 22.8351f, 0.593412f}
const go_type ZM_Banner_A = { 182527, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
const go_type ZM_Banner_H = { 182528, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
const go_type ZM_Banner_N = { 182529, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
const uint32 ZM_GRAVEYARD_ID = 969
const uint32 ZM_GRAVEYARD_ZONE = 3521
const creature_type ZM_HordeFieldScout = {18564, 530, 296.625f, 7818.4f, 42.6294f, 5.18363f}
const uint32 ZMBeaconCaptureA[ZM_NUM_BEACONS]
Initial value:
const uint32 ZMBeaconCaptureH[ZM_NUM_BEACONS]
Initial value:
Initial value:
=
{
{2560, 2559, 2558, 2652, 2651, 2650, 11807, 11806},
{2557, 2556, 2555, 2646, 2645, 2644, 11805, 11804}
}
const go_type ZMCapturePoints[ZM_NUM_BEACONS]
Initial value:
=
{
{182523, 530, 303.243f, 6841.36f, 40.1245f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f},
{182522, 530, 336.466f, 7340.26f, 41.4984f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f}
}