TrinityCore
OPvPCapturePointZM_Graveyard Class Reference

#include <OutdoorPvPZM.h>

+ Inheritance diagram for OPvPCapturePointZM_Graveyard:

Public Member Functions

 OPvPCapturePointZM_Graveyard (OutdoorPvP *pvp)
 
void Update (uint32 diff) override
 
void ChangeState () override
 
int32 HandleOpenGo (Player *player, GameObject *go) override
 
bool HandleDropFlag (Player *player, uint32 spellId) override
 
void UpdateTowerState ()
 
void SetBeaconState (uint32 controlling_team)
 
uint32 GetGraveyardState () const
 
ObjectGuid GetFlagCarrierGUID () const
 
void SetFlagCarrierGUID (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)
 

Protected Attributes

uint32 m_BothControllingFaction
 
ObjectGuid m_FlagCarrierGUID
 
uint32 m_GraveyardState
 
- Protected Attributes inherited from OPvPCapturePoint
TeamId m_team
 
ObjectiveStates m_OldState
 
ObjectiveStates m_State
 
OutdoorPvPm_PvP
 

Detailed Description

Definition at line 155 of file OutdoorPvPZM.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointZM_Graveyard()

OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard ( OutdoorPvP pvp)

Definition at line 230 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ ChangeState()

void OPvPCapturePointZM_Graveyard::ChangeState ( )
inlineoverridevirtual

Implements OPvPCapturePoint.

Definition at line 161 of file OutdoorPvPZM.h.

◆ GetFlagCarrierGUID()

ObjectGuid OPvPCapturePointZM_Graveyard::GetFlagCarrierGUID ( ) const
inline

Definition at line 169 of file OutdoorPvPZM.h.

+ Here is the caller graph for this function:

◆ GetGraveyardState()

uint32 OPvPCapturePointZM_Graveyard::GetGraveyardState ( ) const

Definition at line 311 of file OutdoorPvPZM.cpp.

+ Here is the caller graph for this function:

◆ HandleDropFlag()

bool OPvPCapturePointZM_Graveyard::HandleDropFlag ( Player player,
uint32  spellId 
)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 297 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

◆ HandleOpenGo()

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

Reimplemented from OPvPCapturePoint.

Definition at line 202 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

◆ SetBeaconState()

void OPvPCapturePointZM_Graveyard::SetBeaconState ( uint32  controlling_team)

Definition at line 252 of file OutdoorPvPZM.cpp.

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

◆ SetFlagCarrierGUID()

void OPvPCapturePointZM_Graveyard::SetFlagCarrierGUID ( ObjectGuid  guid)
inline

Definition at line 170 of file OutdoorPvPZM.h.

+ Here is the caller graph for this function:

◆ Update()

void OPvPCapturePointZM_Graveyard::Update ( uint32  diff)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 197 of file OutdoorPvPZM.cpp.

◆ UpdateTowerState()

void OPvPCapturePointZM_Graveyard::UpdateTowerState ( )

Definition at line 237 of file OutdoorPvPZM.cpp.

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

Member Data Documentation

◆ m_BothControllingFaction

uint32 OPvPCapturePointZM_Graveyard::m_BothControllingFaction
protected

Definition at line 173 of file OutdoorPvPZM.h.

◆ m_FlagCarrierGUID

ObjectGuid OPvPCapturePointZM_Graveyard::m_FlagCarrierGUID
protected

Definition at line 174 of file OutdoorPvPZM.h.

◆ m_GraveyardState

uint32 OPvPCapturePointZM_Graveyard::m_GraveyardState
protected

Definition at line 175 of file OutdoorPvPZM.h.


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