![]() |
TrinityCore
|
#include <OutdoorPvPSI.h>
Inheritance diagram for OutdoorPvPSI:Private Attributes | |
| uint32 | m_Gathered_A |
| uint32 | m_Gathered_H |
| uint32 | m_LastController |
Definition at line 38 of file OutdoorPvPSI.h.
| OutdoorPvPSI::OutdoorPvPSI | ( | ) |
Definition at line 40 of file OutdoorPvPSI.cpp.
References m_Gathered_A, m_Gathered_H, m_LastController, OutdoorPvP::m_TypeId, and OUTDOOR_PVP_SI.
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 48 of file OutdoorPvPSI.cpp.
References m_Gathered_A, m_Gathered_H, SI_GATHERED_A, SI_GATHERED_H, SI_MAX_RESOURCES, SI_SILITHYST_MAX, and WorldPackets::WorldState::InitWorldStates::Worldstates.
Reimplemented from OutdoorPvP.
Definition at line 97 of file OutdoorPvPSI.cpp.
References ALLIANCE, WorldObject::CastSpell(), Player::GetReputationMgr(), Player::GetTeam(), Unit::HasAura(), HORDE, Player::KilledMonsterCredit(), LANG_OPVP_SI_CAPTURE_A, LANG_OPVP_SI_CAPTURE_H, m_Gathered_A, m_Gathered_H, m_LastController, OutdoorPvP::m_map, ReputationMgr::ModifyReputation(), OutdoorPvPSIBuffZones, Unit::RemoveAurasDueToSpell(), Player::RewardHonor(), Map::SendZoneText(), sFactionStore, SI_AREATRIGGER_A, SI_AREATRIGGER_H, SI_CENARION_FAVOR, SI_MAX_RESOURCES, SI_SILITHYST_FLAG, SI_TRACES_OF_SILITHYST, SI_TURNIN_QUEST_CM_A, SI_TURNIN_QUEST_CM_H, sObjectMgr, TEAM_ALLIANCE, TEAM_HORDE, OutdoorPvP::TeamApplyBuff(), and UpdateWorldState().
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 228 of file OutdoorPvPSI.cpp.
References WorldObject::CastSpell(), GameObject::Delete(), GameObjectTemplate::entry, GameObject::GetGOInfo(), GameObject::SetRespawnTime(), SI_SILITHYST_FLAG, SI_SILITHYST_FLAG_GO_SPELL, and SI_SILITHYST_MOUND.
Reimplemented from OutdoorPvP.
Definition at line 157 of file OutdoorPvPSI.cpp.
References Map::AddToMap(), ALLIANCE, GameObject::Create(), GameObject, Map::GenerateLowGuid(), WorldObject::GetDistance(), WorldObject::GetMap(), WorldObject::GetPhaseMask(), Player::GetTeam(), GO_STATE_READY, HORDE, AreaTriggerEntry::Pos, AreaTriggerEntry::Radius, sAreaTriggerStore, GameObject::SetRespawnTime(), SI_AREATRIGGER_A, SI_AREATRIGGER_H, SI_SILITHYST_FLAG, SI_SILITHYST_MOUND, DBCPosition3D::X, DBCPosition3D::Y, and DBCPosition3D::Z.
Reimplemented from OutdoorPvP.
Definition at line 83 of file OutdoorPvPSI.cpp.
References WorldObject::CastSpell(), Player::GetTeam(), OutdoorPvP::HandlePlayerEnterZone(), m_LastController, and SI_CENARION_FAVOR.
Reimplemented from OutdoorPvP.
Definition at line 90 of file OutdoorPvPSI.cpp.
References OutdoorPvP::HandlePlayerLeaveZone(), Unit::RemoveAurasDueToSpell(), and SI_CENARION_FAVOR.
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 55 of file OutdoorPvPSI.cpp.
References Player::SendUpdateWorldState(), SI_GATHERED_A, SI_GATHERED_H, and SI_SILITHYST_MAX.
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 69 of file OutdoorPvPSI.cpp.
References OutdoorPvPSIBuffZones, OutdoorPvPSIBuffZonesNum, OutdoorPvP::RegisterZone(), and OutdoorPvP::SetMapFromZone().
|
overridevirtual |
Reimplemented from OutdoorPvP.
Definition at line 78 of file OutdoorPvPSI.cpp.
| void OutdoorPvPSI::UpdateWorldState | ( | ) |
Definition at line 62 of file OutdoorPvPSI.cpp.
References m_Gathered_A, m_Gathered_H, OutdoorPvP::SendUpdateWorldState(), SI_GATHERED_A, SI_GATHERED_H, SI_MAX_RESOURCES, and SI_SILITHYST_MAX.
Referenced by HandleAreaTrigger().
|
private |
Definition at line 55 of file OutdoorPvPSI.h.
Referenced by FillInitialWorldStates(), HandleAreaTrigger(), OutdoorPvPSI(), and UpdateWorldState().
|
private |
Definition at line 56 of file OutdoorPvPSI.h.
Referenced by FillInitialWorldStates(), HandleAreaTrigger(), OutdoorPvPSI(), and UpdateWorldState().
|
private |
Definition at line 57 of file OutdoorPvPSI.h.
Referenced by HandleAreaTrigger(), HandlePlayerEnterZone(), and OutdoorPvPSI().