![]() |
TrinityCore
|
#include <OutdoorPvPZM.h>
Inheritance diagram for OPvPCapturePointZM_Graveyard:Public Member Functions | |
| OPvPCapturePointZM_Graveyard (OutdoorPvP *pvp) | |
| void | Update (uint32 diff) override |
| void | ChangeState () override |
| int32 | HandleOpenGo (Player *player, GameObject *go) override |
| bool | HandleDropFlag (Player *player, uint32 spellId) override |
| void | UpdateTowerState () |
| void | SetBeaconState (uint32 controlling_team) |
| uint32 | GetGraveyardState () const |
| ObjectGuid | GetFlagCarrierGUID () const |
| void | SetFlagCarrierGUID (ObjectGuid guid) |
Public Member Functions inherited from OPvPCapturePoint | |
| OPvPCapturePoint (OutdoorPvP *pvp) | |
| virtual | ~OPvPCapturePoint () |
| OPvPCapturePoint (OPvPCapturePoint const &right)=delete | |
| OPvPCapturePoint (OPvPCapturePoint &&right)=delete | |
| OPvPCapturePoint & | operator= (OPvPCapturePoint const &right)=delete |
| OPvPCapturePoint & | operator= (OPvPCapturePoint &&right)=delete |
| virtual bool | HandleCustomSpell (Player *player, uint32 spellId, GameObject *go) |
| virtual void | ChangeTeam (TeamId) |
Protected Attributes | |
| uint32 | m_BothControllingFaction |
| ObjectGuid | m_FlagCarrierGUID |
| uint32 | m_GraveyardState |
Protected Attributes inherited from OPvPCapturePoint | |
| TeamId | m_team |
| ObjectiveStates | m_OldState |
| ObjectiveStates | m_State |
| OutdoorPvP * | m_PvP |
Definition at line 155 of file OutdoorPvPZM.h.
| OPvPCapturePointZM_Graveyard::OPvPCapturePointZM_Graveyard | ( | OutdoorPvP * | pvp | ) |
Definition at line 229 of file OutdoorPvPZM.cpp.
References ObjectGuid::Clear(), m_BothControllingFaction, m_FlagCarrierGUID, m_GraveyardState, and ZM_GRAVEYARD_N.
|
inlineoverridevirtual |
Implements OPvPCapturePoint.
Definition at line 161 of file OutdoorPvPZM.h.
|
inline |
Definition at line 169 of file OutdoorPvPZM.h.
References m_FlagCarrierGUID.
Referenced by npc_zm_field_scout::CanObtainBanner(), and npc_zm_field_scout::OnGossipSelect().
| uint32 OPvPCapturePointZM_Graveyard::GetGraveyardState | ( | ) | const |
Definition at line 310 of file OutdoorPvPZM.cpp.
References m_GraveyardState.
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 296 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 201 of file OutdoorPvPZM.cpp.
References Object::GetEntry(), OPvPCapturePoint::HandleOpenGo(), Unit::HasAura(), m_GraveyardState, OPvPCapturePoint::m_PvP, Unit::RemoveAurasDueToSpell(), OutdoorPvP::SendDefenseMessage(), TEAM_ALLIANCE, TEAM_HORDE, OutdoorPvP::TeamApplyBuff(), TEXT_TWIN_SPIRE_RUINS_TAKEN_ALLIANCE, TEXT_TWIN_SPIRE_RUINS_TAKEN_HORDE, UpdateTowerState(), ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, ZM_CAPTURE_BUFF, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, and ZM_GRAVEYARD_ZONE.
| void OPvPCapturePointZM_Graveyard::SetBeaconState | ( | uint32 | controlling_team | ) |
Definition at line 251 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.
|
inline |
Definition at line 170 of file OutdoorPvPZM.h.
References m_FlagCarrierGUID.
Referenced by npc_zm_field_scout::OnGossipSelect().
|
overridevirtual |
Reimplemented from OPvPCapturePoint.
Definition at line 196 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_OldState, and OPvPCapturePoint::m_State.
| void OPvPCapturePointZM_Graveyard::UpdateTowerState | ( | ) |
Definition at line 236 of file OutdoorPvPZM.cpp.
References ALLIANCE, HORDE, m_BothControllingFaction, m_GraveyardState, OPvPCapturePoint::m_PvP, OutdoorPvP::SetWorldState(), 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 HandleOpenGo(), npc_zm_field_scout::OnGossipSelect(), and SetBeaconState().
|
protected |
Definition at line 173 of file OutdoorPvPZM.h.
Referenced by OPvPCapturePointZM_Graveyard(), SetBeaconState(), and UpdateTowerState().
|
protected |
Definition at line 174 of file OutdoorPvPZM.h.
Referenced by GetFlagCarrierGUID(), HandleDropFlag(), OPvPCapturePointZM_Graveyard(), SetBeaconState(), and SetFlagCarrierGUID().
|
protected |
Definition at line 175 of file OutdoorPvPZM.h.
Referenced by GetGraveyardState(), HandleOpenGo(), OPvPCapturePointZM_Graveyard(), SetBeaconState(), and UpdateTowerState().