![]() |
TrinityCore
|
#include <OutdoorPvPEP.h>
Inheritance diagram for OPvPCapturePointEP_NPT:Protected Member Functions | |
| void | SummonGO (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_SummonedGOSide |
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 162 of file OutdoorPvPEP.h.
| OPvPCapturePointEP_NPT::OPvPCapturePointEP_NPT | ( | OutdoorPvP * | pvp | ) |
Definition at line 185 of file OutdoorPvPEP.cpp.
References OPvPCapturePoint::AddObject(), EP_NPT, EP_NPT_FLAGS, EPCapturePoints, EPTowerFlags, and OPvPCapturePoint::SetCapturePointData().
|
overridevirtual |
Implements OPvPCapturePoint.
Definition at line 192 of file OutdoorPvPEP.cpp.
References ALLIANCE, OPvPCapturePoint::DelObject(), ObjectGuid::Empty, EP_GraveyardZone, EP_NPT, EP_NPT_BUFF, EP_NPT_CM, EP_NPT_FLAGS, 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_SummonedGOSide, 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, SummonGO(), TEXT_NORTHPASS_TOWER_TAKEN_ALLIANCE, TEXT_NORTHPASS_TOWER_TAKEN_HORDE, and UpdateTowerState().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 255 of file OutdoorPvPEP.cpp.
References EP_NPT_A, EP_NPT_H, EP_NPT_N, EP_NPT_N_A, EP_NPT_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 273 of file OutdoorPvPEP.cpp.
References OPvPCapturePoint::AddObject(), ALLIANCE, OPvPCapturePoint::DelObject(), go_type::entry, EP_NPT_BUFF, EP_NPT_LordaeronShrine, FACTION_ALLIANCE_GENERIC, FACTION_HORDE_GENERIC, Map::GetGameObjectBySpawnIdStore(), OPvPCapturePoint::m_Objects, m_SummonedGOSide, go_type::map, go_type::pos, go_type::rot, and sMapMgr.
Referenced by ChangeState().
|
protected |
Definition at line 264 of file OutdoorPvPEP.cpp.
References EP_NPT_A, EP_NPT_H, EP_NPT_N, EP_NPT_N_A, EP_NPT_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 175 of file OutdoorPvPEP.h.
Referenced by ChangeState(), and SummonGO().
|
protected |
Definition at line 174 of file OutdoorPvPEP.h.
Referenced by ChangeState(), FillInitialWorldStates(), and UpdateTowerState().