Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
OPvPCapturePointTF Class Reference

#include <OutdoorPvPTF.h>

Inheritance diagram for OPvPCapturePointTF:
Collaboration diagram for OPvPCapturePointTF:

Public Member Functions

void ChangeState () OVERRIDE
void FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE
bool HandlePlayerEnter (Player *player) OVERRIDE
void HandlePlayerLeave (Player *player) OVERRIDE
 OPvPCapturePointTF (OutdoorPvP *pvp, OutdoorPvPTF_TowerType type)
void SendChangePhase () OVERRIDE
bool Update (uint32 diff) OVERRIDE
void UpdateTowerState ()
Public Member Functions inherited from OPvPCapturePoint
void AddCre (uint32 type, uint32 guid, uint32 entry=0)
void AddGO (uint32 type, uint32 guid, uint32 entry=0)
virtual bool CanTalkTo (Player *player, Creature *c, GossipMenuItems const &gso)
virtual void ChangeTeam (TeamId)
virtual void DeleteSpawns ()
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
virtual bool HandleDropFlag (Player *player, uint32 spellId)
virtual bool HandleGossipOption (Player *player, uint64 guid, uint32 gossipid)
virtual int32 HandleOpenGo (Player *player, uint64 guid)
bool IsInsideObjective (Player *player) const
 OPvPCapturePoint (OutdoorPvP *pvp)
void SendObjectiveComplete (uint32 id, uint64 guid)
void SendUpdateWorldState (uint32 field, uint32 value)
bool SetCapturePointData (uint32 entry, uint32 map, float x, float y, float z, float o=0, float rotation0=0, float rotation1=0, float rotation2=0, float rotation3=0)
virtual ~OPvPCapturePoint ()

Protected Attributes

uint32 m_TowerState
OutdoorPvPTF_TowerType m_TowerType
Protected Attributes inherited from OPvPCapturePoint
PlayerSet m_activePlayers [2]
std::map< uint32, uint64m_Creatures
std::map< uint64, uint32m_CreatureTypes
float m_maxSpeed
float m_maxValue
float m_minValue
uint32 m_neutralValuePct
std::map< uint32, uint64m_Objects
std::map< uint64, uint32m_ObjectTypes
ObjectiveStates m_OldState
OutdoorPvPm_PvP
ObjectiveStates m_State
TeamId m_team
float m_value

Additional Inherited Members

Public Attributes inherited from OPvPCapturePoint
GameObjectm_capturePoint
uint32 m_capturePointGUID
Protected Member Functions inherited from OPvPCapturePoint
bool AddCreature (uint32 type, uint32 entry, uint32 teamval, uint32 map, float x, float y, float z, float o, uint32 spawntimedelay=0)
bool AddObject (uint32 type, uint32 entry, uint32 map, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3)
bool DelCapturePoint ()
bool DelCreature (uint32 type)
bool DelObject (uint32 type)

Detailed Description

Definition at line 112 of file OutdoorPvPTF.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointTF()

Member Function Documentation

◆ ChangeState()

◆ FillInitialWorldStates()

void OPvPCapturePointTF::FillInitialWorldStates ( WorldStateBuilder & builder)
virtual

◆ HandlePlayerEnter()

◆ HandlePlayerLeave()

void OPvPCapturePointTF::HandlePlayerLeave ( Player * player)
virtual

◆ SendChangePhase()

◆ Update()

bool OPvPCapturePointTF::Update ( uint32 diff)
virtual

◆ UpdateTowerState()

void OPvPCapturePointTF::UpdateTowerState ( )

Member Data Documentation

◆ m_TowerState

uint32 OPvPCapturePointTF::m_TowerState
protected

◆ m_TowerType

OutdoorPvPTF_TowerType OPvPCapturePointTF::m_TowerType
protected

Definition at line 127 of file OutdoorPvPTF.h.

Referenced by FillInitialWorldStates(), OPvPCapturePointTF(), and UpdateTowerState().


The documentation for this class was generated from the following files: