![]() |
TrinityCore
|
#include <OutdoorPvPZM.h>
Inheritance diagram for OPvPCapturePointZM_Graveyard:Protected Attributes | |
| uint32 | m_BothControllingFaction |
| ObjectGuid | m_FlagCarrierGUID |
| uint32 | m_GraveyardState |
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 121 of file OutdoorPvPZM.h.
| OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard | ( | OutdoorPvP * | pvp | ) |
Definition at line 276 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::AddCreature(), OPvPCapturePoint::AddObject(), ObjectGuid::Clear(), go_type::entry, creature_type::entry, m_BothControllingFaction, m_FlagCarrierGUID, m_GraveyardState, go_type::map, creature_type::map, go_type::pos, creature_type::pos, go_type::rot, ZM_ALLIANCE_FIELD_SCOUT, ZM_AllianceFieldScout, ZM_Banner_N, ZM_GRAVEYARD_N, ZM_HORDE_FIELD_SCOUT, and ZM_HordeFieldScout.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 356 of file OutdoorPvPZM.cpp.
References ALLIANCE, Creature::GetSpawnId(), Player::GetTeam(), HORDE, m_BothControllingFaction, OPvPCapturePoint::m_CreatureTypes, m_FlagCarrierGUID, m_GraveyardState, ZM_ALLIANCE_FIELD_SCOUT, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, and ZM_HORDE_FIELD_SCOUT.
|
inlineoverridevirtual |
Implements OPvPCapturePoint.
Definition at line 127 of file OutdoorPvPZM.h.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 300 of file OutdoorPvPZM.cpp.
References ALLIANCE, HORDE, m_BothControllingFaction, m_GraveyardState, WorldPackets::WorldState::InitWorldStates::Worldstates, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, ZM_GRAVEYARD_N, ZM_MAP_ALLIANCE_FLAG_NOT_READY, ZM_MAP_ALLIANCE_FLAG_READY, ZM_MAP_GRAVEYARD_A, ZM_MAP_GRAVEYARD_H, ZM_MAP_GRAVEYARD_N, ZM_MAP_HORDE_FLAG_NOT_READY, and ZM_MAP_HORDE_FLAG_READY.
| uint32 OPvPCapturePointZM_Graveyard::GetGraveyardState | ( | ) | const |
Definition at line 410 of file OutdoorPvPZM.cpp.
References m_GraveyardState.
Referenced by OutdoorPvPZM::HandlePlayerEnterZone().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 396 of file OutdoorPvPZM.cpp.
References ObjectGuid::Clear(), m_FlagCarrierGUID, ZM_BATTLE_STANDARD_A, and ZM_BATTLE_STANDARD_H.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 370 of file OutdoorPvPZM.cpp.
References WorldObject::CastSpell(), Object::GetGUID(), Creature::GetSpawnId(), ObjectGuid::IsEmpty(), OPvPCapturePoint::m_CreatureTypes, m_FlagCarrierGUID, Player::PlayerTalkClass, PlayerMenu::SendCloseGossip(), UpdateTowerState(), ZM_ALLIANCE_FIELD_SCOUT, ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, and ZM_HORDE_FIELD_SCOUT.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 244 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::AddObject(), ALLIANCE, OPvPCapturePoint::DelObject(), go_type::entry, OPvPCapturePoint::HandleOpenGo(), Unit::HasAura(), HORDE, m_GraveyardState, OPvPCapturePoint::m_PvP, go_type::map, go_type::pos, Unit::RemoveAurasDueToSpell(), go_type::rot, OutdoorPvP::SendDefenseMessage(), sObjectMgr, TEAM_ALLIANCE, TEAM_HORDE, OutdoorPvP::TeamApplyBuff(), TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE, TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE, UpdateTowerState(), ZM_Banner_A, ZM_Banner_H, ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, ZM_CAPTURE_BUFF, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, ZM_GRAVEYARD_ID, and ZM_GRAVEYARD_ZONE.
| void OPvPCapturePointZM_Graveyard::SetBeaconState | ( | uint32 | controlling_team | ) |
Definition at line 311 of file OutdoorPvPZM.cpp.
References ALLIANCE, ObjectGuid::Clear(), ObjectAccessor::FindPlayer(), HORDE, ObjectGuid::IsEmpty(), m_BothControllingFaction, m_FlagCarrierGUID, m_GraveyardState, Unit::RemoveAurasDueToSpell(), UpdateTowerState(), ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, and ZM_GRAVEYARD_N.
Referenced by OutdoorPvPZM::Update().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 237 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_OldState, and OPvPCapturePoint::m_State.
| void OPvPCapturePointZM_Graveyard::UpdateTowerState | ( | ) |
Definition at line 288 of file OutdoorPvPZM.cpp.
References ALLIANCE, HORDE, m_BothControllingFaction, m_GraveyardState, OPvPCapturePoint::m_PvP, OutdoorPvP::SendUpdateWorldState(), ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, ZM_GRAVEYARD_N, ZM_MAP_ALLIANCE_FLAG_NOT_READY, ZM_MAP_ALLIANCE_FLAG_READY, ZM_MAP_GRAVEYARD_A, ZM_MAP_GRAVEYARD_H, ZM_MAP_GRAVEYARD_N, ZM_MAP_HORDE_FLAG_NOT_READY, and ZM_MAP_HORDE_FLAG_READY.
Referenced by HandleGossipOption(), HandleOpenGo(), and SetBeaconState().
|
protected |
Definition at line 139 of file OutdoorPvPZM.h.
Referenced by CanTalkTo(), FillInitialWorldStates(), OPvPCapturePointZM_Graveyard(), SetBeaconState(), and UpdateTowerState().
|
protected |
Definition at line 140 of file OutdoorPvPZM.h.
Referenced by CanTalkTo(), HandleDropFlag(), HandleGossipOption(), OPvPCapturePointZM_Graveyard(), and SetBeaconState().
|
protected |
Definition at line 141 of file OutdoorPvPZM.h.
Referenced by CanTalkTo(), FillInitialWorldStates(), GetGraveyardState(), HandleOpenGo(), OPvPCapturePointZM_Graveyard(), SetBeaconState(), and UpdateTowerState().