AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Battleground.h"
Public Types | |
typedef std::set< Player * > | SpectatorList |
typedef std::map< ObjectGuid, ObjectGuid > | ToBeTeleportedMap |
typedef std::map< ObjectGuid, Player * > | BattlegroundPlayerMap |
typedef std::unordered_map< ObjectGuid::LowType, BattlegroundScore * > | BattlegroundScoreMap |
typedef std::unordered_map< ObjectGuid, ArenaLogEntryData > | ArenaLogEntryDataMap |
typedef GuidVector | BGObjects |
typedef GuidVector | BGCreatures |
Static Public Member Functions | |
static TeamId | GetOtherTeamId (TeamId teamId) |
Public Attributes | |
GuidSet | readyMarkerClickedSet |
ArenaLogEntryDataMap | ArenaLogEntries |
BGObjects | BgObjects |
BGCreatures | BgCreatures |
Protected Member Functions | |
void | EndNow () |
void | PlayerAddedToBGCheckIfBGIsRunning (Player *player) |
void | _ProcessResurrect (uint32 diff) |
void | _ProcessProgress (uint32 diff) |
void | _ProcessLeave (uint32 diff) |
void | _ProcessJoin (uint32 diff) |
void | _CheckSafePositions (uint32 diff) |
virtual void | RemovePlayer (Player *) |
Private Member Functions | |
virtual bool | PreUpdateImpl (uint32) |
Pre-update hook. More... | |
virtual void | PostUpdateImpl (uint32) |
Post-update hook. More... | |
typedef std::unordered_map<ObjectGuid, ArenaLogEntryData> Battleground::ArenaLogEntryDataMap |
typedef std::map<ObjectGuid, Player*> Battleground::BattlegroundPlayerMap |
typedef std::unordered_map<ObjectGuid::LowType, BattlegroundScore*> Battleground::BattlegroundScoreMap |
typedef GuidVector Battleground::BGCreatures |
typedef GuidVector Battleground::BGObjects |
typedef std::set<Player*> Battleground::SpectatorList |
typedef std::map<ObjectGuid, ObjectGuid> Battleground::ToBeTeleportedMap |
Battleground::Battleground | ( | ) |
References BATTLEGROUND_TYPE_NONE, BG_NORMAL, BG_START_DELAY_1M, BG_START_DELAY_2M, BG_START_DELAY_30S, BG_START_DELAY_NONE, BG_STARTING_EVENT_FIRST, BG_STARTING_EVENT_FOURTH, BG_STARTING_EVENT_SECOND, BG_STARTING_EVENT_THIRD, BG_TEXT_BATTLE_HAS_BEGUN, BG_TEXT_START_HALF_MINUTE, BG_TEXT_START_ONE_MINUTE, BG_TEXT_START_TWO_MINUTES, m_ArenaTeamIds, m_ArenaTeamMMR, m_ArenaType, m_BgInvitedPlayers, m_BgRaids, m_BuffChange, m_ClientInstanceID, m_EndTime, m_Events, m_HonorMode, m_InstanceID, m_IsArena, m_IsRandom, m_IsRated, m_LastResurrectTime, m_LevelMax, m_LevelMin, m_Map, m_MapId, m_MaxPlayersPerTeam, m_MinPlayersPerTeam, m_PlayersCount, m_PrematureCountDown, m_PrematureCountDownTimer, m_RandomTypeID, m_RealTypeID, m_ResetStatTimer, m_SetDeleteThis, m_StartDelayTime, m_StartMaxDist, m_StartTime, m_Status, m_TeamScores, m_UpdateTimer, m_ValidStartPositionTimer, m_WinnerId, PVP_TEAM_NEUTRAL, ScriptId, StartDelayTimes, StartMessageIds, STATUS_NONE, TEAM_ALLIANCE, and TEAM_HORDE.
|
virtual |
References _reviveEvents, BgCreatures, BgObjects, DelCreature(), DelObject(), GetBgTypeID(), GetInstanceID(), GetName(), EventProcessor::KillAllEvents(), LOG_DEBUG, m_Map, PlayerScores, RemoveFromBGFreeSlotQueue(), sBattlegroundMgr, BattlegroundMap::SetBG(), BattlegroundMap::SetUnload(), and sScriptMgr.
|
inlineprotected |
References CHECK_PLAYER_POSITION_INVERVAL, Position::GetExactDistSq(), GetMapId(), Position::GetOrientation(), GetPlayers(), Position::GetPosition(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GetStartMaxDist(), GetTeamStartPosition(), LOG_DEBUG, and m_ValidStartPositionTimer.
Referenced by Update().
|
inlineprotected |
References BATTLEGROUND_BE, BATTLEGROUND_DS, BATTLEGROUND_NA, BATTLEGROUND_RL, BATTLEGROUND_RV, BG_BE_OBJECT_READY_MARKER_1, BG_BE_OBJECT_READY_MARKER_2, BG_DS_OBJECT_READY_MARKER_1, BG_DS_OBJECT_READY_MARKER_2, BG_NA_OBJECT_READY_MARKER_1, BG_NA_OBJECT_READY_MARKER_2, BG_RL_OBJECT_READY_MARKER_1, BG_RL_OBJECT_READY_MARKER_2, BG_RV_OBJECT_READY_MARKER_1, BG_RV_OBJECT_READY_MARKER_2, BG_STARTING_EVENT_1, BG_STARTING_EVENT_2, BG_STARTING_EVENT_3, BG_STARTING_EVENT_4, BG_STARTING_EVENT_FIRST, BG_STARTING_EVENT_FOURTH, BG_STARTING_EVENT_SECOND, BG_STARTING_EVENT_THIRD, CHAT_MSG_BG_SYSTEM_NEUTRAL, CheckWinConditions(), CONFIG_BATTLEGROUND_QUEUE_ANNOUNCER_ENABLE, DelObject(), EndNow(), FindBgMap(), ObjectAccessor::FindConnectedPlayer(), ObjectAccessor::FindPlayer(), GetArenaType(), AuraApplication::GetBase(), GetBgMap(), GetBgTypeID(), Aura::GetDuration(), GetMaxLevel(), World::GetMaxVisibleDistanceInBGArenas(), GetMinLevel(), GetName(), GetPlayers(), GetStartDelayTime(), GetStartTime(), GetStatus(), ArenaSpectator::HandleResetCommand(), Aura::HasEffectType(), IN_MILLISECONDS, isArena(), Aura::IsPermanent(), AuraApplication::IsPositive(), LANG_BG_STARTED_ANNOUNCE_WORLD, LOG_ERROR, m_Events, m_InstanceID, m_MapId, m_ResetStatTimer, m_Spectators, m_ToBeTeleported, ModifyStartDelayTime(), PlaySoundToAll(), sBattlegroundMgr, SendBroadcastText(), ChatHandler::SendWorldText(), SetStartDelayTime(), SetStatus(), SetupBattleground(), SMSG_SUMMON_REQUEST, SOUND_BG_START, SPELL_ARENA_PREPARATION, SPELL_AURA_MOD_INVISIBILITY, SPELL_PREPARATION, sScriptMgr, StartDelayTimes, StartingEventCloseDoors(), StartingEventOpenDoors(), StartMessageIds, STATUS_IN_PROGRESS, and sWorld.
Referenced by Update().
|
inlineprotected |
References m_EndTime, m_Players, and TIME_TO_AUTOREMOVE.
Referenced by Update().
|
inlineprotected |
References Map::DoForAllPlayers(), EndBattleground(), GetBgMap(), GetPrematureWinner(), Player::GetSession(), IN_MILLISECONDS, LANG_BATTLEGROUND_PREMATURE_FINISH_WARNING, LANG_BATTLEGROUND_PREMATURE_FINISH_WARNING_SECS, m_PrematureCountDown, m_PrematureCountDownTimer, MINUTE, ChatHandler::PSendSysMessage(), and sBattlegroundMgr.
Referenced by Update().
|
inlineprotected |
References _reviveEvents, Unit::CastSpell(), ObjectAccessor::FindPlayer(), Map::GetCreature(), WorldObject::GetMap(), GetReviveQueueSize(), Object::IsInWorld(), m_LastResurrectTime, m_ResurrectQueue, m_ReviveQueue, RESURRECTION_INTERVAL, Player::ResurrectPlayer(), Player::SpawnCorpseBones(), SPELL_RESURRECTION_VISUAL, SPELL_SPIRIT_HEAL, SPELL_SPIRIT_HEAL_MANA, and EventProcessor::Update().
Referenced by Update().
Creature * Battleground::AddCreature | ( | uint32 | entry, |
uint32 | type, | ||
float | x, | ||
float | y, | ||
float | z, | ||
float | o, | ||
uint32 | respawntime = 0 , |
||
MotionTransport * | transport = nullptr |
||
) |
References MotionTransport::AddPassenger(), Map::AddToMap(), ASSERT, BgCreatures, Transport::CalculatePassengerPosition(), Creature::Create(), FindBgMap(), Map::GenerateLowGuid(), Object::GetGUID(), Unit::IsVehicle(), LOG_ERROR, m_InstanceID, m_MapId, MOVE_RUN, MOVE_WALK, PHASEMASK_NORMAL, Creature::SetHomePosition(), Unit::SetPvP(), Creature::SetRespawnDelay(), Unit::SetSpeed(), sObjectMgr, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, WorldObject::SummonCreature(), and TEMPSUMMON_MANUAL_DESPAWN.
Referenced by BattlegroundAV::AddAVCreature(), AddSpiritGuide(), BattlegroundSA::CaptureGraveyard(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAB::NodeOccupied(), BattlegroundAV::PopulateNode(), BattlegroundSA::ResetObjs(), BattlegroundDS::SetupBattleground(), and BattlegroundIC::SetupBattleground().
bool Battleground::AddObject | ( | uint32 | type, |
uint32 | entry, | ||
float | x, | ||
float | y, | ||
float | z, | ||
float | o, | ||
float | rotation0, | ||
float | rotation1, | ||
float | rotation2, | ||
float | rotation3, | ||
uint32 | respawnTime = 0 , |
||
GOState | goState = GO_STATE_READY |
||
) |
References Map::AddToMap(), ASSERT, BgObjects, GameObject::Create(), FindBgMap(), Map::GenerateLowGuid(), GetBgMap(), Object::GetGUID(), LOG_ERROR, m_InstanceID, m_MapId, PHASEMASK_NORMAL, and sObjectMgr.
Referenced by BattlegroundSA::CaptureGraveyard(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundIC::HandleCapturedNodes(), BattlegroundIC::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundAB::SetupBattleground(), BattlegroundAV::SetupBattleground(), BattlegroundBE::SetupBattleground(), BattlegroundDS::SetupBattleground(), BattlegroundEY::SetupBattleground(), BattlegroundIC::SetupBattleground(), BattlegroundNA::SetupBattleground(), BattlegroundRL::SetupBattleground(), BattlegroundRV::SetupBattleground(), and BattlegroundWS::SetupBattleground().
References Group::AddMember(), Group::ChangeLeader(), Group::Create(), GetBgRaid(), Player::GetGroup(), Object::GetGUID(), Group::GetMemberGroup(), Player::GetOriginalGroup(), Group::isBFGroup(), Group::isBGGroup(), Group::IsMember(), LOG_INFO, Group::SendUpdate(), Player::SetBattlegroundOrBattlefieldRaid(), SetBgRaid(), and sGroupMgr.
Referenced by AddPlayer().
|
virtual |
Reimplemented in Arena, BattlegroundAB, BattlegroundAV, BattlegroundEY, BattlegroundIC, BattlegroundSA, and BattlegroundWS.
References ACHIEVEMENT_CRITERIA_CONDITION_BG_MAP, AddOrSetPlayerToCorrectBgGroup(), Unit::CastSpell(), Player::DestroyConjuredItems(), Player::GetBgTeamId(), Object::GetGUID(), GetMapId(), WorldObject::GetName(), Player::GetPet(), GetStatus(), Player::HasPlayerFlag(), isArena(), LOG_DEBUG, m_Players, PLAYER_FLAGS_AFK, PlayerAddedToBGCheckIfBGIsRunning(), Player::RemoveArenaEnchantments(), Unit::RemoveAurasByType(), Player::ResetAchievementCriteria(), Player::ResetAllPowers(), sBattlegroundMgr, SendPacketToTeam(), SPELL_ARENA_PREPARATION, SPELL_AURA_MOUNTED, SPELL_PREPARATION, sScriptMgr, STATUS_WAIT_JOIN, TEMP_ENCHANTMENT_SLOT, Player::ToggleAFK(), Player::UnsummonPetTemporaryIfAny(), and UpdatePlayersCountByTeam().
Referenced by Arena::AddPlayer(), BattlegroundAB::AddPlayer(), BattlegroundAV::AddPlayer(), BattlegroundEY::AddPlayer(), BattlegroundIC::AddPlayer(), BattlegroundSA::AddPlayer(), and BattlegroundWS::AddPlayer().
void Battleground::AddPlayerToResurrectQueue | ( | ObjectGuid | npc_guid, |
ObjectGuid | player_guid | ||
) |
References Unit::CastSpell(), ObjectAccessor::FindPlayer(), m_ReviveQueue, and SPELL_WAITING_FOR_RESURRECT.
Referenced by WorldSession::HandleAreaSpiritHealerQueueOpcode(), and WorldSession::HandleGossipHelloOpcode().
|
inline |
References m_Spectators.
bool Battleground::AddSpiritGuide | ( | uint32 | type, |
float | x, | ||
float | y, | ||
float | z, | ||
float | o, | ||
TeamId | teamId | ||
) |
References AddCreature(), BG_CREATURE_ENTRY_A_SPIRITGUIDE, BG_CREATURE_ENTRY_H_SPIRITGUIDE, EndNow(), LOG_ERROR, m_InstanceID, m_MapId, SPELL_SPIRIT_HEAL_CHANNEL, TEAM_ALLIANCE, UNIT_CHANNEL_SPELL, UNIT_FIELD_CHANNEL_OBJECT, and UNIT_MOD_CAST_SPEED.
Referenced by BattlegroundSA::CaptureGraveyard(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAB::NodeOccupied(), BattlegroundAV::PopulateNode(), BattlegroundSA::ResetObjs(), BattlegroundAB::SetupBattleground(), BattlegroundAV::SetupBattleground(), BattlegroundEY::SetupBattleground(), BattlegroundIC::SetupBattleground(), and BattlegroundWS::SetupBattleground().
|
inline |
References m_ToBeTeleported.
Referenced by ArenaSpectator::HandleSpectatorSpectateCommand().
void Battleground::AddToBGFreeSlotQueue | ( | ) |
References _InBGFreeSlotQueue, isBattleground(), m_RealTypeID, and sBattlegroundMgr.
Referenced by RemovePlayerAtLeave(), and StartBattleground().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundEY, and BattlegroundIC.
Referenced by achievement_bg_control_all_nodes::OnCheck().
void Battleground::BlockMovement | ( | Player * | player | ) |
References Player::SetClientControl().
Referenced by EndBattleground(), and PlayerAddedToBGCheckIfBGIsRunning().
void Battleground::BroadcastWorker | ( | Do & | _do | ) |
References m_Players.
Referenced by SendBroadcastText().
void Battleground::BuildPvPLogDataPacket | ( | WorldPacket & | data | ) |
References _arenaTeamScores, GetPlayerScores(), GetStatus(), GetWinner(), WorldPacket::Initialize(), isArena(), MSG_PVP_LOG_DATA, PlayerScores, PVP_TEAMS_COUNT, and STATUS_WAIT_LEAVE.
Referenced by EndBattleground(), WorldSession::HandlePVPLogDataOpcode(), and PlayerAddedToBGCheckIfBGIsRunning().
References m_Players.
Referenced by BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::HandleKillUnit(), BattlegroundAB::NodeOccupied(), and BattlegroundAV::PostUpdateImpl().
|
inlinevirtual |
|
inline |
bool Battleground::DelCreature | ( | uint32 | type | ) |
References BgCreatures, GetBgMap(), LOG_ERROR, m_InstanceID, and m_MapId.
Referenced by BattlegroundSA::CaptureGraveyard(), BattlegroundAV::ChangeMineOwner(), BattlegroundAV::DePopulateNode(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamLostPoint(), BattlegroundIC::HandleContestedNodes(), BattlegroundAV::HandleKillUnit(), BattlegroundAB::NodeDeoccupied(), BattlegroundAV::PopulateNode(), BattlegroundAV::ResetBGSubclass(), BattlegroundSA::ResetObjs(), and ~Battleground().
bool Battleground::DelObject | ( | uint32 | type | ) |
References BgObjects, GetBgMap(), LOG_ERROR, m_InstanceID, and m_MapId.
Referenced by _ProcessJoin(), BattlegroundSA::CaptureGraveyard(), BattlegroundSA::DestroyGate(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundIC::HandleContestedNodes(), BattlegroundIC::PostUpdateImpl(), BattlegroundSA::ResetObjs(), and ~Battleground().
|
inlinevirtual |
Reimplemented in BattlegroundIC, and BattlegroundSA.
|
inlinevirtual |
Reimplemented in BattlegroundIC.
void Battleground::DoorClose | ( | uint32 | type | ) |
References BgObjects, GetBgMap(), GO_ACTIVATED, GO_READY, GO_STATE_READY, LOG_ERROR, m_InstanceID, and m_MapId.
Referenced by BattlegroundDS::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundAB::StartingEventCloseDoors(), BattlegroundAV::StartingEventCloseDoors(), and BattlegroundWS::StartingEventCloseDoors().
void Battleground::DoorOpen | ( | uint32 | type | ) |
References BgObjects, GetBgMap(), GO_ACTIVATED, GO_STATE_ACTIVE, LOG_ERROR, m_InstanceID, and m_MapId.
Referenced by BattlegroundIC::DestroyGate(), BattlegroundDS::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundAB::StartingEventOpenDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundBE::StartingEventOpenDoors(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundIC::StartingEventOpenDoors(), BattlegroundNA::StartingEventOpenDoors(), BattlegroundRL::StartingEventOpenDoors(), BattlegroundRV::StartingEventOpenDoors(), BattlegroundWS::StartingEventOpenDoors(), and BattlegroundSA::StartShips().
void Battleground::EndBattleground | ( | PvPTeamId | winnerTeamId | ) |
References ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_BATTLEGROUND, ACHIEVEMENT_CRITERIA_TYPE_WIN_BG, BG_TEXT_ALLIANCE_WINS, BG_TEXT_HORDE_WINS, BlockMovement(), BuildPvPLogDataPacket(), CHAR_INS_PVPSTATS_BATTLEGROUND, CHAR_INS_PVPSTATS_PLAYER, CHAR_SEL_PVPSTATS_MAXID, CharacterDatabase, CHAT_MSG_BG_SYSTEM_NEUTRAL, CONFIG_BATTLEGROUND_STORE_STATISTICS_ENABLE, CONFIG_BG_REWARD_LOSER_HONOR_FIRST, CONFIG_BG_REWARD_LOSER_HONOR_LAST, CONFIG_BG_REWARD_WINNER_ARENA_FIRST, CONFIG_BG_REWARD_WINNER_ARENA_LAST, CONFIG_BG_REWARD_WINNER_HONOR_FIRST, CONFIG_BG_REWARD_WINNER_HONOR_LAST, CONFIG_DAILY_RBG_MIN_LEVEL_AP_REWARD, EVENT_SPIRIT_OF_COMPETITION, Field::Get(), GetArenaType(), GetBgTypeID(), GetBonusHonorFromKill(), GetStartTime(), GetStatus(), GetTeamId(), GetUniqueBracketId(), GetWinner(), isBattleground(), BattlegroundMgr::IsBGWeekend(), IsEventActive(), IsRandom(), m_EndTime, m_Players, PlayerScores, PlaySoundToAll(), PVP_TEAM_ALLIANCE, PVP_TEAM_HORDE, RemoveFromBGFreeSlotQueue(), sBattlegroundMgr, SCORE_BONUS_HONOR, SendBroadcastText(), PreparedStatementBase::SetData(), SetStatus(), SetWinner(), SOUND_ALLIANCE_WINS, SOUND_HORDE_WINS, SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_SPIRIT_OF_REDEMPTION, sScriptMgr, STATUS_IN_PROGRESS, STATUS_WAIT_LEAVE, sWorld, TIME_TO_AUTOREMOVE, and UpdatePlayerScore().
Referenced by _ProcessProgress(), EndBattleground(), Arena::EndBattleground(), BattlegroundAB::EndBattleground(), BattlegroundAV::EndBattleground(), BattlegroundEY::EndBattleground(), BattlegroundSA::EndBattleground(), BattlegroundWS::EndBattleground(), BattlegroundIC::HandleKillPlayer(), BattlegroundIC::HandleKillUnit(), and Update().
|
inlinevirtual |
Reimplemented in Arena, BattlegroundAB, BattlegroundAV, BattlegroundEY, BattlegroundSA, and BattlegroundWS.
References EndBattleground(), and GetPvPTeamId().
|
protected |
References RemoveFromBGFreeSlotQueue(), SetEndTime(), SetStatus(), and STATUS_WAIT_LEAVE.
Referenced by _ProcessJoin(), and AddSpiritGuide().
|
inlinevirtual |
Reimplemented in BattlegroundEY, BattlegroundWS, BattlegroundIC, BattlegroundAB, BattlegroundAV, and BattlegroundSA.
Referenced by GameObject::Use().
|
inlinevirtual |
Reimplemented in BattlegroundIC, and BattlegroundSA.
|
inlinevirtual |
Reimplemented in BattlegroundEY, and BattlegroundWS.
|
inlinevirtual |
Reimplemented in BattlegroundSA.
|
inlinevirtual |
Reimplemented in BattlegroundBE, BattlegroundDS, BattlegroundNA, BattlegroundRL, BattlegroundRV, Arena, BattlegroundAB, BattlegroundAV, BattlegroundEY, BattlegroundIC, BattlegroundSA, and BattlegroundWS.
Referenced by Player::SendInitWorldStates().
|
inline |
char const * Battleground::GetAcoreString | ( | int32 | entry | ) |
References sObjectMgr.
References FORM_SPIRITOFREDEMPTION, m_Players, and UNIT_FIELD_BYTES_2.
Referenced by Arena::CheckWinConditions(), Arena::EndBattleground(), Arena::FillInitialWorldStates(), and Arena::UpdateArenaWorldState().
References m_ArenaTeamMMR.
Referenced by Arena::EndBattleground(), and Arena::RemovePlayerAtLeave().
References m_ArenaTeamIds.
Referenced by Arena::EndBattleground(), and Arena::RemovePlayerAtLeave().
|
inline |
References m_ArenaType.
Referenced by _ProcessJoin(), EndBattleground(), Arena::EndBattleground(), WorldSession::HandleBattleFieldPortOpcode(), misc_commandscript::HandleSkirmishCommand(), achievement_arena_by_type::OnCheck(), PlayerAddedToBGCheckIfBGIsRunning(), ReadyMarkerClicked(), RemovePlayerAtLeave(), and AchievementMgr::UpdateAchievementCriteria().
References BgCreatures, GetBgMap(), Map::GetCreature(), LOG_ERROR, m_InstanceID, and m_MapId.
Referenced by BattlegroundSA::CaptureGraveyard(), BattlegroundAV::ChangeMineOwner(), BattlegroundSA::DemolisherStartState(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::HandleKillUnit(), BattlegroundSA::OverrideGunFaction(), BattlegroundAV::PostUpdateImpl(), BattlegroundDS::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundIC::SetupBattleground(), BattlegroundIC::TurnBosses(), and BattlegroundSA::UpdateDemolisherSpawns().
|
inline |
Referenced by _ProcessJoin(), _ProcessProgress(), AddObject(), BattlegroundSA::CaptureGraveyard(), DelCreature(), DelObject(), DoorClose(), DoorOpen(), Arena::EndBattleground(), BattlegroundSA::EventPlayerDamagedGO(), BattlegroundSA::EventPlayerUsedGO(), BattlegroundEY::EventTeamCapturedPoint(), GetBGCreature(), GetBGObject(), BattlegroundRV::GetPillarAtPosition(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAB::NodeOccupied(), BattlegroundAV::PopulateNode(), BattlegroundIC::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundSA::PostUpdateImpl(), BattlegroundWS::RespawnFlagAfterDrop(), BattlegroundIC::SetupBattleground(), SpiritOfCompetitionEvent(), BattlegroundDS::StartingEventOpenDoors(), and BattlegroundRV::UpdatePillars().
GameObject * Battleground::GetBGObject | ( | uint32 | type | ) |
References BgObjects, GetBgMap(), Map::GetGameObject(), LOG_ERROR, m_InstanceID, and m_MapId.
Referenced by BattlegroundSA::DemolisherStartState(), BattlegroundIC::DestroyGate(), BattlegroundSA::DestroyGate(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundSA::EventPlayerDamagedGO(), BattlegroundIC::HandleCapturedNodes(), BattlegroundIC::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundSA::SendTransportInit(), BattlegroundSA::SendTransportsRemove(), BattlegroundIC::SetupBattleground(), BattlegroundRV::SetupBattleground(), BattlegroundIC::StartingEventOpenDoors(), BattlegroundSA::StartShips(), BattlegroundSA::UpdateObjectInteractionFlags(), and BattlegroundEY::UpdatePointsState().
References m_BgRaids.
Referenced by AddOrSetPlayerToCorrectBgGroup(), RemovePlayerAtLeave(), and Group::~Group().
|
inline |
References m_RandomTypeID, and m_RealTypeID.
Referenced by _ProcessJoin(), BattlegroundMgr::AddBattleground(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), BGSpamProtect::CanAnnounce(), Group::CanJoinBattlegroundQueue(), EndBattleground(), GetTeamScore(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), misc_commandscript::HandleSkirmishCommand(), BattlegroundAB::Init(), BattlegroundEY::Init(), BattlegroundWS::Init(), BattlegroundQueue::InviteGroupToBG(), SpellArea::IsFitToRequirements(), achievement_resilient_victory::OnCheck(), achievement_bg_ic_resource_glut::OnCheck(), achievement_everything_counts::OnCheck(), achievement_bg_av_perfection::OnCheck(), achievement_sa_defense_of_the_ancients::OnCheck(), achievement_not_even_a_scratch::OnCheck(), achievement_save_the_day::OnCheck(), RemovePlayerAtLeave(), Player::SendInitWorldStates(), ToBattlegroundAB(), ToBattlegroundAV(), ToBattlegroundBE(), ToBattlegroundDS(), ToBattlegroundEY(), ToBattlegroundIC(), ToBattlegroundNA(), ToBattlegroundRL(), ToBattlegroundRV(), ToBattlegroundSA(), ToBattlegroundWS(), GameObject::Use(), and ~Battleground().
References GetMaxLevel(), and Acore::Honor::hk_honor_at_level().
Referenced by BattlegroundEY::AddPoints(), BattlegroundSA::DestroyGate(), EndBattleground(), BattlegroundAB::EndBattleground(), BattlegroundAV::EndBattleground(), BattlegroundEY::EndBattleground(), BattlegroundSA::EndBattleground(), BattlegroundWS::EndBattleground(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::HandleKillUnit(), and BattlegroundAB::PostUpdateImpl().
|
inline |
|
inline |
References m_ClientInstanceID.
Referenced by BattlegroundMgr::BuildBattlegroundStatusPacket(), and BattlegroundMgr::Update().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundEY, BattlegroundIC, BattlegroundSA, and BattlegroundWS.
References Player::GetBgTeamId(), and sGraveyard.
Referenced by RelocateDeadPlayers().
|
inline |
|
inlinevirtual |
Reimplemented in BattlegroundWS, and BattlegroundEY.
References ObjectGuid::Empty.
Referenced by WorldSession::HandleBattlegroundPlayerPositionsOpcode().
References BG_QUEUE_INVITATION_TYPE_NO_BALANCE, CONFIG_BATTLEGROUND_INVITATION_TYPE, GetInvitedCount(), GetMaxPlayersPerTeam(), GetMinPlayersPerTeam(), GetPlayersCountByTeam(), GetStatus(), STATUS_IN_PROGRESS, STATUS_WAIT_JOIN, sWorld, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundQueue::FillPlayersToBG(), GetMaxFreeSlots(), and HasFreeSlots().
|
inline |
|
inline |
|
inline |
References m_MapId.
Referenced by _CheckSafePositions(), AddPlayer(), BattlegroundQueue::BattlegroundQueueAnnouncerUpdate(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), Group::CanJoinBattlegroundQueue(), BattlegroundSA::CaptureGraveyard(), MapInstanced::CreateBattleground(), BattlegroundIC::DoAction(), Arena::EndBattleground(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), misc_commandscript::HandleSkirmishCommand(), RelocateDeadPlayers(), and RemovePlayerAtLeave().
uint32 Battleground::GetMaxFreeSlots | ( | ) | const |
References GetFreeSlotsForTeam(), TEAM_ALLIANCE, and TEAM_HORDE.
|
inline |
|
inline |
References m_MaxPlayersPerTeam.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), GetFreeSlotsForTeam(), and WorldSession::HandleBattlemasterJoinOpcode().
|
inline |
References m_LevelMin.
Referenced by _ProcessJoin(), BattlegroundMgr::BuildBattlegroundStatusPacket(), and MapInstanced::CreateBattleground().
|
inline |
References m_MinPlayersPerTeam.
Referenced by BattlegroundQueue::BattlegroundQueueAnnouncerUpdate(), BattlegroundQueue::BattlegroundQueueUpdate(), Group::CanJoinBattlegroundQueue(), GetFreeSlotsForTeam(), GetPrematureWinner(), WorldSession::HandleBattlemasterJoinOpcode(), BattlegroundQueue::SendMessageBGQueue(), and Update().
|
inline |
int32 Battleground::GetObjectType | ( | ObjectGuid | guid | ) |
References BgObjects, LOG_ERROR, m_InstanceID, m_MapId, and ObjectGuid::ToString().
Referenced by BattlegroundAV::EventPlayerClickedOnFlag().
References TEAM_ALLIANCE, TEAM_HORDE, and TEAM_NEUTRAL.
Referenced by Arena::EndBattleground(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAB::PostUpdateImpl(), BattlegroundSA::PostUpdateImpl(), Arena::RemovePlayerAtLeave(), BattlegroundSA::ResetObjs(), and BattlegroundAV::UpdateScore().
|
inline |
References m_Players.
Referenced by _CheckSafePositions(), _ProcessJoin(), BattlegroundAB::ApplyPhaseMask(), Arena::EndBattleground(), BattlegroundSA::EventPlayerUsedGO(), ArenaSpectator::HandleResetCommand(), Player::NeedSendSpectatorData(), BattlegroundSA::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundSA::StartShips(), StartTimedAchievement(), BattlegroundSA::TeleportPlayers(), and BattlegroundEY::UpdatePointsState().
|
inline |
|
inline |
References PlayerScores.
References m_PlayersCount.
Referenced by Arena::CheckWinConditions(), GetFreeSlotsForTeam(), GetPrematureWinner(), and Update().
|
inline |
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundEY, and BattlegroundWS.
References GetMinPlayersPerTeam(), GetPlayersCountByTeam(), TEAM_ALLIANCE, TEAM_HORDE, and TEAM_NEUTRAL.
Referenced by _ProcessProgress(), BattlegroundAB::GetPrematureWinner(), BattlegroundAV::GetPrematureWinner(), BattlegroundEY::GetPrematureWinner(), and BattlegroundWS::GetPrematureWinner().
References BG_REP_AB_ALLIANCE, BG_REP_AB_HORDE, BG_REP_AV_ALLIANCE, BG_REP_AV_HORDE, BG_REP_WS_ALLIANCE, BG_REP_WS_HORDE, Player::GetBgTeamId(), and Player::GetTeamId().
Referenced by RewardReputationToTeam().
|
inline |
|
inline |
References m_Spectators.
|
inline |
References m_StartDelayTime.
Referenced by _ProcessJoin(), Arena::EndBattleground(), and ReadyMarkerClicked().
|
inline |
|
inline |
References m_StartTime.
Referenced by _ProcessJoin(), EndBattleground(), Arena::EndBattleground(), BattlegroundWS::GetMatchTime(), WorldSession::HandleBattleFieldPortOpcode(), ArenaSpectator::HandleResetCommand(), misc_commandscript::HandleSkirmishCommand(), PlayerAddedToBGCheckIfBGIsRunning(), BattlegroundWS::PostUpdateImpl(), Player::ReportedAfkBy(), and Update().
|
inline |
References m_Status.
Referenced by _ProcessJoin(), AddPlayer(), BattlegroundQueue::BattlegroundQueueUpdate(), BuildPvPLogDataPacket(), BattlegroundWS::CheckFlagKeeperInArea(), MapInstanced::CreateInstanceForPlayer(), EndBattleground(), Arena::EndBattleground(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BGQueueRemoveEvent::Execute(), BattlegroundAV::FillInitialWorldStates(), BattlegroundWS::FillInitialWorldStates(), BattlegroundWS::GetClosestGraveyard(), GetFreeSlotsForTeam(), BattlegroundAB::HandleAreaTrigger(), BattlegroundAV::HandleAreaTrigger(), BattlegroundBE::HandleAreaTrigger(), BattlegroundDS::HandleAreaTrigger(), BattlegroundEY::HandleAreaTrigger(), BattlegroundIC::HandleAreaTrigger(), BattlegroundNA::HandleAreaTrigger(), BattlegroundRL::HandleAreaTrigger(), BattlegroundRV::HandleAreaTrigger(), BattlegroundSA::HandleAreaTrigger(), BattlegroundWS::HandleAreaTrigger(), WorldSession::HandleBattleFieldPortOpcode(), Arena::HandleKillPlayer(), BattlegroundAV::HandleKillPlayer(), BattlegroundEY::HandleKillPlayer(), BattlegroundIC::HandleKillPlayer(), BattlegroundWS::HandleKillPlayer(), BattlegroundAV::HandleKillUnit(), BattlegroundIC::HandleKillUnit(), BattlegroundAV::HandleQuestComplete(), ArenaSpectator::HandleResetCommand(), ArenaSpectator::HandleSpectatorSpectateCommand(), ArenaSpectator::HandleSpectatorWatchCommand(), HandleTriggerBuff(), HasFreeSlots(), Player::LeaveBattleground(), Player::NeedSendSpectatorData(), PlayerAddedToBGCheckIfBGIsRunning(), BattlegroundAB::PostUpdateImpl(), BattlegroundAV::PostUpdateImpl(), BattlegroundDS::PostUpdateImpl(), BattlegroundEY::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundSA::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), ReadyMarkerClicked(), Arena::RemovePlayer(), RemovePlayerAtLeave(), Arena::RemovePlayerAtLeave(), Player::ReportedAfkBy(), BattlegroundWS::RespawnFlagAfterDrop(), and Update().
References GetBgTypeID(), LOG_ERROR, m_TeamScores, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::FillInitialWorldStates(), BattlegroundWS::FillInitialWorldStates(), BattlegroundAV::GetPrematureWinner(), BattlegroundEY::GetPrematureWinner(), BattlegroundWS::GetPrematureWinner(), AchievementCriteriaData::Meets(), and BattlegroundWS::PostUpdateImpl().
References _startPosition, ASSERT, and TEAM_NEUTRAL.
Referenced by _CheckSafePositions().
uint8 Battleground::GetUniqueBracketId | ( | ) | const |
References GetMaxLevel().
Referenced by EndBattleground().
|
inline |
References m_WinnerId.
Referenced by BuildPvPLogDataPacket(), EndBattleground(), and AchievementCriteriaData::Meets().
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, and BattlegroundWS.
Reimplemented in Arena, BattlegroundAV, BattlegroundEY, BattlegroundIC, and BattlegroundWS.
References Player::GetBgTeamId(), isArena(), Player::IsAtGroupRewardDistance(), m_Players, RewardXPAtKill(), SCORE_DEATHS, SCORE_HONORABLE_KILLS, SCORE_KILLING_BLOWS, Unit::SetUnitFlag(), UNIT_FLAG_SKINNABLE, and UpdatePlayerScore().
Referenced by Arena::HandleKillPlayer(), BattlegroundAV::HandleKillPlayer(), BattlegroundEY::HandleKillPlayer(), BattlegroundIC::HandleKillPlayer(), and BattlegroundWS::HandleKillPlayer().
Reimplemented in BattlegroundSA, BattlegroundAV, and BattlegroundIC.
|
inlinevirtual |
Reimplemented in BattlegroundIC.
|
inlinevirtual |
Reimplemented in BattlegroundBE, BattlegroundDS, BattlegroundNA, BattlegroundRL, and BattlegroundRV.
Referenced by WorldSession::HandleMovementOpcodes().
void Battleground::HandleTriggerBuff | ( | GameObject * | gameObject | ) |
References BERSERKING_BUFF_RESPAWN_TIME, BG_OBJECTID_BERSERKERBUFF_ENTRY, BG_OBJECTID_REGENBUFF_ENTRY, BgObjects, Buff_Entries, FindBgMap(), Object::GetEntry(), Object::GetGUID(), GetPlayersSize(), GetStatus(), m_BuffChange, RESPAWN_ONE_DAY, RESTORATION_BUFF_RESPAWN_TIME, SpawnBGObject(), SPEED_BUFF_RESPAWN_TIME, STATUS_IN_PROGRESS, and urand().
bool Battleground::HasFreeSlots | ( | ) | const |
References GetFreeSlotsForTeam(), GetStatus(), PVP_TEAMS_COUNT, STATUS_IN_PROGRESS, and STATUS_WAIT_JOIN.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate().
|
inline |
|
inline |
References m_BgInvitedPlayers.
Referenced by BattlegroundQueue::InviteGroupToBG().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundEY, BattlegroundRV, BattlegroundSA, and BattlegroundWS.
References _arenaTeamScores, _InBGFreeSlotQueue, ABORT, LOG_ERROR, m_BgInvitedPlayers, m_Events, m_InstanceID, m_MapId, m_Players, PlayerScores, PVP_TEAM_NEUTRAL, ResetBGSubclass(), SetEndTime(), SetLastResurrectTime(), SetStartTime(), SetStatus(), SetWinner(), STATUS_WAIT_QUEUE, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundMgr::CreateNewBattleground(), BattlegroundAB::Init(), BattlegroundEY::Init(), BattlegroundRV::Init(), BattlegroundSA::Init(), and BattlegroundWS::Init().
|
inline |
References m_IsArena.
Referenced by _ProcessJoin(), AddPlayer(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), BuildPvPLogDataPacket(), Group::CanJoinBattlegroundQueue(), BattlegroundMgr::CreateNewBattleground(), BattlegroundMgr::GetBattlegroundThroughClientInstance(), HandleKillPlayer(), WorldSession::HandlePVPLogDataOpcode(), Player::InArena(), BattlegroundQueue::InviteGroupToBG(), Unit::Mount(), ReadyMarkerClicked(), BattlegroundQueue::SendJoinMessageArenaQueue(), BattlegroundQueue::SendMessageBGQueue(), Update(), and AchievementMgr::UpdateAchievementCriteria().
|
inline |
References m_IsArena.
Referenced by AddToBGFreeSlotQueue(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundQueue::CheckNormalMatch(), EndBattleground(), BGQueueRemoveEvent::Execute(), WorldSession::HandleBattleFieldPortOpcode(), Player::LeaveBattleground(), RemovePlayerAtLeave(), and UpdatePlayerScore().
bool Battleground::IsPlayerInBattleground | ( | ObjectGuid | guid | ) | const |
References m_Players.
Referenced by ArenaSpectator::HandleSpectatorWatchCommand().
|
inline |
|
inline |
References m_IsRated.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), Group::CanJoinBattlegroundQueue(), Arena::EndBattleground(), BGQueueInviteEvent::Execute(), WorldSession::HandleBattlefieldStatusOpcode(), BattlegroundQueue::InviteGroupToBG(), and Arena::RemovePlayerAtLeave().
|
inline |
|
protected |
References BlockMovement(), BuildPvPLogDataPacket(), GetArenaType(), Player::GetBgTeamId(), Player::GetCurrentBattlegroundQueueSlot(), GetEndTime(), Player::GetSession(), GetStartTime(), GetStatus(), sBattlegroundMgr, WorldSession::SendPacket(), STATUS_IN_PROGRESS, and STATUS_WAIT_LEAVE.
Referenced by AddPlayer().
void Battleground::PlaySoundToAll | ( | uint32 | soundId | ) |
References SendPacketToAll().
Referenced by _ProcessJoin(), BattlegroundAV::ChangeMineOwner(), EndBattleground(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundAB::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BattlegroundEY::RespawnFlag(), BattlegroundWS::RespawnFlagAfterDrop(), and BattlegroundAV::UpdateScore().
|
inlineprivatevirtual |
Post-update hook.
Will be called after battleground update has passed. May be used to implement custom update effects in subclasses.
diff | a time difference between two worldserver update loops in milliseconds. |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundRV, BattlegroundSA, and BattlegroundWS.
Referenced by Update().
|
inlineprivatevirtual |
Pre-update hook.
Will be called before battleground update is started. Depending on the result of this call actual update body may be skipped.
diff | a time difference between two worldserver update loops in milliseconds. |
true
if update must be performed, false
otherwise.Referenced by Update().
void Battleground::ReadyMarkerClicked | ( | Player * | p | ) |
References BG_START_DELAY_15S, BG_STARTING_EVENT_2, BG_STARTING_EVENT_3, GetArenaType(), Object::GetGUID(), ArenaTeam::GetReqPlayersForType(), Player::GetSession(), GetStartDelayTime(), GetStatus(), isArena(), Player::IsSpectator(), m_Events, m_StartTime, readyMarkerClickedSet, ChatHandler::SendNotification(), SetStartDelayTime(), and STATUS_IN_PROGRESS.
void Battleground::RelocateDeadPlayers | ( | ObjectGuid | queueIndex | ) |
Relocate all players in ReviveQueue to the closest graveyard.
References ObjectAccessor::FindPlayer(), GetClosestGraveyard(), GetMapId(), Position::GetOrientation(), m_ReviveQueue, Player::TeleportTo(), GraveyardStruct::x, GraveyardStruct::y, and GraveyardStruct::z.
Referenced by BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundEY::EventTeamLostPoint(), and BattlegroundAB::NodeDeoccupied().
References m_Players.
Referenced by BattlegroundIC::HandleCapturedNodes().
void Battleground::RemoveFromBGFreeSlotQueue | ( | ) |
References _InBGFreeSlotQueue, m_InstanceID, m_RealTypeID, and sBattlegroundMgr.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), EndBattleground(), EndNow(), and ~Battleground().
|
inlineprotectedvirtual |
Reimplemented in Arena, BattlegroundAB, BattlegroundAV, BattlegroundEY, BattlegroundIC, BattlegroundSA, and BattlegroundWS.
Referenced by RemovePlayerAtLeave().
|
virtual |
Reimplemented in Arena.
References ACHIEVEMENT_CRITERIA_CONDITION_BG_MAP, AddToBGFreeSlotQueue(), BATTLEGROUND_TYPE_NONE, BattlegroundMgr::BGQueueTypeId(), Player::ClearAfkReports(), CONFIG_BATTLEGROUND_CAST_DESERTER, DecreaseInvitedCount(), DELAYED_SPELL_CAST_DESERTER, GetArenaType(), GetBgRaid(), Player::GetBgTeamId(), GetBgTypeID(), GetBracketId(), ObjectGuid::GetCounter(), Player::GetCurrentBattlegroundQueueSlot(), Object::GetGUID(), GetMapId(), Player::GetSession(), GetStatus(), Unit::IsAlive(), isBattleground(), Player::IsGameMaster(), m_Players, PLAYER_MAX_BATTLEGROUND_QUEUES, PlayerScores, Unit::RemoveAurasByType(), Player::RemoveBattlegroundQueueId(), RemovePlayer(), RemovePlayerFromResurrectQueue(), Player::ResetAchievementCriteria(), Player::ResurrectPlayer(), sBattlegroundMgr, Player::ScheduleDelayedOperation(), WorldSession::SendPacket(), SendPacketToTeam(), Player::SetBattlegroundId(), SetBgRaid(), Player::SpawnCorpseBones(), SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_MOUNTED, sScriptMgr, STATUS_IN_PROGRESS, STATUS_NONE, STATUS_WAIT_JOIN, STATUS_WAIT_LEAVE, sWorld, TEAM_NEUTRAL, and UpdatePlayersCountByTeam().
Referenced by Player::LeaveBattleground(), and Arena::RemovePlayerAtLeave().
void Battleground::RemovePlayerFromResurrectQueue | ( | Player * | player | ) |
References Object::GetGUID(), m_ReviveQueue, Unit::RemoveAurasDueToSpell(), and SPELL_WAITING_FOR_RESURRECT.
Referenced by RemovePlayerAtLeave().
|
inline |
References m_Spectators.
|
inline |
References m_ToBeTeleported.
|
inlinevirtual |
References m_Players, SCORE_BONUS_HONOR, and UpdatePlayerScore().
Referenced by BattlegroundEY::AddPoints(), BattlegroundAB::EndBattleground(), BattlegroundAV::EndBattleground(), BattlegroundEY::EndBattleground(), BattlegroundSA::EndBattleground(), BattlegroundWS::EndBattleground(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::HandleKillUnit(), BattlegroundIC::HandleKillUnit(), BattlegroundAB::PostUpdateImpl(), and BattlegroundIC::PostUpdateImpl().
References AddPct(), GetRealRepFactionForPlayer(), m_Players, sFactionStore, SPELL_AURA_MOD_FACTION_REPUTATION_GAIN, and SPELL_AURA_MOD_REPUTATION_GAIN.
Referenced by BattlegroundAV::EndBattleground(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::HandleKillUnit(), BattlegroundAV::HandleQuestComplete(), and BattlegroundAB::PostUpdateImpl().
References CONFIG_BG_XP_FOR_KILL, Player::RewardPlayerAndGroupAtKill(), and sWorld.
Referenced by HandleKillPlayer().
void Battleground::SendBroadcastText | ( | uint32 | id, |
ChatMsg | msgType, | ||
WorldObject const * | target = nullptr |
||
) |
References BroadcastWorker(), GENDER_MALE, LOG_ERROR, and sObjectMgr.
Referenced by _ProcessJoin(), BattlegroundIC::DestroyGate(), EndBattleground(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), BattlegroundAB::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundSA::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BattlegroundEY::RespawnFlag(), BattlegroundWS::RespawnFlagAfterDrop(), and BattlegroundAV::UpdateScore().
void Battleground::SendChatMessage | ( | Creature * | source, |
uint8 | textId, | ||
WorldObject * | target = nullptr |
||
) |
References sCreatureTextMgr.
void Battleground::SendPacketToAll | ( | WorldPacket const * | packet | ) |
References m_Players.
Referenced by PlaySoundToAll(), and UpdateWorldState().
void Battleground::SendPacketToTeam | ( | TeamId | teamId, |
WorldPacket const * | packet, | ||
Player * | sender = nullptr , |
||
bool | self = true |
||
) |
References m_Players.
Referenced by AddPlayer(), and RemovePlayerAtLeave().
References m_ArenaTeamMMR.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), and Arena::EndBattleground().
|
inline |
References m_IsArena.
Referenced by BattlegroundMgr::CreateBattleground().
References m_ArenaTeamIds.
Referenced by BattlegroundQueue::InviteGroupToBG().
|
inline |
References m_ArenaType.
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
References m_Map.
Referenced by MapInstanced::CreateBattleground(), and BattlegroundMap::~BattlegroundMap().
References m_BgRaids, and Group::SetBattlegroundGroup().
Referenced by AddOrSetPlayerToCorrectBgGroup(), Arena::AddPlayer(), RemovePlayerAtLeave(), and Group::~Group().
|
inline |
References m_RealTypeID.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
void Battleground::SetBracket | ( | PvPDifficultyEntry const * | bracketEntry | ) |
References PvPDifficultyEntry::GetBracketId(), m_BracketId, PvPDifficultyEntry::maxLevel, PvPDifficultyEntry::minLevel, and SetLevelRange().
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
References m_ClientInstanceID.
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inlinevirtual |
Reimplemented in BattlegroundWS, and BattlegroundEY.
|
inline |
void Battleground::SetHoliday | ( | bool | is_holiday | ) |
References BG_HOLIDAY, BG_NORMAL, and m_HonorMode.
|
inline |
References m_InstanceID.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
References m_LastResurrectTime.
Referenced by Init(), and StartBattleground().
References m_LevelMax, and m_LevelMin.
Referenced by BattlegroundMgr::CreateBattleground(), and SetBracket().
|
inline |
|
inline |
References m_MaxPlayersPerTeam.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
References m_MinPlayersPerTeam.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
References m_Name.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
References m_IsRandom.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
|
inline |
References m_IsRated.
Referenced by BattlegroundMgr::CreateNewBattleground(), and WorldSession::HandleBattlemasterJoinArena().
|
inline |
References ScriptId.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
References m_StartDelayTime.
Referenced by _ProcessJoin(), and ReadyMarkerClicked().
|
inline |
References m_StartMaxDist.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
|
inline |
References m_Status.
Referenced by _ProcessJoin(), BattlegroundMgr::CreateNewBattleground(), EndBattleground(), EndNow(), Init(), BattlegroundSA::PostUpdateImpl(), and BattlegroundSA::ResetObjs().
References _startPosition, ASSERT, and TEAM_NEUTRAL.
Referenced by BattlegroundMgr::CreateBattleground().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, and BattlegroundWS.
Referenced by _ProcessJoin().
|
inline |
References BgObjects, FindBgMap(), GO_JUST_DEACTIVATED, and GO_READY.
Referenced by BattlegroundAB::CreateBanner(), BattlegroundAB::DeleteBanner(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), BattlegroundAV::HandleKillUnit(), HandleTriggerBuff(), BattlegroundWS::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundEY::RespawnFlag(), BattlegroundWS::RespawnFlagAfterDrop(), BattlegroundAV::SetupBattleground(), BattlegroundAB::StartingEventCloseDoors(), BattlegroundAV::StartingEventCloseDoors(), BattlegroundBE::StartingEventCloseDoors(), BattlegroundDS::StartingEventCloseDoors(), BattlegroundEY::StartingEventCloseDoors(), BattlegroundNA::StartingEventCloseDoors(), BattlegroundRL::StartingEventCloseDoors(), BattlegroundWS::StartingEventCloseDoors(), BattlegroundAB::StartingEventOpenDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundBE::StartingEventOpenDoors(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundEY::StartingEventOpenDoors(), BattlegroundNA::StartingEventOpenDoors(), BattlegroundRL::StartingEventOpenDoors(), BattlegroundRV::StartingEventOpenDoors(), and BattlegroundWS::StartingEventOpenDoors().
void Battleground::SpectatorsSendPacket | ( | WorldPacket & | data | ) |
References m_Spectators.
void Battleground::SpiritOfCompetitionEvent | ( | PvPTeamId | winnerTeamId | ) | const |
References Unit::CastSpell(), Map::DoForAllPlayers(), GetBgMap(), Player::GetBgTeamId(), Player::GetQuestStatus(), GetTeamId(), PVP_TEAM_NEUTRAL, QUEST_FLAG_PARTICIPANT, QUEST_FLAG_WINNER, QUEST_STATUS_REWARDED, SPELL_SPIRIT_OF_COMPETITION_PARTICIPANT, and SPELL_SPIRIT_OF_COMPETITION_WINNER.
void Battleground::StartBattleground | ( | ) |
References AddToBGFreeSlotQueue(), LOG_DEBUG, m_ArenaTeamIds, m_ArenaType, m_IsRated, sBattlegroundMgr, SetLastResurrectTime(), SetStartTime(), TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), and misc_commandscript::HandleSkirmishCommand().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundSA, and BattlegroundWS.
Referenced by _ProcessJoin().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, and BattlegroundWS.
Referenced by _ProcessJoin().
void Battleground::StartTimedAchievement | ( | AchievementCriteriaTimedTypes | type, |
uint32 | entry | ||
) |
References GetPlayers().
Referenced by BattlegroundSA::PostUpdateImpl(), BattlegroundAB::StartingEventOpenDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundEY::StartingEventOpenDoors(), and BattlegroundWS::StartingEventOpenDoors().
|
inline |
References BATTLEGROUND_AB, and GetBgTypeID().
Referenced by achievement_resilient_victory::OnCheck().
|
inline |
References BATTLEGROUND_AB, and GetBgTypeID().
|
inline |
References BATTLEGROUND_AV, and GetBgTypeID().
Referenced by achievement_everything_counts::OnCheck(), and achievement_bg_av_perfection::OnCheck().
|
inline |
References BATTLEGROUND_AV, and GetBgTypeID().
|
inline |
References BATTLEGROUND_BE, and GetBgTypeID().
|
inline |
References BATTLEGROUND_BE, and GetBgTypeID().
|
inline |
References BATTLEGROUND_DS, and GetBgTypeID().
|
inline |
References BATTLEGROUND_DS, and GetBgTypeID().
|
inline |
References BATTLEGROUND_EY, and GetBgTypeID().
|
inline |
References BATTLEGROUND_EY, and GetBgTypeID().
|
inline |
References BATTLEGROUND_IC, and GetBgTypeID().
Referenced by SpellArea::IsFitToRequirements(), and achievement_bg_ic_resource_glut::OnCheck().
|
inline |
References BATTLEGROUND_IC, and GetBgTypeID().
|
inline |
References BATTLEGROUND_NA, and GetBgTypeID().
|
inline |
References BATTLEGROUND_NA, and GetBgTypeID().
|
inline |
References BATTLEGROUND_RL, and GetBgTypeID().
|
inline |
References BATTLEGROUND_RL, and GetBgTypeID().
|
inline |
References BATTLEGROUND_RV, and GetBgTypeID().
|
inline |
References BATTLEGROUND_RV, and GetBgTypeID().
|
inline |
References BATTLEGROUND_SA, and GetBgTypeID().
Referenced by achievement_sa_defense_of_the_ancients::OnCheck(), and achievement_not_even_a_scratch::OnCheck().
|
inline |
References BATTLEGROUND_SA, and GetBgTypeID().
|
inline |
References BATTLEGROUND_WS, and GetBgTypeID().
Referenced by achievement_save_the_day::OnCheck().
|
inline |
References BATTLEGROUND_WS, and GetBgTypeID().
|
inline |
void Battleground::Update | ( | uint32 | diff | ) |
References _CheckSafePositions(), _ProcessJoin(), _ProcessLeave(), _ProcessProgress(), _ProcessResurrect(), BATTLEGROUND_UPDATE_INTERVAL, EndBattleground(), GetInvitedCount(), GetMinPlayersPerTeam(), GetPlayersCountByTeam(), GetPlayersSize(), GetStartTime(), GetStatus(), IN_MILLISECONDS, isArena(), m_PrematureCountDown, m_ResetStatTimer, m_SetDeleteThis, m_StartTime, m_UpdateTimer, MINUTE, PostUpdateImpl(), PreUpdateImpl(), PVP_TEAM_NEUTRAL, sBattlegroundMgr, sScriptMgr, STATUS_IN_PROGRESS, STATUS_WAIT_JOIN, STATUS_WAIT_LEAVE, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundMgr::Update().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundEY, BattlegroundIC, and BattlegroundWS.
References ObjectGuid::GetCounter(), Object::GetGUID(), isBattleground(), PlayerScores, Player::RewardHonor(), and SCORE_BONUS_HONOR.
Referenced by BattlegroundSA::DestroyGate(), EndBattleground(), HandleKillPlayer(), BattlegroundSA::HandleKillUnit(), RewardHonorToTeam(), BattlegroundAB::UpdatePlayerScore(), BattlegroundAV::UpdatePlayerScore(), BattlegroundEY::UpdatePlayerScore(), BattlegroundIC::UpdatePlayerScore(), and BattlegroundWS::UpdatePlayerScore().
|
inline |
References m_PlayersCount.
Referenced by AddPlayer(), and RemovePlayerAtLeave().
References SendPacketToAll(), WorldPackets::WorldState::UpdateWorldState::Value, WorldPackets::WorldState::UpdateWorldState::VariableID, and WorldPackets::WorldState::UpdateWorldState::Write().
Referenced by BattlegroundEY::AddPoints(), BattlegroundSA::CaptureGraveyard(), BattlegroundIC::DestroyGate(), BattlegroundSA::DestroyGate(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundSA::EventPlayerDamagedGO(), BattlegroundIC::HandleKillPlayer(), BattlegroundAB::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundEY::RespawnFlag(), BattlegroundAV::SendMineWorldStates(), BattlegroundAB::SendNodeUpdate(), BattlegroundSA::SendTime(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundWS::StartingEventOpenDoors(), BattlegroundSA::ToggleTimer(), Arena::UpdateArenaWorldState(), BattlegroundWS::UpdateFlagState(), BattlegroundAV::UpdateNodeWorldState(), BattlegroundIC::UpdateNodeWorldState(), BattlegroundEY::UpdatePointsCount(), BattlegroundEY::UpdatePointsIcons(), and BattlegroundAV::UpdateScore().
References ChatHandler::BuildChatPacket(), CHAT_MSG_MONSTER_YELL, and m_Players.
Referenced by BattlegroundAV::ChangeMineOwner(), and BattlegroundAV::PostUpdateImpl().
|
protected |
Referenced by BuildPvPLogDataPacket(), Arena::EndBattleground(), and Init().
|
private |
Referenced by AddToBGFreeSlotQueue(), Init(), and RemoveFromBGFreeSlotQueue().
|
protected |
|
private |
Referenced by GetTeamStartPosition(), and SetTeamStartPosition().
ArenaLogEntryDataMap Battleground::ArenaLogEntries |
Referenced by Arena::EndBattleground(), and BattlegroundQueue::InviteGroupToBG().
BGCreatures Battleground::BgCreatures |
Referenced by AddCreature(), BattlegroundAB::BattlegroundAB(), BattlegroundAV::BattlegroundAV(), BattlegroundDS::BattlegroundDS(), BattlegroundEY::BattlegroundEY(), BattlegroundIC::BattlegroundIC(), BattlegroundSA::BattlegroundSA(), BattlegroundWS::BattlegroundWS(), BattlegroundSA::CaptureGraveyard(), BattlegroundAV::ChangeMineOwner(), DelCreature(), BattlegroundSA::DemolisherStartState(), BattlegroundAV::DePopulateNode(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), GetBGCreature(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAB::NodeDeoccupied(), BattlegroundAB::NodeOccupied(), BattlegroundSA::OverrideGunFaction(), BattlegroundAV::PopulateNode(), BattlegroundIC::PostUpdateImpl(), BattlegroundAV::ResetBGSubclass(), BattlegroundAB::SetupBattleground(), BattlegroundEY::SetupBattleground(), BattlegroundWS::SetupBattleground(), BattlegroundSA::UpdateDemolisherSpawns(), and ~Battleground().
BGObjects Battleground::BgObjects |
Referenced by AddObject(), BattlegroundAB::BattlegroundAB(), BattlegroundAV::BattlegroundAV(), BattlegroundBE::BattlegroundBE(), BattlegroundDS::BattlegroundDS(), BattlegroundEY::BattlegroundEY(), BattlegroundIC::BattlegroundIC(), BattlegroundNA::BattlegroundNA(), BattlegroundRL::BattlegroundRL(), BattlegroundRV::BattlegroundRV(), BattlegroundSA::BattlegroundSA(), BattlegroundWS::BattlegroundWS(), DelObject(), DoorClose(), DoorOpen(), BattlegroundWS::EventPlayerClickedOnFlag(), GetBGObject(), GetObjectType(), BattlegroundRV::GetPillarAtPosition(), HandleTriggerBuff(), BattlegroundSA::SendTransportInit(), BattlegroundSA::SendTransportsRemove(), BattlegroundAB::SetupBattleground(), BattlegroundEY::SetupBattleground(), BattlegroundWS::SetupBattleground(), SpawnBGObject(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundRV::UpdatePillars(), and ~Battleground().
|
private |
Referenced by Battleground(), GetArenaTeamIdForTeam(), SetArenaTeamIdForTeam(), and StartBattleground().
|
private |
Referenced by Battleground(), GetArenaMatchmakerRating(), and SetArenaMatchmakerRating().
|
private |
Referenced by Battleground(), GetArenaType(), SetArenaType(), and StartBattleground().
|
private |
Referenced by Battleground(), DecreaseInvitedCount(), GetInvitedCount(), IncreaseInvitedCount(), and Init().
|
private |
Referenced by Battleground(), GetBgRaid(), and SetBgRaid().
|
private |
Referenced by GetBracketId(), and SetBracket().
|
protected |
Referenced by Battleground(), BattlegroundAB::BattlegroundAB(), BattlegroundEY::BattlegroundEY(), and HandleTriggerBuff().
|
private |
Referenced by Battleground(), GetClientInstanceID(), and SetClientInstanceID().
|
private |
Referenced by _ProcessLeave(), Battleground(), EndBattleground(), GetEndTime(), and SetEndTime().
|
protected |
Referenced by _ProcessJoin(), Battleground(), Init(), and ReadyMarkerClicked().
|
protected |
Referenced by Battleground(), and SetHoliday().
|
private |
|
private |
Referenced by Battleground(), isArena(), isBattleground(), and SetArenaorBGType().
|
protected |
Referenced by Battleground(), IsRandom(), and SetRandom().
|
private |
Referenced by Battleground(), isRated(), SetRated(), and StartBattleground().
|
private |
Referenced by _ProcessResurrect(), Battleground(), GetLastResurrectTime(), and SetLastResurrectTime().
|
private |
Referenced by Battleground(), GetMaxLevel(), and SetLevelRange().
|
private |
Referenced by Battleground(), GetMinLevel(), and SetLevelRange().
|
private |
Referenced by Battleground(), FindBgMap(), GetBgMap(), SetBgMap(), and ~Battleground().
|
private |
Referenced by _ProcessJoin(), AddCreature(), AddObject(), AddSpiritGuide(), Battleground(), DelCreature(), DelObject(), DoorClose(), DoorOpen(), GetBGCreature(), GetBGObject(), GetMapId(), GetObjectType(), Init(), and SetMapId().
|
private |
Referenced by Battleground(), GetMaxPlayersPerTeam(), and SetMaxPlayersPerTeam().
|
private |
Referenced by Battleground(), GetMinPlayersPerTeam(), and SetMinPlayersPerTeam().
|
private |
|
protected |
Referenced by _ProcessLeave(), AddPlayer(), BroadcastWorker(), CastSpellOnTeam(), EndBattleground(), GetAlivePlayersCountByTeam(), GetPlayers(), GetPlayersSize(), HandleKillPlayer(), Init(), IsPlayerInBattleground(), BattlegroundRV::PostUpdateImpl(), RemoveAuraOnTeam(), RemovePlayerAtLeave(), Arena::RemovePlayerAtLeave(), RewardHonorToTeam(), RewardReputationToTeam(), SendPacketToAll(), SendPacketToTeam(), BattlegroundRV::StartingEventOpenDoors(), and YellToAll().
|
private |
Referenced by Battleground(), GetPlayersCountByTeam(), and UpdatePlayersCountByTeam().
|
private |
Referenced by _ProcessProgress(), Battleground(), and Update().
|
private |
Referenced by _ProcessProgress(), and Battleground().
|
private |
Referenced by Battleground(), GetBgTypeID(), and SetRandomTypeID().
|
private |
Referenced by AddToBGFreeSlotQueue(), Battleground(), GetBgTypeID(), RemoveFromBGFreeSlotQueue(), and SetBgTypeID().
|
private |
Referenced by _ProcessJoin(), Battleground(), and Update().
|
private |
Referenced by _ProcessResurrect().
|
protected |
|
private |
Referenced by Battleground(), ToBeDeleted(), and Update().
|
private |
Referenced by _ProcessJoin(), AddSpectator(), GetSpectators(), HaveSpectators(), RemoveSpectator(), and SpectatorsSendPacket().
|
private |
Referenced by Battleground(), GetStartDelayTime(), ModifyStartDelayTime(), and SetStartDelayTime().
|
private |
Referenced by Battleground(), GetStartMaxDist(), and SetStartMaxDist().
|
private |
Referenced by Battleground(), GetStartTime(), ReadyMarkerClicked(), SetStartTime(), and Update().
|
private |
Referenced by Battleground(), GetStatus(), and SetStatus().
|
protected |
|
private |
Referenced by _ProcessJoin(), AddToBeTeleported(), and RemoveToBeTeleported().
|
protected |
Referenced by Battleground(), and Update().
|
private |
Referenced by _CheckSafePositions(), and Battleground().
|
private |
Referenced by Battleground(), GetWinner(), and SetWinner().
|
protected |
Referenced by Arena::AddPlayer(), BattlegroundAB::AddPlayer(), BattlegroundAV::AddPlayer(), BattlegroundEY::AddPlayer(), BattlegroundIC::AddPlayer(), BattlegroundSA::AddPlayer(), BattlegroundWS::AddPlayer(), BuildPvPLogDataPacket(), EndBattleground(), Arena::EndBattleground(), GetPlayerScores(), GetPlayerScoresSize(), Init(), RemovePlayerAtLeave(), UpdatePlayerScore(), and ~Battleground().
GuidSet Battleground::readyMarkerClickedSet |
Referenced by ReadyMarkerClicked().
|
private |
Referenced by Battleground(), GetScriptId(), and SetScriptId().
|
protected |
Referenced by _ProcessJoin(), Arena::Arena(), and Battleground().
|
protected |