TrinityCore
Loading...
Searching...
No Matches
OPvPCapturePointZM_Graveyard Class Reference

#include <OutdoorPvPZM.h>

+ Inheritance diagram for OPvPCapturePointZM_Graveyard:

Public Member Functions

 OPvPCapturePointZM_Graveyard (OutdoorPvP *pvp)
 
bool Update (uint32 diff) override
 
void ChangeState () override
 
void FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &packet) override
 
int32 HandleOpenGo (Player *player, GameObject *go) override
 
bool HandleGossipOption (Player *player, Creature *creature, uint32 gossipid) override
 
bool HandleDropFlag (Player *player, uint32 spellId) override
 
bool CanTalkTo (Player *player, Creature *creature, GossipMenuItems const &gso) override
 
void UpdateTowerState ()
 
void SetBeaconState (uint32 controlling_team)
 
uint32 GetGraveyardState () const
 
- Public Member Functions inherited from OPvPCapturePoint
 OPvPCapturePoint (OutdoorPvP *pvp)
 
virtual ~OPvPCapturePoint ()
 
void SendUpdateWorldState (uint32 field, uint32 value)
 
void SendObjectiveComplete (uint32 id, ObjectGuid guid)
 
virtual bool HandlePlayerEnter (Player *player)
 
virtual void HandlePlayerLeave (Player *player)
 
bool IsInsideObjective (Player *player) const
 
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
 
virtual void ChangeTeam (TeamId)
 
virtual void SendChangePhase ()
 
virtual void DeleteSpawns ()
 
void AddGO (uint32 type, ObjectGuid::LowType guid, uint32 entry=0)
 
void AddCre (uint32 type, ObjectGuid::LowType guid, uint32 entry=0)
 
bool SetCapturePointData (uint32 entry, uint32 map, Position const &pos, QuaternionData const &rot)
 

Protected Attributes

uint32 m_BothControllingFaction
 
ObjectGuid m_FlagCarrierGUID
 
uint32 m_GraveyardState
 
- Protected Attributes inherited from OPvPCapturePoint
GuidSet m_activePlayers [2]
 
float m_maxValue
 
float m_minValue
 
float m_maxSpeed
 
float m_value
 
TeamId m_team
 
ObjectiveStates m_OldState
 
ObjectiveStates m_State
 
uint32 m_neutralValuePct
 
OutdoorPvP * m_PvP
 
std::map< uint32, ObjectGuid::LowType > m_Objects
 
std::map< uint32, ObjectGuid::LowType > m_Creatures
 
std::map< ObjectGuid::LowType, uint32 > m_ObjectTypes
 
std::map< ObjectGuid::LowType, uint32 > m_CreatureTypes
 

Additional Inherited Members

- Public Attributes inherited from OPvPCapturePoint
ObjectGuid::LowType m_capturePointSpawnId
 
GameObject * m_capturePoint
 
- Protected Member Functions inherited from OPvPCapturePoint
bool AddObject (uint32 type, uint32 entry, uint32 map, Position const &pos, QuaternionData const &rot)
 
bool AddCreature (uint32 type, uint32 entry, uint32 map, Position const &pos, TeamId teamId=TEAM_NEUTRAL, uint32 spawntimedelay=0)
 
bool DelObject (uint32 type)
 
bool DelCreature (uint32 type)
 
bool DelCapturePoint ()
 

Detailed Description

Definition at line 121 of file OutdoorPvPZM.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointZM_Graveyard()

Member Function Documentation

◆ CanTalkTo()

bool OPvPCapturePointZM_Graveyard::CanTalkTo ( Player *  player,
Creature *  creature,
GossipMenuItems const &  gso 
)
overridevirtual

◆ ChangeState()

void OPvPCapturePointZM_Graveyard::ChangeState ( )
inlineoverridevirtual

Implements OPvPCapturePoint.

Definition at line 127 of file OutdoorPvPZM.h.

◆ FillInitialWorldStates()

◆ GetGraveyardState()

uint32 OPvPCapturePointZM_Graveyard::GetGraveyardState ( ) const

Definition at line 410 of file OutdoorPvPZM.cpp.

References m_GraveyardState.

Referenced by OutdoorPvPZM::HandlePlayerEnterZone().

◆ HandleDropFlag()

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

Reimplemented from OPvPCapturePoint.

Definition at line 396 of file OutdoorPvPZM.cpp.

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

◆ HandleGossipOption()

◆ HandleOpenGo()

◆ SetBeaconState()

◆ Update()

bool OPvPCapturePointZM_Graveyard::Update ( uint32  diff)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 237 of file OutdoorPvPZM.cpp.

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

◆ UpdateTowerState()

Member Data Documentation

◆ m_BothControllingFaction

uint32 OPvPCapturePointZM_Graveyard::m_BothControllingFaction
protected

◆ 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: