![]() |
TrinityCore
|
#include <OutdoorPvPTF.h>
Inheritance diagram for OPvPCapturePointTF:Protected Attributes | |
| OutdoorPvPTF_TowerType | m_TowerType |
| uint32 | m_TowerState |
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 |
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 () |
Definition at line 64 of file OutdoorPvPTF.h.
| OPvPCapturePointTF::OPvPCapturePointTF | ( | OutdoorPvP * | pvp, |
| OutdoorPvPTF_TowerType | type | ||
| ) |
Definition at line 107 of file OutdoorPvPTF.cpp.
References OPvPCapturePoint::SetCapturePointData(), and TFCapturePoints.
|
overridevirtual |
Implements OPvPCapturePoint.
Definition at line 315 of file OutdoorPvPTF.cpp.
References ObjectAccessor::FindPlayer(), Map::GetGameObjectBySpawnIdStore(), OutdoorPvP::GetMap(), OPvPCapturePoint::m_activePlayers, OPvPCapturePoint::m_capturePointSpawnId, 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, OutdoorPvPTFBuffZones, OutdoorPvP::SendDefenseMessage(), TEXT_SPIRIT_TOWER_LOSE_ALLIANCE, TEXT_SPIRIT_TOWER_LOSE_HORDE, TEXT_SPIRIT_TOWER_TAKEN_ALLIANCE, TEXT_SPIRIT_TOWER_TAKEN_HORDE, TF_ALLY_QUEST, TF_HORDE_QUEST, TF_TOWER_NUM, TF_TOWERSTATE_A, TF_TOWERSTATE_H, TF_TOWERSTATE_N, and UpdateTowerState().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 112 of file OutdoorPvPTF.cpp.
References m_TowerState, m_TowerType, TF_TOWERSTATE_A, TF_TOWERSTATE_H, TF_TOWERSTATE_N, TFTowerWorldStates, and WorldPackets::WorldState::InitWorldStates::Worldstates.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 305 of file OutdoorPvPTF.cpp.
References OPvPCapturePoint::m_activePlayers, OPvPCapturePoint::m_PvP, and OPvPCapturePoint::Update().
| void OPvPCapturePointTF::UpdateTowerState | ( | ) |
Definition at line 157 of file OutdoorPvPTF.cpp.
References OPvPCapturePoint::m_PvP, m_TowerState, m_TowerType, OutdoorPvP::SendUpdateWorldState(), TF_TOWERSTATE_A, TF_TOWERSTATE_H, TF_TOWERSTATE_N, and TFTowerWorldStates.
Referenced by ChangeState().
|
protected |
Definition at line 77 of file OutdoorPvPTF.h.
Referenced by ChangeState(), FillInitialWorldStates(), and UpdateTowerState().
|
protected |
Definition at line 76 of file OutdoorPvPTF.h.
Referenced by FillInitialWorldStates(), and UpdateTowerState().