TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
OutdoorPvPTF.h File Reference
#include "OutdoorPvP.h"
+ Include dependency graph for OutdoorPvPTF.h:
+ This graph shows which files directly or indirectly include this file:

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  DefenseMessages {
  TEXT_OVERLOOK_TAKEN_ALLIANCE = 14841, TEXT_OVERLOOK_TAKEN_HORDE = 14842, TEXT_STADIUM_TAKEN_ALLIANCE = 14843, TEXT_STADIUM_TAKEN_HORDE = 14844,
  TEXT_BROKEN_HILL_TAKEN_ALLIANCE = 14845, TEXT_BROKEN_HILL_TAKEN_HORDE = 14846, TEXT_ALL_GUARDS_DEFEATED = 15017, TEXT_HALAA_TAKEN_ALLIANCE = 15018,
  TEXT_HALAA_TAKEN_HORDE = 15019, TEXT_HALAA_DEFENSELESS = 15020, TEXT_HALAA_GAINING_CONTROL_HORDE = 15493, TEXT_HALAA_GAINING_CONTROL_ALLIANCE = 15494,
  TEXT_BONE_WASTES_TAKEN_ALLIANCE = 16120, TEXT_BONE_WASTES_TAKEN_HORDE = 16119, TEXT_SPIRIT_TOWER_TAKEN_ALLIANCE = 18285, TEXT_SPIRIT_TOWER_TAKEN_HORDE = 18286,
  TEXT_SPIRIT_TOWER_LOSE_ALLIANCE = 18288, TEXT_SPIRIT_TOWER_LOSE_HORDE = 18287, TEXT_WEST_BEACON_TAKEN_ALLIANCE = 15541, TEXT_WEST_BEACON_TAKEN_HORDE = 15543,
  TEXT_EAST_BEACON_TAKEN_ALLIANCE = 15546, TEXT_EAST_BEACON_TAKEN_HORDE = 15545, TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE = 15591, TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE = 15590,
  TEXT_BOTH_BEACONS_TAKEN_ALLIANCE = 16284, TEXT_BOTH_BEACONS_TAKEN_HORDE = 16285, TEXT_BATTLE_STANDARDS_ALLIANCE = 16287, TEXT_BATTLE_STANDARDS_HORDE = 16288
}
 
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_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 = 3600 * 6 * 1000
 
const uint32 TF_LOCK_TIME_UPDATE = 15000
 
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]
 
const uint32 TFTowerPlayerEnterEvents [TF_TOWER_NUM]
 
const uint32 TFTowerPlayerLeaveEvents [TF_TOWER_NUM]
 

Macro Definition Documentation

#define TF_CAPTURE_BUFF   33377

Enumeration Type Documentation

Enumerator
TEXT_OVERLOOK_TAKEN_ALLIANCE 
TEXT_OVERLOOK_TAKEN_HORDE 
TEXT_STADIUM_TAKEN_ALLIANCE 
TEXT_STADIUM_TAKEN_HORDE 
TEXT_BROKEN_HILL_TAKEN_ALLIANCE 
TEXT_BROKEN_HILL_TAKEN_HORDE 
TEXT_ALL_GUARDS_DEFEATED 
TEXT_HALAA_TAKEN_ALLIANCE 
TEXT_HALAA_TAKEN_HORDE 
TEXT_HALAA_DEFENSELESS 
TEXT_HALAA_GAINING_CONTROL_HORDE 
TEXT_HALAA_GAINING_CONTROL_ALLIANCE 
TEXT_BONE_WASTES_TAKEN_ALLIANCE 
TEXT_BONE_WASTES_TAKEN_HORDE 
TEXT_SPIRIT_TOWER_TAKEN_ALLIANCE 
TEXT_SPIRIT_TOWER_TAKEN_HORDE 
TEXT_SPIRIT_TOWER_LOSE_ALLIANCE 
TEXT_SPIRIT_TOWER_LOSE_HORDE 
TEXT_WEST_BEACON_TAKEN_ALLIANCE 
TEXT_WEST_BEACON_TAKEN_HORDE 
TEXT_EAST_BEACON_TAKEN_ALLIANCE 
TEXT_EAST_BEACON_TAKEN_HORDE 
TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE 
TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE 
TEXT_BOTH_BEACONS_TAKEN_ALLIANCE 
TEXT_BOTH_BEACONS_TAKEN_HORDE 
TEXT_BATTLE_STANDARDS_ALLIANCE 
TEXT_BATTLE_STANDARDS_HORDE 
24 {
25  TEXT_BONE_WASTES_TAKEN_ALLIANCE = 16120, // (NYI) '|cffffff00The Alliance has taken control of The Bone Wastes!|r'
26  TEXT_BONE_WASTES_TAKEN_HORDE = 16119, // (NYI) '|cffffff00The Horde has taken control of The Bone Wastes!|r'
27  TEXT_SPIRIT_TOWER_TAKEN_ALLIANCE = 18285, // '|cffffff00The Alliance has taken control of a Spirit Tower!|r'
28  TEXT_SPIRIT_TOWER_TAKEN_HORDE = 18286, // '|cffffff00The Horde has taken control of a Spirit Tower!|r'
29  TEXT_SPIRIT_TOWER_LOSE_ALLIANCE = 18288, // '|cffffff00The Alliance has lost control of a Spirit Tower!|r'
30  TEXT_SPIRIT_TOWER_LOSE_HORDE = 18287 // '|cffffff00The Horde has lost control of a Spirit Tower!|r'
31 };
Definition: OutdoorPvPTF.h:25
Definition: OutdoorPvPTF.h:30
Definition: OutdoorPvPTF.h:26
Definition: OutdoorPvPTF.h:29
Definition: OutdoorPvPTF.h:28
Definition: OutdoorPvPTF.h:27
Enumerator
TF_TOWER_NW 
TF_TOWER_N 
TF_TOWER_NE 
TF_TOWER_SE 
TF_TOWER_S 
TF_TOWER_NUM 
57 {
58  TF_TOWER_NW = 0,
59  TF_TOWER_N,
62  TF_TOWER_S,
64 };
Definition: OutdoorPvPTF.h:62
Definition: OutdoorPvPTF.h:63
Definition: OutdoorPvPTF.h:61
Definition: OutdoorPvPTF.h:60
Definition: OutdoorPvPTF.h:58
Definition: OutdoorPvPTF.h:59
Enumerator
TF_TOWERSTATE_N 
TF_TOWERSTATE_H 
TF_TOWERSTATE_A 
124 {
125  TF_TOWERSTATE_N = 1,
126  TF_TOWERSTATE_H = 2,
127  TF_TOWERSTATE_A = 4
128 };
Definition: OutdoorPvPTF.h:125
Definition: OutdoorPvPTF.h:126
Definition: OutdoorPvPTF.h:127
Enumerator
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 
110 {
111  TF_UI_TOWER_COUNT_H = 0xa3e,
112  TF_UI_TOWER_COUNT_A = 0xa3d,
114 
117  TF_UI_LOCKED_TIME_HOURS = 0x9cd,
121 };
Definition: OutdoorPvPTF.h:116
Definition: OutdoorPvPTF.h:120
Definition: OutdoorPvPTF.h:112
Definition: OutdoorPvPTF.h:111
Definition: OutdoorPvPTF.h:119
Definition: OutdoorPvPTF.h:115
Definition: OutdoorPvPTF.h:118
Definition: OutdoorPvPTF.h:117
Definition: OutdoorPvPTF.h:113

Variable Documentation

const uint32 OutdoorPvPTFBuffZones[OutdoorPvPTFBuffZonesNum]
Initial value:
=
{
3519 ,
3791 ,
3789 ,
3792 ,
3790
}
const uint8 OutdoorPvPTFBuffZonesNum = 5
const uint32 TF_ALLY_QUEST = 11505
const uint32 TF_HORDE_QUEST = 11506
const uint32 TF_LOCK_TIME = 3600 * 6 * 1000
const uint32 TF_LOCK_TIME_UPDATE = 15000
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}
}
const uint32 TFTowerPlayerEnterEvents[TF_TOWER_NUM]
Initial value:
=
{
12226,
12497,
12486,
12499,
12501
}
const uint32 TFTowerPlayerLeaveEvents[TF_TOWER_NUM]
Initial value:
=
{
12225,
12496,
12487,
12498,
12500
}
Initial value:
=
{
{0xa79, 0xa7a, 0xa7b},
{0xa7e, 0xa7d, 0xa7c},
{0xa82, 0xa81, 0xa80},
{0xa88, 0xa87, 0xa86},
{0xa85, 0xa84, 0xa83}
}