![]() |
TrinityCore
|
#include <OutdoorPvPEP.h>
Inheritance diagram for OPvPCapturePointEP_CGT:Protected Member Functions | |
| void | LinkGraveyard (uint32 team) |
| void | UpdateTowerState () |
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 () |
Protected Attributes | |
| uint32 | m_TowerState |
| uint32 | m_GraveyardSide |
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 |
Definition at line 178 of file OutdoorPvPEP.h.
| OPvPCapturePointEP_CGT::OPvPCapturePointEP_CGT | ( | OutdoorPvP * | pvp | ) |
Definition at line 290 of file OutdoorPvPEP.cpp.
References OPvPCapturePoint::AddObject(), EP_CGT, EP_CGT_FLAGS, EPCapturePoints, EPTowerFlags, and OPvPCapturePoint::SetCapturePointData().
|
overridevirtual |
Implements OPvPCapturePoint.
Definition at line 297 of file OutdoorPvPEP.cpp.
References ALLIANCE, ObjectGuid::Empty, EP_CGT, EP_CGT_CM, EP_CGT_FLAGS, EP_GraveyardZone, EP_TS_A, EP_TS_H, EP_TS_N, EP_TS_N_A, EP_TS_N_H, Map::GetGameObjectBySpawnIdStore(), HORDE, LinkGraveyard(), OPvPCapturePoint::m_capturePointSpawnId, OPvPCapturePoint::m_Objects, OPvPCapturePoint::m_OldState, OPvPCapturePoint::m_PvP, OPvPCapturePoint::m_State, m_TowerState, OBJECTIVESTATE_ALLIANCE, OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE, OBJECTIVESTATE_HORDE, OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL, OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE, OutdoorPvP::SendDefenseMessage(), OPvPCapturePoint::SendObjectiveComplete(), sMapMgr, TEXT_CROWN_GUARD_TOWER_TAKEN_ALLIANCE, TEXT_CROWN_GUARD_TOWER_TAKEN_HORDE, and UpdateTowerState().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 350 of file OutdoorPvPEP.cpp.
References EP_CGT_A, EP_CGT_H, EP_CGT_N, EP_CGT_N_A, EP_CGT_N_H, EP_TS_A, EP_TS_H, EP_TS_N, EP_TS_N_A, EP_TS_N_H, m_TowerState, and WorldPackets::WorldState::InitWorldStates::Worldstates.
|
protected |
Definition at line 368 of file OutdoorPvPEP.cpp.
References EP_GraveyardId, EP_GraveyardZone, m_GraveyardSide, and sObjectMgr.
Referenced by ChangeState().
|
protected |
Definition at line 359 of file OutdoorPvPEP.cpp.
References EP_CGT_A, EP_CGT_H, EP_CGT_N, EP_CGT_N_A, EP_CGT_N_H, EP_TS_A, EP_TS_H, EP_TS_N, EP_TS_N_A, EP_TS_N_H, OPvPCapturePoint::m_PvP, m_TowerState, and OutdoorPvP::SendUpdateWorldState().
Referenced by ChangeState().
|
protected |
Definition at line 191 of file OutdoorPvPEP.h.
Referenced by LinkGraveyard().
|
protected |
Definition at line 190 of file OutdoorPvPEP.h.
Referenced by ChangeState(), FillInitialWorldStates(), and UpdateTowerState().