![]() |
TrinityCore
|
#include <OutdoorPvPEP.h>
Inheritance diagram for OPvPCapturePointEP_EWT:Protected Member Functions | |
| void | SummonSupportUnitAtNorthpassTower (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_UnitsSummonedSide |
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 146 of file OutdoorPvPEP.h.
| OPvPCapturePointEP_EWT::OPvPCapturePointEP_EWT | ( | OutdoorPvP * | pvp | ) |
Definition at line 88 of file OutdoorPvPEP.cpp.
References OPvPCapturePoint::AddObject(), EP_EWT, EP_EWT_FLAGS, EPCapturePoints, EPTowerFlags, and OPvPCapturePoint::SetCapturePointData().
|
overridevirtual |
Implements OPvPCapturePoint.
Definition at line 94 of file OutdoorPvPEP.cpp.
References ALLIANCE, ObjectGuid::Empty, EP_EWT, EP_EWT_CM, EP_EWT_FLAGS, EP_GraveyardZone, EP_TS_A, EP_TS_H, EP_TS_N, EP_TS_N_A, EP_TS_N_H, Map::GetGameObjectBySpawnIdStore(), HORDE, 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, SummonSupportUnitAtNorthpassTower(), TEXT_EASTWALL_TOWER_TAKEN_ALLIANCE, TEXT_EASTWALL_TOWER_TAKEN_HORDE, and UpdateTowerState().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 147 of file OutdoorPvPEP.cpp.
References EP_EWT_A, EP_EWT_H, EP_EWT_N, EP_EWT_N_A, EP_EWT_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 165 of file OutdoorPvPEP.cpp.
References OPvPCapturePoint::AddCreature(), ALLIANCE, OPvPCapturePoint::DelCreature(), EP_EWT_NUM_CREATURES, EP_EWT_Summons_A, EP_EWT_Summons_H, OutdoorPvP::GetTeamIdByTeam(), and m_UnitsSummonedSide.
Referenced by ChangeState().
|
protected |
Definition at line 156 of file OutdoorPvPEP.cpp.
References EP_EWT_A, EP_EWT_H, EP_EWT_N, EP_EWT_N_A, EP_EWT_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 158 of file OutdoorPvPEP.h.
Referenced by ChangeState(), FillInitialWorldStates(), and UpdateTowerState().
|
protected |
Definition at line 159 of file OutdoorPvPEP.h.
Referenced by SummonSupportUnitAtNorthpassTower().