![]() |
TrinityCore
|
#include <OutdoorPvPHP.h>
Inheritance diagram for OPvPCapturePointHP:Private Attributes | |
| OutdoorPvPHPTowerType | m_TowerType |
Additional Inherited Members | |
Public Attributes inherited from OPvPCapturePoint | |
| ObjectGuid::LowType | m_capturePointSpawnId |
| GameObject * | m_capturePoint |
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 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 |
Definition at line 58 of file OutdoorPvPHP.h.
| OPvPCapturePointHP::OPvPCapturePointHP | ( | OutdoorPvP * | pvp, |
| OutdoorPvPHPTowerType | type | ||
| ) |
Definition at line 55 of file OutdoorPvPHP.cpp.
References OPvPCapturePoint::AddObject(), HPCapturePoints, HPTowerFlags, and OPvPCapturePoint::SetCapturePointData().
|
overridevirtual |
Implements OPvPCapturePoint.
Definition at line 161 of file OutdoorPvPHP.cpp.
References ObjectGuid::Empty, Map::GetGameObjectBySpawnIdStore(), OutdoorPvP::GetMap(), HP_CREDITMARKER, HP_LANG_CAPTURE_A, HP_LANG_CAPTURE_H, HP_MAP_A, HP_MAP_H, HP_MAP_N, HP_TowerArtKit_A, HP_TowerArtKit_H, HP_TowerArtKit_N, OPvPCapturePoint::m_capturePointSpawnId, OPvPCapturePoint::m_Objects, OPvPCapturePoint::m_OldState, OPvPCapturePoint::m_PvP, OPvPCapturePoint::m_State, m_TowerType, OBJECTIVESTATE_ALLIANCE, OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE, OBJECTIVESTATE_HORDE, OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL, OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE, OutdoorPvPHPBuffZones, OutdoorPvP::SendDefenseMessage(), OPvPCapturePoint::SendObjectiveComplete(), and OutdoorPvP::SendUpdateWorldState().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 264 of file OutdoorPvPHP.cpp.
References HP_MAP_A, HP_MAP_H, HP_MAP_N, OPvPCapturePoint::m_State, m_TowerType, OBJECTIVESTATE_ALLIANCE, OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE, OBJECTIVESTATE_HORDE, OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL, OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE, and WorldPackets::WorldState::InitWorldStates::Worldstates.
|
private |
Definition at line 67 of file OutdoorPvPHP.h.
Referenced by ChangeState(), and FillInitialWorldStates().