TrinityCore
Loading...
Searching...
No Matches
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
 
OPvPCapturePoint & operator= (OPvPCapturePoint const &right)=delete
 
OPvPCapturePoint & operator= (OPvPCapturePoint &&right)=delete
 
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
 
virtual void ChangeTeam (TeamId)
 

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
 
OutdoorPvP * m_PvP
 

Detailed Description

Definition at line 155 of file OutdoorPvPZM.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointZM_Graveyard()

OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard ( OutdoorPvP *  pvp)

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

◆ GetGraveyardState()

uint32 OPvPCapturePointZM_Graveyard::GetGraveyardState ( ) const

Definition at line 310 of file OutdoorPvPZM.cpp.

References m_GraveyardState.

◆ HandleDropFlag()

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

Reimplemented from OPvPCapturePoint.

Definition at line 296 of file OutdoorPvPZM.cpp.

References ObjectGuid::Clear(), m_FlagCarrierGUID, ZM_BATTLE_STANDARD_A, and ZM_BATTLE_STANDARD_H.

◆ HandleOpenGo()

◆ SetBeaconState()

◆ SetFlagCarrierGUID()

void OPvPCapturePointZM_Graveyard::SetFlagCarrierGUID ( ObjectGuid  guid)
inline

Definition at line 170 of file OutdoorPvPZM.h.

References m_FlagCarrierGUID.

Referenced by npc_zm_field_scout::OnGossipSelect().

◆ Update()

void OPvPCapturePointZM_Graveyard::Update ( uint32  diff)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 196 of file OutdoorPvPZM.cpp.

References OPvPCapturePoint::m_OldState, and OPvPCapturePoint::m_State.

◆ UpdateTowerState()

Member Data Documentation

◆ m_BothControllingFaction

uint32 OPvPCapturePointZM_Graveyard::m_BothControllingFaction
protected

Definition at line 173 of file OutdoorPvPZM.h.

Referenced by OPvPCapturePointZM_Graveyard(), SetBeaconState(), and UpdateTowerState().

◆ m_FlagCarrierGUID

ObjectGuid OPvPCapturePointZM_Graveyard::m_FlagCarrierGUID
protected

◆ m_GraveyardState

uint32 OPvPCapturePointZM_Graveyard::m_GraveyardState
protected

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