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]
 
const uint32 ZM_GRAVEYARD_ZONE = AREA_ZANGARMARSH
 
const uint32 ZM_GRAVEYARD_ID = 969
 
const go_type ZM_Banner_A = { 182527, MAP_OUTLAND, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
 
const go_type ZM_Banner_H = { 182528, MAP_OUTLAND, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
 
const go_type ZM_Banner_N = { 182529, MAP_OUTLAND, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
 
const creature_type ZM_HordeFieldScout = {18564, MAP_OUTLAND, 296.625f, 7818.4f, 42.6294f, 5.18363f}
 
const creature_type ZM_AllianceFieldScout = {18581, MAP_OUTLAND, 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 
43{
44 // cast on the players of the controlling faction
45 ZM_CAPTURE_BUFF = 33779, // twin spire blessing
46 // spell that the field scout casts on the player to carry the flag
48 // spell that the field scout casts on the player to carry the flag
50 // token create spell
52 // token create spell
54};
@ ZM_BATTLE_STANDARD_H
Definition OutdoorPvPZM.h:49
@ ZM_BATTLE_STANDARD_A
Definition OutdoorPvPZM.h:47
@ ZM_CAPTURE_BUFF
Definition OutdoorPvPZM.h:45
@ ZM_AlliancePlayerKillReward
Definition OutdoorPvPZM.h:51
@ ZM_HordePlayerKillReward
Definition OutdoorPvPZM.h:53

◆ ZM_BeaconType

Enumerator
ZM_BEACON_EAST 
ZM_BEACON_WEST 
ZM_NUM_BEACONS 
90{
94};
@ ZM_BEACON_EAST
Definition OutdoorPvPZM.h:91
@ ZM_BEACON_WEST
Definition OutdoorPvPZM.h:92
@ ZM_NUM_BEACONS
Definition OutdoorPvPZM.h:93

◆ Zm_GraveyardState

Enumerator
ZM_GRAVEYARD_N 
ZM_GRAVEYARD_A 
ZM_GRAVEYARD_H 
164{
165 ZM_GRAVEYARD_N = 1,
166 ZM_GRAVEYARD_A = 2,
168};
@ ZM_GRAVEYARD_H
Definition OutdoorPvPZM.h:167
@ ZM_GRAVEYARD_N
Definition OutdoorPvPZM.h:165
@ ZM_GRAVEYARD_A
Definition OutdoorPvPZM.h:166

◆ ZM_TowerStateMask

Enumerator
ZM_TOWERSTATE_N 
ZM_TOWERSTATE_A 
ZM_TOWERSTATE_H 
133{
134 ZM_TOWERSTATE_N = 1,
135 ZM_TOWERSTATE_A = 2,
137};
@ ZM_TOWERSTATE_N
Definition OutdoorPvPZM.h:134
@ ZM_TOWERSTATE_H
Definition OutdoorPvPZM.h:136
@ ZM_TOWERSTATE_A
Definition OutdoorPvPZM.h:135

◆ ZMCreatureTypes

Enumerator
ZM_ALLIANCE_FIELD_SCOUT 
ZM_HORDE_FIELD_SCOUT 
ZM_CREATURE_NUM 
68{
72};
@ ZM_CREATURE_NUM
Definition OutdoorPvPZM.h:71
@ ZM_HORDE_FIELD_SCOUT
Definition OutdoorPvPZM.h:70
@ ZM_ALLIANCE_FIELD_SCOUT
Definition OutdoorPvPZM.h:69

Variable Documentation

◆ OutdoorPvPZMBuffZones

const uint32 OutdoorPvPZMBuffZones[OutdoorPvPZMBuffZonesNum]
Initial value:
=
{
}
@ AREA_SERPENTSHRINE_CAVERN
Definition AreaDefines.h:111
@ AREA_THE_UNDERBOG
Definition AreaDefines.h:122
@ AREA_THE_STEAMVAULT
Definition AreaDefines.h:121
@ AREA_THE_SLAVE_PENS
Definition AreaDefines.h:123
@ AREA_ZANGARMARSH
Definition AreaDefines.h:101

Referenced by OutdoorPvPZM::SetupOutdoorPvP().

◆ OutdoorPvPZMBuffZonesNum

const uint8 OutdoorPvPZMBuffZonesNum = 5

◆ ZM_AllianceFieldScout

const creature_type ZM_AllianceFieldScout = {18581, MAP_OUTLAND, 374.395f, 6230.08f, 22.8351f, 0.593412f}
65{18581, MAP_OUTLAND, 374.395f, 6230.08f, 22.8351f, 0.593412f};
@ MAP_OUTLAND
Definition AreaDefines.h:215

Referenced by OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard().

◆ ZM_Banner_A

const go_type ZM_Banner_A = { 182527, MAP_OUTLAND, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
57{ 182527, MAP_OUTLAND, 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, MAP_OUTLAND, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
58{ 182528, MAP_OUTLAND, 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, MAP_OUTLAND, 253.54f, 7083.81f, 36.7728f, -0.017453f, 0.0f, 0.0f, 0.008727f, -0.999962f }
59{ 182529, MAP_OUTLAND, 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, MAP_OUTLAND, 296.625f, 7818.4f, 42.6294f, 5.18363f}
62{18564, MAP_OUTLAND, 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}
}
97{
98 {2533, 2535, 2534, 2560, 2559, 2558, 2652, 2651, 2650, 11807, 11806},
99 {2527, 2529, 2528, 2557, 2556, 2555, 2646, 2645, 2644, 11805, 11804}
100};

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, MAP_OUTLAND, 303.243f, 6841.36f, 40.1245f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f},
{182522, MAP_OUTLAND, 336.466f, 7340.26f, 41.4984f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f}
}
127{
128 {182523, MAP_OUTLAND, 303.243f, 6841.36f, 40.1245f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f},
129 {182522, MAP_OUTLAND, 336.466f, 7340.26f, 41.4984f, -1.58825f, 0.0f, 0.0f, 0.71325f, -0.700909f}
130};

Referenced by OPvPCapturePointZM_Beacon::OPvPCapturePointZM_Beacon().