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

◆ 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 
157{
158 ZM_GRAVEYARD_N = 1,
159 ZM_GRAVEYARD_A = 2,
161};
@ ZM_GRAVEYARD_H
Definition OutdoorPvPZM.h:160
@ ZM_GRAVEYARD_N
Definition OutdoorPvPZM.h:158
@ ZM_GRAVEYARD_A
Definition OutdoorPvPZM.h:159

◆ ZM_TowerStateMask

Enumerator
ZM_TOWERSTATE_N 
ZM_TOWERSTATE_A 
ZM_TOWERSTATE_H 
126{
127 ZM_TOWERSTATE_N = 1,
128 ZM_TOWERSTATE_A = 2,
130};
@ ZM_TOWERSTATE_N
Definition OutdoorPvPZM.h:127
@ ZM_TOWERSTATE_H
Definition OutdoorPvPZM.h:129
@ ZM_TOWERSTATE_A
Definition OutdoorPvPZM.h:128

◆ 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}
27{3521, 3607, 3717, 3715, 3716};

Referenced by OutdoorPvPZM::SetupOutdoorPvP().

◆ OutdoorPvPZMBuffZonesNum

const uint8 OutdoorPvPZMBuffZonesNum = 5

◆ ZM_AllianceFieldScout

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

Referenced by OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard().

◆ 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 }
50{ 182527, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f };

Referenced by OPvPCapturePointZM_Graveyard::HandleOpenGo().

◆ 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 }
51{ 182528, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f };

Referenced by OPvPCapturePointZM_Graveyard::HandleOpenGo().

◆ 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 }
52{ 182529, 530, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f };

Referenced by OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard().

◆ 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}
55{18564, 530, 296.625f, 7818.4f, 42.6294f, 5.18363f};

Referenced by OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard().

◆ ZMBeaconCaptureA

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

Referenced by OPvPCapturePointZM_Beacon::ChangeState().

◆ ZMBeaconCaptureH

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

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}
}
90{
91 {2533, 2535, 2534, 2560, 2559, 2558, 2652, 2651, 2650, 11807, 11806},
92 {2527, 2529, 2528, 2557, 2556, 2555, 2646, 2645, 2644, 11805, 11804}
93};

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:1221
@ LANG_OPVP_ZM_LOSE_EAST_A
Definition Language.h:1223

Referenced by OPvPCapturePointZM_Beacon::ChangeState().

◆ ZMBeaconLoseH

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

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}
}
120{
121 {182523, 530, 303.243f, 6841.36f, 40.1245f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f},
122 {182522, 530, 336.466f, 7340.26f, 41.4984f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f}
123};

Referenced by OPvPCapturePointZM_Beacon::OPvPCapturePointZM_Beacon().