AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
OutdoorPvPZM.h File Reference
#include "Language.h"
#include "OutdoorPvP.h"

Go to the source code of this file.

Classes

struct  zm_beacon
 
class  OPvPCapturePointZM_Beacon
 
class  OPvPCapturePointZM_GraveYard
 
class  OutdoorPvPZM
 

Enumerations

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_UI_TOWER_SLIDER_N_W = 2529 ,
  ZM_UI_TOWER_SLIDER_POS_W = 2528 ,
  ZM_UI_TOWER_SLIDER_DISPLAY_W = 2527 ,
  ZM_UI_TOWER_SLIDER_N_E = 2535 ,
  ZM_UI_TOWER_SLIDER_POS_E = 2534 ,
  ZM_UI_TOWER_SLIDER_DISPLAY_E = 2533 ,
  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 uint32 ZMBeaconLoseA [ZM_NUM_BEACONS]
 
const uint32 ZMBeaconLoseH [ZM_NUM_BEACONS]
 
const go_type ZMCapturePoints [ZM_NUM_BEACONS]
 

Enumeration Type Documentation

◆ OutdoorPvPZMSpells

Enumerator
ZM_CAPTURE_BUFF 
ZM_BATTLE_STANDARD_A 
ZM_BATTLE_STANDARD_H 
ZM_AlliancePlayerKillReward 
ZM_HordePlayerKillReward 
36{
37 // cast on the players of the controlling faction
38 ZM_CAPTURE_BUFF = 33779, // twin spire blessing
39 // spell that the field scout casts on the player to carry the flag
41 // spell that the field scout casts on the player to carry the flag
43 // token create spell
45 // token create spell
47};
@ ZM_BATTLE_STANDARD_H
Definition: OutdoorPvPZM.h:42
@ ZM_BATTLE_STANDARD_A
Definition: OutdoorPvPZM.h:40
@ ZM_CAPTURE_BUFF
Definition: OutdoorPvPZM.h:38
@ ZM_AlliancePlayerKillReward
Definition: OutdoorPvPZM.h:44
@ ZM_HordePlayerKillReward
Definition: OutdoorPvPZM.h:46

◆ OutdoorPvPZMWorldStates

Enumerator
ZM_UI_TOWER_SLIDER_N_W 
ZM_UI_TOWER_SLIDER_POS_W 
ZM_UI_TOWER_SLIDER_DISPLAY_W 
ZM_UI_TOWER_SLIDER_N_E 
ZM_UI_TOWER_SLIDER_POS_E 
ZM_UI_TOWER_SLIDER_DISPLAY_E 
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 
126{
130
134
135 ZM_WORLDSTATE_UNK_1 = 2653,
136
137 ZM_UI_TOWER_EAST_N = 2560,
138 ZM_UI_TOWER_EAST_H = 2559,
139 ZM_UI_TOWER_EAST_A = 2558,
140 ZM_UI_TOWER_WEST_N = 2557,
141 ZM_UI_TOWER_WEST_H = 2556,
142 ZM_UI_TOWER_WEST_A = 2555,
143
144 ZM_MAP_TOWER_EAST_N = 2652,
145 ZM_MAP_TOWER_EAST_H = 2651,
146 ZM_MAP_TOWER_EAST_A = 2650,
147 ZM_MAP_GRAVEYARD_H = 2649,
148 ZM_MAP_GRAVEYARD_A = 2648,
149 ZM_MAP_GRAVEYARD_N = 2647,
150 ZM_MAP_TOWER_WEST_N = 2646,
151 ZM_MAP_TOWER_WEST_H = 2645,
152 ZM_MAP_TOWER_WEST_A = 2644,
153
158};
@ ZM_MAP_TOWER_EAST_A
Definition: OutdoorPvPZM.h:146
@ ZM_MAP_HORDE_FLAG_NOT_READY
Definition: OutdoorPvPZM.h:155
@ ZM_UI_TOWER_WEST_N
Definition: OutdoorPvPZM.h:140
@ ZM_UI_TOWER_WEST_A
Definition: OutdoorPvPZM.h:142
@ ZM_UI_TOWER_SLIDER_N_W
Definition: OutdoorPvPZM.h:127
@ ZM_UI_TOWER_SLIDER_POS_W
Definition: OutdoorPvPZM.h:128
@ ZM_WORLDSTATE_UNK_1
Definition: OutdoorPvPZM.h:135
@ ZM_MAP_ALLIANCE_FLAG_READY
Definition: OutdoorPvPZM.h:157
@ ZM_MAP_GRAVEYARD_A
Definition: OutdoorPvPZM.h:148
@ ZM_MAP_TOWER_WEST_N
Definition: OutdoorPvPZM.h:150
@ ZM_MAP_TOWER_WEST_A
Definition: OutdoorPvPZM.h:152
@ ZM_UI_TOWER_SLIDER_DISPLAY_W
Definition: OutdoorPvPZM.h:129
@ ZM_MAP_GRAVEYARD_N
Definition: OutdoorPvPZM.h:149
@ ZM_MAP_GRAVEYARD_H
Definition: OutdoorPvPZM.h:147
@ ZM_UI_TOWER_EAST_H
Definition: OutdoorPvPZM.h:138
@ ZM_MAP_TOWER_EAST_N
Definition: OutdoorPvPZM.h:144
@ ZM_UI_TOWER_SLIDER_POS_E
Definition: OutdoorPvPZM.h:132
@ ZM_UI_TOWER_SLIDER_DISPLAY_E
Definition: OutdoorPvPZM.h:133
@ ZM_UI_TOWER_WEST_H
Definition: OutdoorPvPZM.h:141
@ ZM_MAP_TOWER_WEST_H
Definition: OutdoorPvPZM.h:151
@ ZM_MAP_HORDE_FLAG_READY
Definition: OutdoorPvPZM.h:154
@ ZM_UI_TOWER_SLIDER_N_E
Definition: OutdoorPvPZM.h:131
@ ZM_MAP_ALLIANCE_FLAG_NOT_READY
Definition: OutdoorPvPZM.h:156
@ ZM_UI_TOWER_EAST_A
Definition: OutdoorPvPZM.h:139
@ ZM_UI_TOWER_EAST_N
Definition: OutdoorPvPZM.h:137
@ ZM_MAP_TOWER_EAST_H
Definition: OutdoorPvPZM.h:145

◆ ZM_BeaconType

Enumerator
ZM_BEACON_EAST 
ZM_BEACON_WEST 
ZM_NUM_BEACONS 
83{
87};
@ ZM_BEACON_EAST
Definition: OutdoorPvPZM.h:84
@ ZM_BEACON_WEST
Definition: OutdoorPvPZM.h:85
@ ZM_NUM_BEACONS
Definition: OutdoorPvPZM.h:86

◆ ZM_GraveYardState

Enumerator
ZM_GRAVEYARD_N 
ZM_GRAVEYARD_A 
ZM_GRAVEYARD_H 
192{
193 ZM_GRAVEYARD_N = 1,
194 ZM_GRAVEYARD_A = 2,
196};
@ ZM_GRAVEYARD_H
Definition: OutdoorPvPZM.h:195
@ ZM_GRAVEYARD_N
Definition: OutdoorPvPZM.h:193
@ ZM_GRAVEYARD_A
Definition: OutdoorPvPZM.h:194

◆ ZM_TowerStateMask

Enumerator
ZM_TOWERSTATE_N 
ZM_TOWERSTATE_A 
ZM_TOWERSTATE_H 
161{
162 ZM_TOWERSTATE_N = 1,
163 ZM_TOWERSTATE_A = 2,
165};
@ ZM_TOWERSTATE_N
Definition: OutdoorPvPZM.h:162
@ ZM_TOWERSTATE_H
Definition: OutdoorPvPZM.h:164
@ ZM_TOWERSTATE_A
Definition: OutdoorPvPZM.h:163

◆ ZMCreatureTypes

Enumerator
ZM_ALLIANCE_FIELD_SCOUT 
ZM_HORDE_FIELD_SCOUT 
ZM_CREATURE_NUM 
61{
65};
@ ZM_CREATURE_NUM
Definition: OutdoorPvPZM.h:64
@ ZM_HORDE_FIELD_SCOUT
Definition: OutdoorPvPZM.h:63
@ ZM_ALLIANCE_FIELD_SCOUT
Definition: OutdoorPvPZM.h:62

Variable Documentation

◆ OutdoorPvPZMBuffZones

const uint32 OutdoorPvPZMBuffZones[OutdoorPvPZMBuffZonesNum] = {3521, 3607, 3717, 3715, 3716}

◆ OutdoorPvPZMBuffZonesNum

const uint8 OutdoorPvPZMBuffZonesNum = 5

◆ ZM_AllianceFieldScout

const creature_type ZM_AllianceFieldScout = {18581, 530, 374.395f, 6230.08f, 22.8351f, 0.593412f}

◆ ZM_Banner_A

const go_type ZM_Banner_A = { 182527, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }

◆ ZM_Banner_H

const go_type ZM_Banner_H = { 182528, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }

◆ ZM_Banner_N

const go_type ZM_Banner_N = { 182529, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }

◆ ZM_GRAVEYARD_ID

const uint32 ZM_GRAVEYARD_ID = 969

◆ ZM_GRAVEYARD_ZONE

◆ ZM_HordeFieldScout

const creature_type ZM_HordeFieldScout = {18564, 530, 296.625f, 7818.4f, 42.6294f, 5.18363f}

◆ ZMBeaconCaptureA

const uint32 ZMBeaconCaptureA[ZM_NUM_BEACONS]
Initial value:
=
{
}
@ LANG_OPVP_ZM_CAPTURE_WEST_A
Definition: Language.h:1212
@ LANG_OPVP_ZM_CAPTURE_EAST_A
Definition: Language.h:1214

Referenced by OPvPCapturePointZM_Beacon::ChangeState().

◆ ZMBeaconCaptureH

const uint32 ZMBeaconCaptureH[ZM_NUM_BEACONS]
Initial value:
=
{
}
@ LANG_OPVP_ZM_CAPTURE_EAST_H
Definition: Language.h:1213
@ LANG_OPVP_ZM_CAPTURE_WEST_H
Definition: Language.h:1211

Referenced by OPvPCapturePointZM_Beacon::ChangeState().

◆ ZMBeaconInfo

const zm_beacon ZMBeaconInfo[ZM_NUM_BEACONS]
Initial value:
=
{
{2533, 2535, 2534, 2560, 2559, 2558, 2652, 2651, 2650, 11807, 11806},
{2527, 2529, 2528, 2557, 2556, 2555, 2646, 2645, 2644, 11805, 11804}
}

Referenced by OPvPCapturePointZM_Beacon::FillInitialWorldStates(), OPvPCapturePointZM_Beacon::HandlePlayerEnter(), OPvPCapturePointZM_Beacon::HandlePlayerLeave(), OPvPCapturePointZM_Beacon::SendChangePhase(), and OPvPCapturePointZM_Beacon::UpdateTowerState().

◆ ZMBeaconLoseA

const uint32 ZMBeaconLoseA[ZM_NUM_BEACONS]
Initial value:
=
{
}
@ LANG_OPVP_ZM_LOSE_WEST_A
Definition: Language.h:1218
@ LANG_OPVP_ZM_LOSE_EAST_A
Definition: Language.h:1220

Referenced by OPvPCapturePointZM_Beacon::ChangeState().

◆ ZMBeaconLoseH

const uint32 ZMBeaconLoseH[ZM_NUM_BEACONS]
Initial value:
=
{
}
@ LANG_OPVP_ZM_LOSE_WEST_H
Definition: Language.h:1217
@ LANG_OPVP_ZM_LOSE_EAST_H
Definition: Language.h:1219

Referenced by OPvPCapturePointZM_Beacon::ChangeState().

◆ ZMCapturePoints

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}
}

Referenced by OPvPCapturePointZM_Beacon::OPvPCapturePointZM_Beacon().