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
 
OutdoorPvPm_PvP
 
std::map< uint32, ObjectGuid::LowTypem_Objects
 
std::map< uint32, ObjectGuid::LowTypem_Creatures
 
std::map< ObjectGuid::LowType, uint32m_ObjectTypes
 
std::map< ObjectGuid::LowType, uint32m_CreatureTypes
 

Additional Inherited Members

- Public Attributes inherited from OPvPCapturePoint
ObjectGuid::LowType m_capturePointSpawnId
 
GameObjectm_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()

OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard ( OutdoorPvP pvp)

Definition at line 276 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ CanTalkTo()

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

Reimplemented from OPvPCapturePoint.

Definition at line 356 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

◆ ChangeState()

void OPvPCapturePointZM_Graveyard::ChangeState ( )
inlineoverridevirtual

Implements OPvPCapturePoint.

Definition at line 127 of file OutdoorPvPZM.h.

◆ FillInitialWorldStates()

void OPvPCapturePointZM_Graveyard::FillInitialWorldStates ( WorldPackets::WorldState::InitWorldStates packet)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 300 of file OutdoorPvPZM.cpp.

◆ GetGraveyardState()

uint32 OPvPCapturePointZM_Graveyard::GetGraveyardState ( ) const

Definition at line 410 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 396 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

◆ HandleGossipOption()

bool OPvPCapturePointZM_Graveyard::HandleGossipOption ( Player player,
Creature creature,
uint32  gossipid 
)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 370 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 244 of file OutdoorPvPZM.cpp.

+ Here is the call graph for this function:

◆ SetBeaconState()

void OPvPCapturePointZM_Graveyard::SetBeaconState ( uint32  controlling_team)

Definition at line 311 of file OutdoorPvPZM.cpp.

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

◆ Update()

bool OPvPCapturePointZM_Graveyard::Update ( uint32  diff)
overridevirtual

Reimplemented from OPvPCapturePoint.

Definition at line 237 of file OutdoorPvPZM.cpp.

◆ UpdateTowerState()

void OPvPCapturePointZM_Graveyard::UpdateTowerState ( )

Definition at line 288 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 139 of file OutdoorPvPZM.h.

◆ m_FlagCarrierGUID

ObjectGuid OPvPCapturePointZM_Graveyard::m_FlagCarrierGUID
protected

Definition at line 140 of file OutdoorPvPZM.h.

◆ m_GraveyardState

uint32 OPvPCapturePointZM_Graveyard::m_GraveyardState
protected

Definition at line 141 of file OutdoorPvPZM.h.


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