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

Go to the source code of this file.

Classes

struct  tf_tower_world_state
 
class  OPvPCapturePointTF
 
class  OutdoorPvPTF
 

Macros

#define TF_CAPTURE_BUFF   33377
 

Enumerations

enum  OutdoorPvPTF_TowerType {
  TF_TOWER_NW = 0 ,
  TF_TOWER_N ,
  TF_TOWER_NE ,
  TF_TOWER_SE ,
  TF_TOWER_S ,
  TF_TOWER_NUM
}
 
enum  TFWorldStates {
  TF_UI_TOWER_SLIDER_POS = 0xa41 ,
  TF_UI_TOWER_SLIDER_N = 0xa40 ,
  TF_UI_TOWER_SLIDER_DISPLAY = 0xa3f ,
  TF_UI_TOWER_COUNT_H = 0xa3e ,
  TF_UI_TOWER_COUNT_A = 0xa3d ,
  TF_UI_TOWERS_CONTROLLED_DISPLAY = 0xa3c ,
  TF_UI_LOCKED_TIME_MINUTES_FIRST_DIGIT = 0x9d0 ,
  TF_UI_LOCKED_TIME_MINUTES_SECOND_DIGIT = 0x9ce ,
  TF_UI_LOCKED_TIME_HOURS = 0x9cd ,
  TF_UI_LOCKED_DISPLAY_NEUTRAL = 0x9cc ,
  TF_UI_LOCKED_DISPLAY_HORDE = 0xad0 ,
  TF_UI_LOCKED_DISPLAY_ALLIANCE = 0xacf
}
 
enum  TFTowerStates {
  TF_TOWERSTATE_N = 1 ,
  TF_TOWERSTATE_H = 2 ,
  TF_TOWERSTATE_A = 4
}
 

Variables

const uint8 OutdoorPvPTFBuffZonesNum = 5
 
const uint32 OutdoorPvPTFBuffZones [OutdoorPvPTFBuffZonesNum]
 
const uint32 TF_LOCK_TIME = 6 * HOUR * IN_MILLISECONDS
 
const uint32 TF_LOCK_TIME_UPDATE = 15 * IN_MILLISECONDS
 
const uint32 TF_ALLY_QUEST = 11505
 
const uint32 TF_HORDE_QUEST = 11506
 
const go_type TFCapturePoints [TF_TOWER_NUM]
 
const tf_tower_world_state TFTowerWorldStates [TF_TOWER_NUM]
 

Macro Definition Documentation

◆ TF_CAPTURE_BUFF

#define TF_CAPTURE_BUFF   33377

Enumeration Type Documentation

◆ OutdoorPvPTF_TowerType

Enumerator
TF_TOWER_NW 
TF_TOWER_N 
TF_TOWER_NE 
TF_TOWER_SE 
TF_TOWER_S 
TF_TOWER_NUM 
47{
48 TF_TOWER_NW = 0,
54};
@ TF_TOWER_SE
Definition: OutdoorPvPTF.h:51
@ TF_TOWER_N
Definition: OutdoorPvPTF.h:49
@ TF_TOWER_NE
Definition: OutdoorPvPTF.h:50
@ TF_TOWER_NW
Definition: OutdoorPvPTF.h:48
@ TF_TOWER_NUM
Definition: OutdoorPvPTF.h:53
@ TF_TOWER_S
Definition: OutdoorPvPTF.h:52

◆ TFTowerStates

Enumerator
TF_TOWERSTATE_N 
TF_TOWERSTATE_H 
TF_TOWERSTATE_A 
118{
119 TF_TOWERSTATE_N = 1,
120 TF_TOWERSTATE_H = 2,
122};
@ TF_TOWERSTATE_H
Definition: OutdoorPvPTF.h:120
@ TF_TOWERSTATE_N
Definition: OutdoorPvPTF.h:119
@ TF_TOWERSTATE_A
Definition: OutdoorPvPTF.h:121

◆ TFWorldStates

Enumerator
TF_UI_TOWER_SLIDER_POS 
TF_UI_TOWER_SLIDER_N 
TF_UI_TOWER_SLIDER_DISPLAY 
TF_UI_TOWER_COUNT_H 
TF_UI_TOWER_COUNT_A 
TF_UI_TOWERS_CONTROLLED_DISPLAY 
TF_UI_LOCKED_TIME_MINUTES_FIRST_DIGIT 
TF_UI_LOCKED_TIME_MINUTES_SECOND_DIGIT 
TF_UI_LOCKED_TIME_HOURS 
TF_UI_LOCKED_DISPLAY_NEUTRAL 
TF_UI_LOCKED_DISPLAY_HORDE 
TF_UI_LOCKED_DISPLAY_ALLIANCE 
100{
102 TF_UI_TOWER_SLIDER_N = 0xa40,
104
105 TF_UI_TOWER_COUNT_H = 0xa3e,
106 TF_UI_TOWER_COUNT_A = 0xa3d,
108
115};
@ TF_UI_TOWER_SLIDER_DISPLAY
Definition: OutdoorPvPTF.h:103
@ TF_UI_TOWER_SLIDER_POS
Definition: OutdoorPvPTF.h:101
@ TF_UI_LOCKED_TIME_MINUTES_FIRST_DIGIT
Definition: OutdoorPvPTF.h:109
@ TF_UI_LOCKED_DISPLAY_ALLIANCE
Definition: OutdoorPvPTF.h:114
@ TF_UI_LOCKED_TIME_MINUTES_SECOND_DIGIT
Definition: OutdoorPvPTF.h:110
@ TF_UI_LOCKED_DISPLAY_NEUTRAL
Definition: OutdoorPvPTF.h:112
@ TF_UI_TOWER_SLIDER_N
Definition: OutdoorPvPTF.h:102
@ TF_UI_LOCKED_DISPLAY_HORDE
Definition: OutdoorPvPTF.h:113
@ TF_UI_TOWER_COUNT_H
Definition: OutdoorPvPTF.h:105
@ TF_UI_TOWERS_CONTROLLED_DISPLAY
Definition: OutdoorPvPTF.h:107
@ TF_UI_TOWER_COUNT_A
Definition: OutdoorPvPTF.h:106
@ TF_UI_LOCKED_TIME_HOURS
Definition: OutdoorPvPTF.h:111

Variable Documentation

◆ OutdoorPvPTFBuffZones

const uint32 OutdoorPvPTFBuffZones[OutdoorPvPTFBuffZonesNum]
Initial value:
=
{
3519 ,
3791 ,
3789 ,
3792 ,
3790
}

Referenced by OPvPCapturePointTF::ChangeState(), and OutdoorPvPTF::SetupOutdoorPvP().

◆ OutdoorPvPTFBuffZonesNum

const uint8 OutdoorPvPTFBuffZonesNum = 5

◆ TF_ALLY_QUEST

const uint32 TF_ALLY_QUEST = 11505

◆ TF_HORDE_QUEST

const uint32 TF_HORDE_QUEST = 11506

◆ TF_LOCK_TIME

◆ TF_LOCK_TIME_UPDATE

const uint32 TF_LOCK_TIME_UPDATE = 15 * IN_MILLISECONDS

Referenced by OutdoorPvPTF::Update().

◆ TFCapturePoints

const go_type TFCapturePoints[TF_TOWER_NUM]
Initial value:
=
{
{183104, 530, -3081.65f, 5335.03f, 17.1853f, -2.14675f, 0.0f, 0.0f, 0.878817f, -0.477159f},
{183411, 530, -2939.9f, 4788.73f, 18.987f, 2.77507f, 0.0f, 0.0f, 0.983255f, 0.182236f},
{183412, 530, -3174.94f, 4440.97f, 16.2281f, 1.86750f, 0.0f, 0.0f, 0.803857f, 0.594823f},
{183413, 530, -3603.31f, 4529.15f, 20.9077f, 0.994838f, 0.0f, 0.0f, 0.477159f, 0.878817f},
{183414, 530, -3812.37f, 4899.3f, 17.7249f, 0.087266f, 0.0f, 0.0f, 0.043619f, 0.999048f}
}

Referenced by OPvPCapturePointTF::OPvPCapturePointTF().

◆ TFTowerWorldStates

const tf_tower_world_state TFTowerWorldStates[TF_TOWER_NUM]
Initial value:
=
{
{0xa79, 0xa7a, 0xa7b},
{0xa7e, 0xa7d, 0xa7c},
{0xa82, 0xa81, 0xa80},
{0xa88, 0xa87, 0xa86},
{0xa85, 0xa84, 0xa83}
}

Referenced by OPvPCapturePointTF::FillInitialWorldStates(), OutdoorPvPTF::SendRemoveWorldStates(), and OPvPCapturePointTF::UpdateTowerState().