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

#include <OutdoorPvPZM.h>

Inheritance diagram for OPvPCapturePointZM_Beacon:
Collaboration diagram for OPvPCapturePointZM_Beacon:

Public Member Functions

void ChangeState () OVERRIDE
void FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE
bool HandlePlayerEnter (Player *player) OVERRIDE
void HandlePlayerLeave (Player *player) OVERRIDE
 OPvPCapturePointZM_Beacon (OutdoorPvP *pvp, ZM_BeaconType type)
void SendChangePhase () 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 bool CanTalkTo (Player *player, Creature *c, GossipMenuItems const &gso)
virtual void ChangeTeam (TeamId)
virtual void DeleteSpawns ()
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
virtual bool HandleDropFlag (Player *player, uint32 spellId)
virtual bool HandleGossipOption (Player *player, uint64 guid, uint32 gossipid)
virtual int32 HandleOpenGo (Player *player, uint64 guid)
bool IsInsideObjective (Player *player) const
 OPvPCapturePoint (OutdoorPvP *pvp)
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 bool Update (uint32 diff)
virtual ~OPvPCapturePoint ()

Protected Attributes

uint32 m_TowerState
ZM_BeaconType m_TowerType
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

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 157 of file OutdoorPvPZM.h.

Constructor & Destructor Documentation

◆ OPvPCapturePointZM_Beacon()

OPvPCapturePointZM_Beacon::OPvPCapturePointZM_Beacon ( OutdoorPvP * pvp,
ZM_BeaconType type )

Member Function Documentation

◆ ChangeState()

◆ FillInitialWorldStates()

void OPvPCapturePointZM_Beacon::FillInitialWorldStates ( WorldStateBuilder & builder)
virtual

◆ HandlePlayerEnter()

bool OPvPCapturePointZM_Beacon::HandlePlayerEnter ( Player * player)
virtual

◆ HandlePlayerLeave()

void OPvPCapturePointZM_Beacon::HandlePlayerLeave ( Player * player)
virtual

◆ SendChangePhase()

void OPvPCapturePointZM_Beacon::SendChangePhase ( )
virtual

◆ UpdateTowerState()

void OPvPCapturePointZM_Beacon::UpdateTowerState ( )

Member Data Documentation

◆ m_TowerState

uint32 OPvPCapturePointZM_Beacon::m_TowerState
protected

◆ m_TowerType

ZM_BeaconType OPvPCapturePointZM_Beacon::m_TowerType
protected

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