|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <OutdoorPvPSI.h>
Private Attributes | |
| uint32 | m_Gathered_A |
| uint32 | m_Gathered_H |
| uint32 | m_LastController |
Additional Inherited Members | |
| Public Types inherited from OutdoorPvP | |
| typedef std::map< uint32, OPvPCapturePoint * > | OPvPCapturePointMap |
| Protected Member Functions inherited from OutdoorPvP | |
| void | AddCapturePoint (OPvPCapturePoint *cp) |
| void | BroadcastPacket (WorldPacket &data) const |
| OPvPCapturePoint * | GetCapturePoint (uint32 lowguid) const |
| virtual void | HandlePlayerResurrects (Player *player, uint32 zone) |
| bool | HasPlayer (Player const *player) const |
| void | RegisterZone (uint32 zoneid) |
| void | TeamCastSpell (TeamId team, int32 spellId) |
| Protected Attributes inherited from OutdoorPvP | |
| OPvPCapturePointMap | m_capturePoints |
| PlayerSet | m_players [2] |
| bool | m_sendUpdate |
| uint32 | m_TypeId |
Definition at line 42 of file OutdoorPvPSI.h.
| OutdoorPvPSI::OutdoorPvPSI | ( | ) |
Definition at line 18 of file OutdoorPvPSI.cpp.
References m_Gathered_A, m_Gathered_H, m_LastController, OutdoorPvP::m_TypeId, and OUTDOOR_PVP_SI.
|
virtual |
Reimplemented from OutdoorPvP.
Definition at line 26 of file OutdoorPvPSI.cpp.
References WorldStateBuilder::AppendState(), m_Gathered_A, m_Gathered_H, SI_GATHERED_A, SI_GATHERED_H, SI_MAX_RESOURCES, and SI_SILITHYST_MAX.
Reimplemented from OutdoorPvP.
Definition at line 73 of file OutdoorPvPSI.cpp.
References ALLIANCE, Unit::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, ReputationMgr::ModifyReputation(), OutdoorPvPSIBuffZones, Unit::RemoveAurasDueToSpell(), Player::RewardHonor(), 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, sWorld, TEAM_ALLIANCE, TEAM_HORDE, OutdoorPvP::TeamApplyBuff(), and UpdateWorldState().
|
virtual |
Reimplemented from OutdoorPvP.
Definition at line 218 of file OutdoorPvPSI.cpp.
References Unit::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 131 of file OutdoorPvPSI.cpp.
References Map::AddToMap(), ALLIANCE, GameObject::Create(), WorldObject::GetDistance(), WorldObject::GetMap(), Position::GetOrientation(), WorldObject::GetPhases(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Player::GetTeam(), GO_STATE_READY, HIGHGUID_GAMEOBJECT, HORDE, AreaTriggerEntry::radius, sAreaTriggerStore, GameObject::SetPhased(), GameObject::SetRespawnTime(), SI_AREATRIGGER_A, SI_AREATRIGGER_H, SI_SILITHYST_FLAG, SI_SILITHYST_MOUND, sObjectMgr, AreaTriggerEntry::x, AreaTriggerEntry::y, and AreaTriggerEntry::z.
Reimplemented from OutdoorPvP.
Definition at line 59 of file OutdoorPvPSI.cpp.
References Unit::CastSpell(), Player::GetTeam(), OutdoorPvP::HandlePlayerEnterZone(), m_LastController, and SI_CENARION_FAVOR.
Reimplemented from OutdoorPvP.
Definition at line 66 of file OutdoorPvPSI.cpp.
References OutdoorPvP::HandlePlayerLeaveZone(), Unit::RemoveAurasDueToSpell(), and SI_CENARION_FAVOR.
|
virtual |
Reimplemented from OutdoorPvP.
Definition at line 33 of file OutdoorPvPSI.cpp.
References Player::SendUpdateWorldState(), SI_GATHERED_A, SI_GATHERED_H, and SI_SILITHYST_MAX.
|
virtual |
Reimplemented from OutdoorPvP.
Definition at line 47 of file OutdoorPvPSI.cpp.
References OutdoorPvPSIBuffZones, OutdoorPvPSIBuffZonesNum, and OutdoorPvP::RegisterZone().
|
virtual |
Reimplemented from OutdoorPvP.
Definition at line 54 of file OutdoorPvPSI.cpp.
| void OutdoorPvPSI::UpdateWorldState | ( | ) |
Definition at line 40 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 59 of file OutdoorPvPSI.h.
Referenced by FillInitialWorldStates(), HandleAreaTrigger(), OutdoorPvPSI(), and UpdateWorldState().
|
private |
Definition at line 60 of file OutdoorPvPSI.h.
Referenced by FillInitialWorldStates(), HandleAreaTrigger(), OutdoorPvPSI(), and UpdateWorldState().
|
private |
Definition at line 61 of file OutdoorPvPSI.h.
Referenced by HandleAreaTrigger(), HandlePlayerEnterZone(), and OutdoorPvPSI().