TrinityCore
Loading...
Searching...
No Matches
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
 
OPvPCapturePoint & operator= (OPvPCapturePoint const &right)=delete
 
OPvPCapturePoint & operator= (OPvPCapturePoint &&right)=delete
 
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
 
OutdoorPvP * m_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()

◆ GetAliveGuardsCount()

◆ GetControllingFaction()

Team OPvPCapturePointNA::GetControllingFaction ( ) const

Definition at line 167 of file OutdoorPvPNA.cpp.

References m_ControllingFaction.

Referenced by GetAliveGuardsCount().

◆ HandleCustomSpell()

◆ HandleOpenGo()

◆ SetControlZoneGUID()

void OPvPCapturePointNA::SetControlZoneGUID ( ObjectGuid  guid)
inline

Definition at line 165 of file OutdoorPvPNA.h.

References _controlZoneGUID.

◆ Update()

◆ UpdateWyvernRoostWorldState()

Member Data Documentation

◆ _controlZoneGUID

ObjectGuid OPvPCapturePointNA::_controlZoneGUID
private

Definition at line 176 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), SetControlZoneGUID(), and Update().

◆ m_capturable

bool OPvPCapturePointNA::m_capturable
private

Definition at line 167 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), and Update().

◆ m_ControllingFaction

Team OPvPCapturePointNA::m_ControllingFaction
private

Definition at line 169 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), GetControllingFaction(), and Update().

◆ m_GuardCheckTimer

uint32 OPvPCapturePointNA::m_GuardCheckTimer
private

Definition at line 175 of file OutdoorPvPNA.h.

Referenced by Update().

◆ m_GuardsAlive

uint32 OPvPCapturePointNA::m_GuardsAlive
private

Definition at line 168 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), and Update().

◆ m_RespawnTimer

uint32 OPvPCapturePointNA::m_RespawnTimer
private

Definition at line 174 of file OutdoorPvPNA.h.

Referenced by Update().

◆ m_WyvernStateEast

uint32 OPvPCapturePointNA::m_WyvernStateEast
private

Definition at line 172 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), HandleOpenGo(), and UpdateWyvernRoostWorldState().

◆ m_WyvernStateNorth

uint32 OPvPCapturePointNA::m_WyvernStateNorth
private

Definition at line 170 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), HandleOpenGo(), and UpdateWyvernRoostWorldState().

◆ m_WyvernStateSouth

uint32 OPvPCapturePointNA::m_WyvernStateSouth
private

Definition at line 171 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), HandleOpenGo(), and UpdateWyvernRoostWorldState().

◆ m_WyvernStateWest

uint32 OPvPCapturePointNA::m_WyvernStateWest
private

Definition at line 173 of file OutdoorPvPNA.h.

Referenced by FactionTakeOver(), HandleOpenGo(), and UpdateWyvernRoostWorldState().


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