Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
OPvPCapturePointZM_GraveYard Class Reference

#include <OutdoorPvPZM.h>

Inheritance diagram for OPvPCapturePointZM_GraveYard:
Collaboration diagram for OPvPCapturePointZM_GraveYard:

Public Member Functions

bool CanTalkTo (Player *player, Creature *creature, GossipMenuItems const &gso) OVERRIDE
void ChangeState () OVERRIDE
void FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE
uint32 GetGraveYardState () const
bool HandleDropFlag (Player *player, uint32 spellId) OVERRIDE
bool HandleGossipOption (Player *player, uint64 guid, uint32 gossipid) OVERRIDE
int32 HandleOpenGo (Player *player, uint64 guid) OVERRIDE
 OPvPCapturePointZM_GraveYard (OutdoorPvP *pvp)
void SetBeaconState (uint32 controlling_team)
bool Update (uint32 diff) OVERRIDE
void UpdateTowerState ()
Public Member Functions inherited from OPvPCapturePoint
void AddCre (uint32 type, uint32 guid, uint32 entry=0)
void AddGO (uint32 type, uint32 guid, uint32 entry=0)
virtual void ChangeTeam (TeamId)
virtual void DeleteSpawns ()
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
virtual bool HandlePlayerEnter (Player *player)
virtual void HandlePlayerLeave (Player *player)
bool IsInsideObjective (Player *player) const
 OPvPCapturePoint (OutdoorPvP *pvp)
virtual void SendChangePhase ()
void SendObjectiveComplete (uint32 id, uint64 guid)
void SendUpdateWorldState (uint32 field, uint32 value)
bool SetCapturePointData (uint32 entry, uint32 map, float x, float y, float z, float o=0, float rotation0=0, float rotation1=0, float rotation2=0, float rotation3=0)
virtual ~OPvPCapturePoint ()

Protected Attributes

uint32 m_BothControllingFaction
uint64 m_FlagCarrierGUID
Protected Attributes inherited from OPvPCapturePoint
PlayerSet m_activePlayers [2]
std::map< uint32, uint64m_Creatures
std::map< uint64, uint32m_CreatureTypes
float m_maxSpeed
float m_maxValue
float m_minValue
uint32 m_neutralValuePct
std::map< uint32, uint64m_Objects
std::map< uint64, uint32m_ObjectTypes
ObjectiveStates m_OldState
OutdoorPvPm_PvP
ObjectiveStates m_State
TeamId m_team
float m_value

Private Attributes

uint32 m_GraveYardState

Additional Inherited Members

Public Attributes inherited from OPvPCapturePoint
GameObjectm_capturePoint
uint32 m_capturePointGUID
Protected Member Functions inherited from OPvPCapturePoint
bool AddCreature (uint32 type, uint32 entry, uint32 teamval, uint32 map, float x, float y, float z, float o, uint32 spawntimedelay=0)
bool AddObject (uint32 type, uint32 entry, uint32 map, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3)
bool DelCapturePoint ()
bool DelCreature (uint32 type)
bool DelObject (uint32 type)

Detailed Description

Definition at line 183 of file OutdoorPvPZM.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointZM_GraveYard()

Member Function Documentation

◆ CanTalkTo()

bool OPvPCapturePointZM_GraveYard::CanTalkTo ( Player * player,
Creature * creature,
GossipMenuItems const & gso )
virtual

◆ ChangeState()

void OPvPCapturePointZM_GraveYard::ChangeState ( )
inlinevirtual

Implements OPvPCapturePoint.

Definition at line 189 of file OutdoorPvPZM.h.

References OVERRIDE.

◆ FillInitialWorldStates()

◆ GetGraveYardState()

uint32 OPvPCapturePointZM_GraveYard::GetGraveYardState ( ) const

Definition at line 378 of file OutdoorPvPZM.cpp.

References m_GraveYardState.

◆ HandleDropFlag()

bool OPvPCapturePointZM_GraveYard::HandleDropFlag ( Player * player,
uint32 spellId )
virtual

Reimplemented from OPvPCapturePoint.

Definition at line 364 of file OutdoorPvPZM.cpp.

References m_FlagCarrierGUID, ZM_BATTLE_STANDARD_A, and ZM_BATTLE_STANDARD_H.

◆ HandleGossipOption()

◆ HandleOpenGo()

◆ SetBeaconState()

◆ Update()

bool OPvPCapturePointZM_GraveYard::Update ( uint32 diff)
virtual

Reimplemented from OPvPCapturePoint.

Definition at line 197 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

uint64 OPvPCapturePointZM_GraveYard::m_FlagCarrierGUID
protected

◆ m_GraveYardState

uint32 OPvPCapturePointZM_GraveYard::m_GraveYardState
private

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