![]() |
TrinityCore
|
#include <OutdoorPvPHP.h>
Inheritance diagram for OutdoorPvPHP:Private Attributes | |
| uint32 | m_AllianceTowersControlled |
| uint32 | m_HordeTowersControlled |
Definition at line 70 of file OutdoorPvPHP.h.
| OutdoorPvPHP::OutdoorPvPHP | ( | ) |
Definition at line 60 of file OutdoorPvPHP.cpp.
References m_AllianceTowersControlled, m_HordeTowersControlled, OutdoorPvP::m_TypeId, OUTDOOR_PVP_HP, OutdoorPvPHPBuffZones, and OutdoorPvP::SetMapFromZone().
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 150 of file OutdoorPvPHP.cpp.
References HP_UI_TOWER_COUNT_A, HP_UI_TOWER_COUNT_H, HP_UI_TOWER_DISPLAY_A, HP_UI_TOWER_DISPLAY_H, m_AllianceTowersControlled, OutdoorPvP::m_capturePoints, m_HordeTowersControlled, and WorldPackets::WorldState::InitWorldStates::Worldstates.
| uint32 OutdoorPvPHP::GetAllianceTowersControlled | ( | ) | const |
Definition at line 302 of file OutdoorPvPHP.cpp.
References m_AllianceTowersControlled.
| uint32 OutdoorPvPHP::GetHordeTowersControlled | ( | ) | const |
Definition at line 312 of file OutdoorPvPHP.cpp.
References m_HordeTowersControlled.
Reimplemented from OutdoorPvP.
Definition at line 291 of file OutdoorPvPHP.cpp.
References ALLIANCE, AlliancePlayerKillReward, WorldObject::CastSpell(), Player::GetTeam(), Object::GetTypeId(), HORDE, HordePlayerKillReward, Object::ToPlayer(), and TYPEID_PLAYER.
Reimplemented from OutdoorPvP.
Definition at line 85 of file OutdoorPvPHP.cpp.
References ALLIANCE, AllianceBuff, WorldObject::CastSpell(), Player::GetTeam(), OutdoorPvP::HandlePlayerEnterZone(), HordeBuff, m_AllianceTowersControlled, and m_HordeTowersControlled.
Reimplemented from OutdoorPvP.
Definition at line 101 of file OutdoorPvPHP.cpp.
References ALLIANCE, AllianceBuff, Player::GetTeam(), OutdoorPvP::HandlePlayerLeaveZone(), HordeBuff, and Unit::RemoveAurasDueToSpell().
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 135 of file OutdoorPvPHP.cpp.
References HP_MAP_A, HP_MAP_H, HP_MAP_N, HP_TOWER_NUM, HP_UI_TOWER_COUNT_A, HP_UI_TOWER_COUNT_H, HP_UI_TOWER_DISPLAY_A, HP_UI_TOWER_DISPLAY_H, and Player::SendUpdateWorldState().
| void OutdoorPvPHP::SetAllianceTowersControlled | ( | uint32 | count | ) |
Definition at line 307 of file OutdoorPvPHP.cpp.
References m_AllianceTowersControlled.
| void OutdoorPvPHP::SetHordeTowersControlled | ( | uint32 | count | ) |
Definition at line 317 of file OutdoorPvPHP.cpp.
References m_HordeTowersControlled.
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 68 of file OutdoorPvPHP.cpp.
References OutdoorPvP::AddCapturePoint(), HP_TOWER_BROKEN_HILL, HP_TOWER_OVERLOOK, HP_TOWER_STADIUM, m_AllianceTowersControlled, m_HordeTowersControlled, OutdoorPvPHPBuffZones, OutdoorPvPHPBuffZonesNum, and OutdoorPvP::RegisterZone().
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 115 of file OutdoorPvPHP.cpp.
References AllianceBuff, HordeBuff, HP_UI_TOWER_COUNT_A, HP_UI_TOWER_COUNT_H, m_AllianceTowersControlled, m_HordeTowersControlled, OutdoorPvP::SendUpdateWorldState(), TEAM_ALLIANCE, TEAM_HORDE, OutdoorPvP::TeamApplyBuff(), OutdoorPvP::TeamCastSpell(), and OutdoorPvP::Update().
|
private |
Definition at line 91 of file OutdoorPvPHP.h.
Referenced by FillInitialWorldStates(), GetAllianceTowersControlled(), HandlePlayerEnterZone(), OutdoorPvPHP(), SetAllianceTowersControlled(), SetupOutdoorPvP(), and Update().
|
private |
Definition at line 92 of file OutdoorPvPHP.h.
Referenced by FillInitialWorldStates(), GetHordeTowersControlled(), HandlePlayerEnterZone(), OutdoorPvPHP(), SetHordeTowersControlled(), SetupOutdoorPvP(), and Update().