TrinityCore
Loading...
Searching...
No Matches
OutdoorPvPTF.cpp File Reference
#include "GameObject.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "OutdoorPvPMgr.h"
#include "OutdoorPvPTF.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "WorldStatePackets.h"
+ Include dependency graph for OutdoorPvPTF.cpp:

Go to the source code of this file.

Classes

struct  tf_tower_world_state
 
class  OutdoorPvP_terokkar_forest
 

Functions

void AddSC_outdoorpvp_tf ()
 

Variables

uint8 const OutdoorPvPTFBuffZonesNum = 5
 
uint32 const OutdoorPvPTFBuffZones [OutdoorPvPTFBuffZonesNum]
 
uint32 const TF_LOCK_TIME = 3600 * 6 * 1000
 
uint32 const TF_LOCK_TIME_UPDATE = 15000
 
int32 const TF_CAPTURE_BUFF = 33377
 
uint32 const TF_ALLY_QUEST = 11505
 
uint32 const TF_HORDE_QUEST = 11506
 
go_type const TFCapturePoints [TF_TOWER_NUM]
 
tf_tower_world_state const TFTowerWorldStates [TF_TOWER_NUM]
 

Function Documentation

◆ AddSC_outdoorpvp_tf()

void AddSC_outdoorpvp_tf ( )

Definition at line 393 of file OutdoorPvPTF.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ OutdoorPvPTFBuffZones

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

Definition at line 28 of file OutdoorPvPTF.cpp.

◆ OutdoorPvPTFBuffZonesNum

uint8 const OutdoorPvPTFBuffZonesNum = 5

Definition at line 27 of file OutdoorPvPTF.cpp.

◆ TF_ALLY_QUEST

uint32 const TF_ALLY_QUEST = 11505

Definition at line 46 of file OutdoorPvPTF.cpp.

◆ TF_CAPTURE_BUFF

int32 const TF_CAPTURE_BUFF = 33377

Definition at line 44 of file OutdoorPvPTF.cpp.

◆ TF_HORDE_QUEST

uint32 const TF_HORDE_QUEST = 11506

Definition at line 47 of file OutdoorPvPTF.cpp.

◆ TF_LOCK_TIME

uint32 const TF_LOCK_TIME = 3600 * 6 * 1000

Definition at line 38 of file OutdoorPvPTF.cpp.

◆ TF_LOCK_TIME_UPDATE

uint32 const TF_LOCK_TIME_UPDATE = 15000

Definition at line 41 of file OutdoorPvPTF.cpp.

◆ TFCapturePoints

go_type const TFCapturePoints[TF_TOWER_NUM]
Initial value:
=
{
{ 183104, 530, { -3081.65f, 5335.03f, 17.1853f, -2.146750f }, { 0.0f, 0.0f, 0.878817f, -0.477159f } },
{ 183411, 530, { -2939.90f, 4788.73f, 18.9870f, 2.775070f }, { 0.0f, 0.0f, 0.983255f, 0.182236f } },
{ 183412, 530, { -3174.94f, 4440.97f, 16.2281f, 1.867500f }, { 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.30f, 17.7249f, 0.087266f }, { 0.0f, 0.0f, 0.043619f, 0.999048f } }
}

Definition at line 49 of file OutdoorPvPTF.cpp.

◆ TFTowerWorldStates

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

Definition at line 65 of file OutdoorPvPTF.cpp.