Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
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

class  OPvPCapturePointTF
class  OutdoorPvPTF
struct  tf_tower_world_state

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  TFTowerStates { TF_TOWERSTATE_N = 1 , TF_TOWERSTATE_H = 2 , TF_TOWERSTATE_A = 4 }
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
}

Variables

const uint32 OutdoorPvPTFBuffZones [OutdoorPvPTFBuffZonesNum]
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]
const uint32 TFTowerPlayerEnterEvents [TF_TOWER_NUM]
const uint32 TFTowerPlayerLeaveEvents [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 

Definition at line 34 of file OutdoorPvPTF.h.

◆ TFTowerStates

Enumerator
TF_TOWERSTATE_N 
TF_TOWERSTATE_H 
TF_TOWERSTATE_A 

Definition at line 105 of file OutdoorPvPTF.h.

◆ 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 

Definition at line 87 of file OutdoorPvPTF.h.

Variable Documentation

◆ OutdoorPvPTFBuffZones

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

Definition at line 13 of file OutdoorPvPTF.h.

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

◆ OutdoorPvPTFBuffZonesNum

const uint8 OutdoorPvPTFBuffZonesNum = 5

Definition at line 11 of file OutdoorPvPTF.h.

Referenced by OutdoorPvPTF::SetupOutdoorPvP().

◆ TF_ALLY_QUEST

const uint32 TF_ALLY_QUEST = 11505

Definition at line 31 of file OutdoorPvPTF.h.

Referenced by OPvPCapturePointTF::ChangeState().

◆ TF_HORDE_QUEST

const uint32 TF_HORDE_QUEST = 11506

Definition at line 32 of file OutdoorPvPTF.h.

Referenced by OPvPCapturePointTF::ChangeState().

◆ TF_LOCK_TIME

const uint32 TF_LOCK_TIME = 3600 * 6 * 1000

◆ TF_LOCK_TIME_UPDATE

const uint32 TF_LOCK_TIME_UPDATE = 15000

Definition at line 26 of file OutdoorPvPTF.h.

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

Definition at line 44 of file OutdoorPvPTF.h.

Referenced by OPvPCapturePointTF::OPvPCapturePointTF().

◆ TFTowerPlayerEnterEvents

const uint32 TFTowerPlayerEnterEvents[TF_TOWER_NUM]
Initial value:
=
{
12226,
12497,
12486,
12499,
12501
}

Definition at line 69 of file OutdoorPvPTF.h.

◆ TFTowerPlayerLeaveEvents

const uint32 TFTowerPlayerLeaveEvents[TF_TOWER_NUM]
Initial value:
=
{
12225,
12496,
12487,
12498,
12500
}

Definition at line 78 of file OutdoorPvPTF.h.

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

Definition at line 60 of file OutdoorPvPTF.h.

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