TrinityCore
OPvPCapturePointNA Class Reference

#include <OutdoorPvPNA.h>

+ Inheritance diagram for OPvPCapturePointNA:

Public Member Functions

 OPvPCapturePointNA (OutdoorPvP *pvp)
 
void Update (uint32 diff) override
 
void ChangeState () override
 
bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go) override
 
int32 HandleOpenGo (Player *player, GameObject *go) override
 
uint32 GetAliveGuardsCount () const
 
Team GetControllingFaction () const
 
void FactionTakeOver (Team team)
 
void UpdateWyvernRoostWorldState (uint32 roost)
 
void SetControlZoneGUID (ObjectGuid guid)
 
- Public Member Functions inherited from OPvPCapturePoint
 OPvPCapturePoint (OutdoorPvP *pvp)
 
virtual ~OPvPCapturePoint ()
 
 OPvPCapturePoint (OPvPCapturePoint const &right)=delete
 
 OPvPCapturePoint (OPvPCapturePoint &&right)=delete
 
OPvPCapturePointoperator= (OPvPCapturePoint const &right)=delete
 
OPvPCapturePointoperator= (OPvPCapturePoint &&right)=delete
 
virtual void Update (uint32 diff)
 
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
 
virtual int32 HandleOpenGo (Player *player, GameObject *go)
 
virtual void ChangeState ()=0
 
virtual void ChangeTeam (TeamId)
 
virtual bool HandleDropFlag (Player *, uint32)
 

Private Attributes

bool m_capturable
 
uint32 m_GuardsAlive
 
Team m_ControllingFaction
 
uint32 m_WyvernStateNorth
 
uint32 m_WyvernStateSouth
 
uint32 m_WyvernStateEast
 
uint32 m_WyvernStateWest
 
uint32 m_RespawnTimer
 
uint32 m_GuardCheckTimer
 
ObjectGuid _controlZoneGUID
 

Additional Inherited Members

- Protected Attributes inherited from OPvPCapturePoint
TeamId m_team
 
ObjectiveStates m_OldState
 
ObjectiveStates m_State
 
OutdoorPvPm_PvP
 

Detailed Description

Definition at line 150 of file OutdoorPvPNA.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointNA()

OPvPCapturePointNA::OPvPCapturePointNA ( OutdoorPvP pvp)

Definition at line 210 of file OutdoorPvPNA.cpp.

Member Function Documentation

◆ ChangeState()

void OPvPCapturePointNA::ChangeState ( )
inlineoverridevirtual

Implements OPvPCapturePoint.

Definition at line 156 of file OutdoorPvPNA.h.

◆ FactionTakeOver()

void OPvPCapturePointNA::FactionTakeOver ( Team  team)

Definition at line 172 of file OutdoorPvPNA.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAliveGuardsCount()

uint32 OPvPCapturePointNA::GetAliveGuardsCount ( ) const

Definition at line 155 of file OutdoorPvPNA.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetControllingFaction()

Team OPvPCapturePointNA::GetControllingFaction ( ) const

Definition at line 167 of file OutdoorPvPNA.cpp.

+ Here is the caller graph for this function:

◆ HandleCustomSpell()

bool OPvPCapturePointNA::HandleCustomSpell ( Player player,
uint32  spellId,
GameObject go 
)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 282 of file OutdoorPvPNA.cpp.

+ Here is the call graph for this function:

◆ HandleOpenGo()

int32 OPvPCapturePointNA::HandleOpenGo ( Player player,
GameObject go 
)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 357 of file OutdoorPvPNA.cpp.

+ Here is the call graph for this function:

◆ SetControlZoneGUID()

void OPvPCapturePointNA::SetControlZoneGUID ( ObjectGuid  guid)
inline

Definition at line 165 of file OutdoorPvPNA.h.

+ Here is the caller graph for this function:

◆ Update()

void OPvPCapturePointNA::Update ( uint32  diff)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 432 of file OutdoorPvPNA.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateWyvernRoostWorldState()

void OPvPCapturePointNA::UpdateWyvernRoostWorldState ( uint32  roost)

Definition at line 473 of file OutdoorPvPNA.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _controlZoneGUID

ObjectGuid OPvPCapturePointNA::_controlZoneGUID
private

Definition at line 176 of file OutdoorPvPNA.h.

◆ m_capturable

bool OPvPCapturePointNA::m_capturable
private

Definition at line 167 of file OutdoorPvPNA.h.

◆ m_ControllingFaction

Team OPvPCapturePointNA::m_ControllingFaction
private

Definition at line 169 of file OutdoorPvPNA.h.

◆ m_GuardCheckTimer

uint32 OPvPCapturePointNA::m_GuardCheckTimer
private

Definition at line 175 of file OutdoorPvPNA.h.

◆ m_GuardsAlive

uint32 OPvPCapturePointNA::m_GuardsAlive
private

Definition at line 168 of file OutdoorPvPNA.h.

◆ m_RespawnTimer

uint32 OPvPCapturePointNA::m_RespawnTimer
private

Definition at line 174 of file OutdoorPvPNA.h.

◆ m_WyvernStateEast

uint32 OPvPCapturePointNA::m_WyvernStateEast
private

Definition at line 172 of file OutdoorPvPNA.h.

◆ m_WyvernStateNorth

uint32 OPvPCapturePointNA::m_WyvernStateNorth
private

Definition at line 170 of file OutdoorPvPNA.h.

◆ m_WyvernStateSouth

uint32 OPvPCapturePointNA::m_WyvernStateSouth
private

Definition at line 171 of file OutdoorPvPNA.h.

◆ m_WyvernStateWest

uint32 OPvPCapturePointNA::m_WyvernStateWest
private

Definition at line 173 of file OutdoorPvPNA.h.


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