![]() |
TrinityCore
|
#include <OutdoorPvPZM.h>
Inheritance diagram for OPvPCapturePointZM_Beacon:Protected Attributes | |
| ZM_BeaconType | 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 99 of file OutdoorPvPZM.h.
| OPvPCapturePointZM_Beacon::OPvPCapturePointZM_Beacon | ( | OutdoorPvP * | pvp, |
| ZM_BeaconType | type | ||
| ) |
Definition at line 87 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::SetCapturePointData(), and ZMCapturePoints.
|
overridevirtual |
Implements OPvPCapturePoint.
Definition at line 112 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_OldState, OPvPCapturePoint::m_PvP, OPvPCapturePoint::m_State, m_TowerState, m_TowerType, OBJECTIVESTATE_ALLIANCE, OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE, OBJECTIVESTATE_HORDE, OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL, OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE, OutdoorPvP::SendDefenseMessage(), UpdateTowerState(), ZM_GRAVEYARD_ZONE, ZM_NUM_BEACONS, ZM_TOWERSTATE_A, ZM_TOWERSTATE_H, ZM_TOWERSTATE_N, ZMBeaconCaptureA, and ZMBeaconCaptureH.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 92 of file OutdoorPvPZM.cpp.
References m_TowerState, m_TowerType, WorldPackets::WorldState::InitWorldStates::Worldstates, ZM_TOWERSTATE_A, ZM_TOWERSTATE_H, ZM_TOWERSTATE_N, and ZMBeaconInfo.
| void OPvPCapturePointZM_Beacon::UpdateTowerState | ( | ) |
Definition at line 102 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_PvP, m_TowerState, m_TowerType, OutdoorPvP::SendUpdateWorldState(), ZM_TOWERSTATE_A, ZM_TOWERSTATE_H, ZM_TOWERSTATE_N, and ZMBeaconInfo.
Referenced by ChangeState().
|
protected |
Definition at line 111 of file OutdoorPvPZM.h.
Referenced by ChangeState(), FillInitialWorldStates(), and UpdateTowerState().
|
protected |
Definition at line 110 of file OutdoorPvPZM.h.
Referenced by ChangeState(), FillInitialWorldStates(), and UpdateTowerState().