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

Go to the source code of this file.

Classes

class  OPvPCapturePointEP_EWT
 
class  OPvPCapturePointEP_NPT
 
class  OPvPCapturePointEP_CGT
 
class  OPvPCapturePointEP_PWT
 
class  OutdoorPvPEP
 

Enumerations

enum  EP_EastwallTowerWorldStates {
  EP_EWT_A = 2354 ,
  EP_EWT_H = 2356 ,
  EP_EWT_N_A = 2359 ,
  EP_EWT_N_H = 2360 ,
  EP_EWT_N = 2361
}
 
enum  EP_NorthpassTowerWorldStates {
  EP_NPT_N = 2352 ,
  EP_NPT_N_A = 2362 ,
  EP_NPT_N_H = 2363 ,
  EP_NPT_A = 2372 ,
  EP_NPT_H = 2373
}
 
enum  EP_PlagewoodTowerWorldStates {
  EP_PWT_N_A = 2366 ,
  EP_PWT_N_H = 2353 ,
  EP_PWT_A = 2370 ,
  EP_PWT_H = 2371 ,
  EP_PWT_N = 2353
}
 
enum  EP_CrownGuardTowerWorldStates {
  EP_CGT_N_A = 2374 ,
  EP_CGT_N_H = 2375 ,
  EP_CGT_A = 2378 ,
  EP_CGT_H = 2379 ,
  EP_CGT_N = 2355
}
 
enum  EP_WorldStates {
  EP_UI_TOWER_SLIDER_DISPLAY = 2426 ,
  EP_UI_TOWER_SLIDER_POS = 2427 ,
  EP_UI_TOWER_SLIDER_N = 2428 ,
  EP_UI_TOWER_COUNT_A = 2327 ,
  EP_UI_TOWER_COUNT_H = 2328
}
 
enum  EP_Summons {
  EP_EWT_COMMANDER = 0 ,
  EP_EWT_SOLDIER1 ,
  EP_EWT_SOLDIER2 ,
  EP_EWT_SOLDIER3 ,
  EP_EWT_SOLDIER4 ,
  EP_PWT_FLIGHTMASTER
}
 
enum  EP_GoSummons {
  EP_NPT_BUFF = 0 ,
  EP_NPT_FLAGS ,
  EP_EWT_FLAGS ,
  EP_CGT_FLAGS ,
  EP_PWT_FLAGS
}
 
enum  EP_Towers {
  EP_EWT = 0 ,
  EP_NPT ,
  EP_PWT ,
  EP_CGT ,
  EP_TOWER_NUM
}
 
enum  EP_TowerStates {
  EP_TS_N = 1 ,
  EP_TS_N_A = 2 ,
  EP_TS_N_H = 4 ,
  EP_TS_A_P = 8 ,
  EP_TS_H_P = 16 ,
  EP_TS_A = 32 ,
  EP_TS_H = 64
}
 

Variables

const uint32 EP_AllianceBuffs [4] = {11413, 11414, 11415, 1386}
 
const uint32 EP_HordeBuffs [4] = {30880, 30683, 30682, 29520}
 
const uint32 EP_GraveYardZone = 139
 
const uint32 EP_GraveYardId = 927
 
const uint8 EPBuffZonesNum = 3
 
const uint32 EP_EWT_CM = 17690
 
const uint32 EP_CGT_CM = 17689
 
const uint32 EP_NPT_CM = 17696
 
const uint32 EP_PWT_CM = 17698
 
const uint32 EPBuffZones [EPBuffZonesNum] = {139, 2017, 2057}
 
const go_type EPCapturePoints [EP_TOWER_NUM]
 
const go_type EPTowerFlags [EP_TOWER_NUM]
 
const uint8 EP_NUM_CREATURES = 6
 
const uint8 EP_EWT_NUM_CREATURES = 5
 
const creature_type EP_EWT_Summons_A [EP_EWT_NUM_CREATURES]
 
const creature_type EP_EWT_Summons_H [EP_EWT_NUM_CREATURES]
 
const creature_type EP_PWT_FlightMaster = {17209, 0, 2987.5f, -3049.11f, 120.126f, 5.75959f}
 
const go_type EP_NPT_LordaeronShrine = {181682, 0, 3167.72f, -4355.91f, 138.785f, 1.69297f, 0.0f, 0.0f, 0.748956f, 0.66262f}
 

Enumeration Type Documentation

◆ EP_CrownGuardTowerWorldStates

Enumerator
EP_CGT_N_A 
EP_CGT_N_H 
EP_CGT_A 
EP_CGT_H 
EP_CGT_N 
77{
78 EP_CGT_N_A = 2374,
79 EP_CGT_N_H = 2375,
80 EP_CGT_A = 2378,
81 EP_CGT_H = 2379,
82 EP_CGT_N = 2355
83};
@ EP_CGT_N
Definition: OutdoorPvPEP.h:82
@ EP_CGT_H
Definition: OutdoorPvPEP.h:81
@ EP_CGT_N_H
Definition: OutdoorPvPEP.h:79
@ EP_CGT_A
Definition: OutdoorPvPEP.h:80
@ EP_CGT_N_A
Definition: OutdoorPvPEP.h:78

◆ EP_EastwallTowerWorldStates

Enumerator
EP_EWT_A 
EP_EWT_H 
EP_EWT_N_A 
EP_EWT_N_H 
EP_EWT_N 
50{
51 EP_EWT_A = 2354,
52 EP_EWT_H = 2356,
53 EP_EWT_N_A = 2359, // ally conquested
54 EP_EWT_N_H = 2360,
55 EP_EWT_N = 2361
56};
@ EP_EWT_H
Definition: OutdoorPvPEP.h:52
@ EP_EWT_N
Definition: OutdoorPvPEP.h:55
@ EP_EWT_A
Definition: OutdoorPvPEP.h:51
@ EP_EWT_N_H
Definition: OutdoorPvPEP.h:54
@ EP_EWT_N_A
Definition: OutdoorPvPEP.h:53

◆ EP_GoSummons

Enumerator
EP_NPT_BUFF 
EP_NPT_FLAGS 
EP_EWT_FLAGS 
EP_CGT_FLAGS 
EP_PWT_FLAGS 
106{
107 EP_NPT_BUFF = 0,
112};
@ EP_NPT_FLAGS
Definition: OutdoorPvPEP.h:108
@ EP_EWT_FLAGS
Definition: OutdoorPvPEP.h:109
@ EP_CGT_FLAGS
Definition: OutdoorPvPEP.h:110
@ EP_NPT_BUFF
Definition: OutdoorPvPEP.h:107
@ EP_PWT_FLAGS
Definition: OutdoorPvPEP.h:111

◆ EP_NorthpassTowerWorldStates

Enumerator
EP_NPT_N 
EP_NPT_N_A 
EP_NPT_N_H 
EP_NPT_A 
EP_NPT_H 
59{
60 EP_NPT_N = 2352,
61 EP_NPT_N_A = 2362,
62 EP_NPT_N_H = 2363,
63 EP_NPT_A = 2372,
64 EP_NPT_H = 2373
65};
@ EP_NPT_A
Definition: OutdoorPvPEP.h:63
@ EP_NPT_N
Definition: OutdoorPvPEP.h:60
@ EP_NPT_N_H
Definition: OutdoorPvPEP.h:62
@ EP_NPT_H
Definition: OutdoorPvPEP.h:64
@ EP_NPT_N_A
Definition: OutdoorPvPEP.h:61

◆ EP_PlagewoodTowerWorldStates

Enumerator
EP_PWT_N_A 
EP_PWT_N_H 
EP_PWT_A 
EP_PWT_H 
EP_PWT_N 
68{
69 EP_PWT_N_A = 2366,
70 EP_PWT_N_H = 2353, //2367 not present! use neutral!
71 EP_PWT_A = 2370,
72 EP_PWT_H = 2371,
73 EP_PWT_N = 2353
74};
@ EP_PWT_N_A
Definition: OutdoorPvPEP.h:69
@ EP_PWT_A
Definition: OutdoorPvPEP.h:71
@ EP_PWT_H
Definition: OutdoorPvPEP.h:72
@ EP_PWT_N
Definition: OutdoorPvPEP.h:73
@ EP_PWT_N_H
Definition: OutdoorPvPEP.h:70

◆ EP_Summons

enum EP_Summons
Enumerator
EP_EWT_COMMANDER 
EP_EWT_SOLDIER1 
EP_EWT_SOLDIER2 
EP_EWT_SOLDIER3 
EP_EWT_SOLDIER4 
EP_PWT_FLIGHTMASTER 
96{
103};
@ EP_EWT_COMMANDER
Definition: OutdoorPvPEP.h:97
@ EP_PWT_FLIGHTMASTER
Definition: OutdoorPvPEP.h:102
@ EP_EWT_SOLDIER2
Definition: OutdoorPvPEP.h:99
@ EP_EWT_SOLDIER4
Definition: OutdoorPvPEP.h:101
@ EP_EWT_SOLDIER1
Definition: OutdoorPvPEP.h:98
@ EP_EWT_SOLDIER3
Definition: OutdoorPvPEP.h:100

◆ EP_Towers

enum EP_Towers
Enumerator
EP_EWT 
EP_NPT 
EP_PWT 
EP_CGT 
EP_TOWER_NUM 
115{
116 EP_EWT = 0, // plaguelands 03
117 EP_NPT, // plaguelands 01
118 EP_PWT, // plaguelands 04
119 EP_CGT, // plaguelands 02
121};
@ EP_PWT
Definition: OutdoorPvPEP.h:118
@ EP_NPT
Definition: OutdoorPvPEP.h:117
@ EP_TOWER_NUM
Definition: OutdoorPvPEP.h:120
@ EP_CGT
Definition: OutdoorPvPEP.h:119
@ EP_EWT
Definition: OutdoorPvPEP.h:116

◆ EP_TowerStates

Enumerator
EP_TS_N 
EP_TS_N_A 
EP_TS_N_H 
EP_TS_A_P 
EP_TS_H_P 
EP_TS_A 
EP_TS_H 
167{
168 EP_TS_N = 1,
169 EP_TS_N_A = 2,
170 EP_TS_N_H = 4,
171 EP_TS_A_P = 8,
172 EP_TS_H_P = 16,
173 EP_TS_A = 32,
174 EP_TS_H = 64
175};
@ EP_TS_N
Definition: OutdoorPvPEP.h:168
@ EP_TS_A
Definition: OutdoorPvPEP.h:173
@ EP_TS_N_A
Definition: OutdoorPvPEP.h:169
@ EP_TS_N_H
Definition: OutdoorPvPEP.h:170
@ EP_TS_H_P
Definition: OutdoorPvPEP.h:172
@ EP_TS_H
Definition: OutdoorPvPEP.h:174
@ EP_TS_A_P
Definition: OutdoorPvPEP.h:171

◆ EP_WorldStates

Enumerator
EP_UI_TOWER_SLIDER_DISPLAY 
EP_UI_TOWER_SLIDER_POS 
EP_UI_TOWER_SLIDER_N 
EP_UI_TOWER_COUNT_A 
EP_UI_TOWER_COUNT_H 
86{
90
93};
@ EP_UI_TOWER_SLIDER_DISPLAY
Definition: OutdoorPvPEP.h:87
@ EP_UI_TOWER_COUNT_H
Definition: OutdoorPvPEP.h:92
@ EP_UI_TOWER_COUNT_A
Definition: OutdoorPvPEP.h:91
@ EP_UI_TOWER_SLIDER_POS
Definition: OutdoorPvPEP.h:88
@ EP_UI_TOWER_SLIDER_N
Definition: OutdoorPvPEP.h:89

Variable Documentation

◆ EP_AllianceBuffs

const uint32 EP_AllianceBuffs[4] = {11413, 11414, 11415, 1386}

◆ EP_CGT_CM

const uint32 EP_CGT_CM = 17689

◆ EP_EWT_CM

const uint32 EP_EWT_CM = 17690

◆ EP_EWT_NUM_CREATURES

const uint8 EP_EWT_NUM_CREATURES = 5

◆ EP_EWT_Summons_A

const creature_type EP_EWT_Summons_A[EP_EWT_NUM_CREATURES]
Initial value:
=
{
{17635, 0, 3167.61f, -4352.09f, 138.20f, 4.5811f},
{17647, 0, 3172.74f, -4352.99f, 139.14f, 4.9873f},
{17647, 0, 3165.89f, -4354.46f, 138.67f, 3.7244f},
{17647, 0, 3164.65f, -4350.26f, 138.22f, 2.4794f},
{17647, 0, 3169.91f, -4349.68f, 138.37f, 0.7444f}
}

Referenced by OPvPCapturePointEP_EWT::SummonSupportUnitAtNorthpassTower().

◆ EP_EWT_Summons_H

const creature_type EP_EWT_Summons_H[EP_EWT_NUM_CREATURES]
Initial value:
=
{
{17995, 0, 3167.61f, -4352.09f, 138.20f, 4.5811f},
{17996, 0, 3172.74f, -4352.99f, 139.14f, 4.9873f},
{17996, 0, 3165.89f, -4354.46f, 138.67f, 3.7244f},
{17996, 0, 3164.65f, -4350.26f, 138.22f, 2.4794f},
{17996, 0, 3169.91f, -4349.68f, 138.37f, 0.7444f}
}

Referenced by OPvPCapturePointEP_EWT::SummonSupportUnitAtNorthpassTower().

◆ EP_GraveYardId

const uint32 EP_GraveYardId = 927

◆ EP_GraveYardZone

◆ EP_HordeBuffs

const uint32 EP_HordeBuffs[4] = {30880, 30683, 30682, 29520}

◆ EP_NPT_CM

const uint32 EP_NPT_CM = 17696

◆ EP_NPT_LordaeronShrine

const go_type EP_NPT_LordaeronShrine = {181682, 0, 3167.72f, -4355.91f, 138.785f, 1.69297f, 0.0f, 0.0f, 0.748956f, 0.66262f}

◆ EP_NUM_CREATURES

const uint8 EP_NUM_CREATURES = 6

◆ EP_PWT_CM

const uint32 EP_PWT_CM = 17698

◆ EP_PWT_FlightMaster

const creature_type EP_PWT_FlightMaster = {17209, 0, 2987.5f, -3049.11f, 120.126f, 5.75959f}

◆ EPBuffZones

const uint32 EPBuffZones[EPBuffZonesNum] = {139, 2017, 2057}

◆ EPBuffZonesNum

const uint8 EPBuffZonesNum = 3

◆ EPCapturePoints

const go_type EPCapturePoints[EP_TOWER_NUM]
Initial value:
=
{
{182097, 0, 2574.51f, -4794.89f, 144.704f, -1.45003f, -0.097056f, 0.095578f, -0.656229f, 0.742165f},
{181899, 0, 3181.08f, -4379.36f, 174.123f, -2.03472f, -0.065392f, 0.119494f, -0.842275f, 0.521553f},
{182098, 0, 2962.71f, -3042.31f, 154.789f, 2.08426f, -0.074807f, -0.113837f, 0.855928f, 0.49883f},
{182096, 0, 1860.85f, -3731.23f, 196.716f, -2.53214f, 0.033967f, -0.131914f, 0.944741f, -0.298177f}
}

Referenced by OPvPCapturePointEP_CGT::OPvPCapturePointEP_CGT(), OPvPCapturePointEP_EWT::OPvPCapturePointEP_EWT(), OPvPCapturePointEP_NPT::OPvPCapturePointEP_NPT(), and OPvPCapturePointEP_PWT::OPvPCapturePointEP_PWT().

◆ EPTowerFlags

const go_type EPTowerFlags[EP_TOWER_NUM]
Initial value:
=
{
{182106, 0, 2569.60f, -4772.93f, 115.399f, 2.72271f, 0.0f, 0.0f, 0.978148f, 0.207912f},
{182106, 0, 3148.17f, -4365.51f, 145.029f, 1.53589f, 0.0f, 0.0f, 0.694658f, 0.71934f},
{182106, 0, 2992.63f, -3022.95f, 125.593f, 3.03687f, 0.0f, 0.0f, 0.99863f, 0.052336f},
{182106, 0, 1838.42f, -3703.56f, 167.713f, 0.890118f, 0.0f, 0.0f, 0.430511f, 0.902585f}
}

Referenced by OPvPCapturePointEP_CGT::OPvPCapturePointEP_CGT(), OPvPCapturePointEP_EWT::OPvPCapturePointEP_EWT(), OPvPCapturePointEP_NPT::OPvPCapturePointEP_NPT(), and OPvPCapturePointEP_PWT::OPvPCapturePointEP_PWT().