|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Battleground.h>
Public Types | |
| typedef std::map< uint64, BattlegroundPlayer > | BattlegroundPlayerMap |
| typedef std::map< uint64, BattlegroundScore * > | BattlegroundScoreMap |
| typedef std::vector< uint64 > | BGCreatures |
| typedef std::vector< uint64 > | BGObjects |
Static Public Member Functions | |
| static TeamId | GetTeamIndexByTeamId (uint32 TeamTeam) |
Public Attributes | |
| BGCreatures | BgCreatures |
| BGObjects | BgObjects |
Protected Member Functions | |
| void | _CheckSafePositions (uint32 diff) |
| Player * | _GetPlayer (BattlegroundPlayerMap::const_iterator itr, const char *context) const |
| Player * | _GetPlayer (BattlegroundPlayerMap::iterator itr, const char *context) |
| Player * | _GetPlayer (uint64 guid, bool offlineRemove, const char *context) const |
| Player * | _GetPlayerForTeam (uint32 teamId, BattlegroundPlayerMap::const_iterator itr, const char *context) const |
| void | _ProcessJoin (uint32 diff) |
| void | _ProcessLeave (uint32 diff) |
| void | _ProcessOfflineQueue () |
| void | _ProcessProgress (uint32 diff) |
| void | _ProcessRessurect (uint32 diff) |
| void | EndNow () |
| void | PlayerAddedToBGCheckIfBGIsRunning (Player *player) |
| virtual void | RemovePlayer (Player *, uint64, uint32) |
Protected Attributes | |
| bool | m_BuffChange |
| uint8 | m_Events |
| BGHonorMode | m_HonorMode |
| bool | m_IsRandom |
| BattlegroundPlayerMap | m_Players |
| std::map< uint64, std::vector< uint64 > > | m_ReviveQueue |
| int32 | m_TeamScores [BG_TEAMS_COUNT] |
| BattlegroundScoreMap | PlayerScores |
| BattlegroundStartTimeIntervals | StartDelayTimes [BG_STARTING_EVENT_COUNT] |
| uint32 | StartMessageIds [BG_STARTING_EVENT_COUNT] |
Private Member Functions | |
| virtual void | PostUpdateImpl (uint32) |
| Post-update hook. | |
| virtual bool | PreUpdateImpl (uint32) |
| Pre-update hook. | |
| virtual bool | ShouldDelayStartForDebug () const |
Definition at line 274 of file Battleground.h.
| typedef std::map<uint64, BattlegroundPlayer> Battleground::BattlegroundPlayerMap |
Definition at line 369 of file Battleground.h.
| typedef std::map<uint64, BattlegroundScore*> Battleground::BattlegroundScoreMap |
Definition at line 373 of file Battleground.h.
| typedef std::vector<uint64> Battleground::BGCreatures |
Definition at line 507 of file Battleground.h.
| typedef std::vector<uint64> Battleground::BGObjects |
Definition at line 506 of file Battleground.h.
| Battleground::Battleground | ( | ) |
Definition at line 105 of file Battleground.cpp.
References 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, LANG_BG_WS_HAS_BEGUN, LANG_BG_WS_START_HALF_MINUTE, LANG_BG_WS_START_ONE_MINUTE, LANG_BG_WS_START_TWO_MINUTES, m_ArenaTeamIds, m_ArenaTeamMMR, m_ArenaTeamRatingChanges, m_ArenaType, m_BgRaids, m_BracketId, m_BuffChange, m_ClientInstanceID, m_CountdownTimer, m_EndTime, m_Events, m_Guid, m_HonorMode, m_InBGFreeSlotQueue, m_InstanceID, m_InvitedAlliance, m_InvitedHorde, m_IsArena, m_IsRandom, m_IsRated, m_LastResurrectTime, m_LevelMax, m_LevelMin, m_Map, m_MapId, m_MaxPlayers, m_MaxPlayersPerTeam, m_MinPlayers, m_MinPlayersPerTeam, m_Name, m_PlayersCount, m_PrematureCountDown, m_PrematureCountDownTimer, m_RandomTypeID, m_ResetStatTimer, m_SetDeleteThis, m_StartDelayTime, m_StartMaxDist, m_StartTime, m_Status, m_TeamScores, m_TeamStartLocO, m_TeamStartLocX, m_TeamStartLocY, m_TeamStartLocZ, m_TypeID, m_ValidStartPositionTimer, m_Winner, ScriptId, StartDelayTimes, StartMessageIds, STATUS_NONE, TEAM_ALLIANCE, and TEAM_HORDE.
|
virtual |
Definition at line 153 of file Battleground.cpp.
References BgCreatures, BgObjects, DelCreature(), DelObject(), GetInstanceID(), GetTypeID(), m_Map, PlayerScores, RemoveFromBGFreeSlotQueue(), and sBattlegroundMgr.
|
inlineprotected |
Definition at line 257 of file Battleground.cpp.
References CHECK_PLAYER_POSITION_INVERVAL, ObjectAccessor::FindPlayer(), Position::GetExactDistSq(), GetMapId(), GetPlayers(), GetStartMaxDist(), GetTeamStartLoc(), m_ValidStartPositionTimer, and SF_LOG_DEBUG.
Referenced by Update().
|
inlineprotected |
Definition at line 597 of file Battleground.cpp.
References _GetPlayer().
|
inlineprotected |
Definition at line 592 of file Battleground.cpp.
References _GetPlayer().
|
inlineprotected |
Definition at line 579 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by _GetPlayer(), _GetPlayer(), _GetPlayerForTeam(), EndBattleground(), SendPacketToAll(), and YellToAll().
|
inlineprotected |
Definition at line 602 of file Battleground.cpp.
References _GetPlayer(), and Player::GetTeam().
Referenced by CastSpellOnTeam(), PlaySoundToTeam(), RemoveAuraOnTeam(), RewardHonorToTeam(), RewardReputationToTeam(), and SendPacketToTeam().
|
inlineprotected |
Definition at line 414 of file Battleground.cpp.
References ARENA_COUNTDOWN_MAX, SpellInfo::Attributes, BATTLEGROUND_COUNTDOWN_MAX, 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, CheckArenaWinConditions(), CONFIG_BATTLEGROUND_QUEUE_ANNOUNCER_ENABLE, EndNow(), FindBgMap(), ObjectAccessor::FindPlayer(), GetArenaType(), AuraApplication::GetBase(), Aura::GetDuration(), GetElapsedTime(), GetMaxLevel(), GetMinLevel(), GetName(), GetPlayers(), GetRemainingTime(), Aura::GetSpellInfo(), GetStartDelayTime(), Aura::HasEffectType(), IN_MILLISECONDS, isArena(), Aura::IsPermanent(), AuraApplication::IsPositive(), LANG_BG_STARTED_ANNOUNCE_WORLD, m_CountdownTimer, m_EndTime, m_Events, m_InstanceID, m_MapId, m_ResetStatTimer, m_TypeID, ModifyStartDelayTime(), PLAYER_FIELD_PVP_INFO, PlaySoundToAll(), sBattlegroundMgr, SendMessageToAll(), SendWarningToAll(), SetRemainingTime(), SetStartDelayTime(), SetStatus(), SetupBattleground(), SF_LOG_ERROR, SMSG_START_TIMER, SOUND_BG_START, SPELL_ARENA_PREPARATION, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY, SPELL_AURA_MOD_INVISIBILITY, SPELL_PREPARATION, StartDelayTimes, StartingEventCloseDoors(), StartingEventOpenDoors(), StartMessageIds, STATUS_IN_PROGRESS, and sWorld.
Referenced by Update().
|
inlineprotected |
Definition at line 557 of file Battleground.cpp.
References GetRemainingTime(), m_Players, RemovePlayerAtLeave(), and SetRemainingTime().
Referenced by Update().
|
inlineprotected |
Definition at line 284 of file Battleground.cpp.
References m_OfflineQueue, m_Players, RemovePlayerAtLeave(), and sWorld.
Referenced by Update().
|
inlineprotected |
Definition at line 372 of file Battleground.cpp.
References CHAT_MSG_SYSTEM, EndBattleground(), GetPrematureWinner(), IN_MILLISECONDS, LANG_BATTLEGROUND_PREMATURE_FINISH_WARNING, LANG_BATTLEGROUND_PREMATURE_FINISH_WARNING_SECS, m_PrematureCountDown, m_PrematureCountDownTimer, MINUTE, PSendMessageToAll(), and sBattlegroundMgr.
Referenced by Update().
|
inlineprotected |
Definition at line 302 of file Battleground.cpp.
References Unit::CastSpell(), ObjectAccessor::FindPlayer(), Map::GetCreature(), WorldObject::GetMap(), GetReviveQueueSize(), Object::IsInWorld(), m_LastResurrectTime, m_ResurrectQueue, m_ReviveQueue, RESURRECTION_INTERVAL, Player::ResurrectPlayer(), sObjectAccessor, SPELL_RESURRECTION_VISUAL, SPELL_SPIRIT_HEAL, and SPELL_SPIRIT_HEAL_MANA.
Referenced by Update().
| Creature * Battleground::AddCreature | ( | uint32 | entry, |
| uint32 | type, | ||
| uint32 | teamval, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | o, | ||
| uint32 | respawntime = 0 ) |
Definition at line 1603 of file Battleground.cpp.
References Map::AddToMap(), ASSERT, BgCreatures, Creature::Create(), FindBgMap(), Object::GetGUID(), HIGHGUID_UNIT, m_InstanceID, m_MapId, MOVE_RUN, MOVE_WALK, Creature::SetHomePosition(), Creature::SetRespawnDelay(), Unit::SetSpeed(), SF_LOG_ERROR, sObjectMgr, CreatureTemplate::speed_run, and CreatureTemplate::speed_walk.
Referenced by BattlegroundAB::_NodeOccupied(), BattlegroundBFG::_NodeOccupied(), BattlegroundAV::AddAVCreature(), AddSpiritGuide(), BattlegroundSA::CaptureGraveyard(), BattlegroundIC::DestroyGate(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::PopulateNode(), BattlegroundSA::ResetObjs(), BattlegroundDS::SetupBattleground(), BattlegroundIC::SetupBattleground(), and BattlegroundVOP::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 ) |
Definition at line 1482 of file Battleground.cpp.
References Map::AddToMap(), ASSERT, BgObjects, GameObject::Create(), FindBgMap(), GetBgMap(), Object::GetGUID(), WorldObject::GetPhases(), GO_STATE_READY, HIGHGUID_GAMEOBJECT, m_InstanceID, m_MapId, GameObject::SetPhased(), SF_LOG_ERROR, and sObjectMgr.
Referenced by BattlegroundSA::CaptureGraveyard(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundIC::HandleCapturedNodes(), BattlegroundIC::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundAB::SetupBattleground(), BattlegroundAV::SetupBattleground(), BattlegroundBE::SetupBattleground(), BattlegroundBFG::SetupBattleground(), BattlegroundDS::SetupBattleground(), BattlegroundEY::SetupBattleground(), BattlegroundIC::SetupBattleground(), BattlegroundNA::SetupBattleground(), BattlegroundRL::SetupBattleground(), BattlegroundRV::SetupBattleground(), BattlegroundTP::SetupBattleground(), BattlegroundTV::SetupBattleground(), BattlegroundVOP::SetupBattleground(), BattlegroundWS::SetupBattleground(), and BattlegroundIC::StartingEventOpenDoors().
Definition at line 1235 of file Battleground.cpp.
References Group::AddMember(), Group::ChangeLeader(), Group::Create(), GetBgRaid(), Object::GetGUID(), Group::GetMemberGroup(), Player::GetOriginalGroup(), Group::IsMember(), Group::SendUpdate(), Player::SetBattlegroundOrBattlefieldRaid(), and SetBgRaid().
Referenced by AddPlayer(), and Player::LoadFromDB().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 1139 of file Battleground.cpp.
References ACHIEVEMENT_CRITERIA_CONDITION_BG_MAP, ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET, ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE, ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL, ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE, ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS, ACHIEVEMENT_CRITERIA_TYPE_HEALING_DONE, ACHIEVEMENT_CRITERIA_TYPE_HONORABLE_KILL, ACHIEVEMENT_CRITERIA_TYPE_HONORABLE_KILL_AT_AREA, ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE, ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL, ACHIEVEMENT_CRITERIA_TYPE_WIN_BG, BattlegroundPlayer::ActiveSpec, AddOrSetPlayerToCorrectBgGroup(), ALLIANCE, ARENA_COUNTDOWN_MAX, BATTLEGROUND_COUNTDOWN_MAX, Unit::CastSpell(), Player::DestroyConjuredItems(), Player::GetActiveSpec(), GetArenaType(), Player::GetBattlegroundQueueIndex(), Player::GetBattlegroundQueueJoinTime(), Player::GetBattlePetMgr(), Player::GetBGTeam(), GetElapsedTime(), Object::GetGUID(), GetMapId(), Player::GetSession(), GetStatus(), Player::GetTalentSpecialization(), Player::GetTeam(), Object::HasFlag(), HORDE, isArena(), m_Players, m_TypeID, BattlegroundPlayer::OfflineRemoveTime, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_AFK, PlayerAddedToBGCheckIfBGIsRunning(), Player::RemoveArenaEnchantments(), Unit::RemoveAurasByType(), Player::ResetAchievementCriteria(), Player::ResetAllPowers(), sBattlegroundMgr, WorldSession::SendPacket(), SendPacketToTeam(), SMSG_START_TIMER, SPELL_ALLIANCE_GOLD_FLAG, SPELL_ALLIANCE_GREEN_FLAG, SPELL_ARENA_PREPARATION, SPELL_AURA_MOUNTED, SPELL_HORDE_GOLD_FLAG, SPELL_HORDE_GREEN_FLAG, SPELL_PREPARATION, STATUS_IN_PROGRESS, STATUS_WAIT_JOIN, BattlegroundPlayer::Team, TEMP_ENCHANTMENT_SLOT, Player::ToggleAFK(), BattlePetMgr::UnSummonCurrentBattlePet(), Player::UnsummonPetTemporaryIfAny(), and UpdatePlayersCountByTeam().
Referenced by BattlegroundAB::AddPlayer(), BattlegroundAV::AddPlayer(), BattlegroundBE::AddPlayer(), BattlegroundBFG::AddPlayer(), BattlegroundDS::AddPlayer(), BattlegroundEY::AddPlayer(), BattlegroundIC::AddPlayer(), BattlegroundNA::AddPlayer(), BattlegroundRL::AddPlayer(), BattlegroundRV::AddPlayer(), BattlegroundSA::AddPlayer(), BattlegroundTP::AddPlayer(), BattlegroundTV::AddPlayer(), BattlegroundVOP::AddPlayer(), and BattlegroundWS::AddPlayer().
Definition at line 1431 of file Battleground.cpp.
References Unit::CastSpell(), ObjectAccessor::FindPlayer(), m_ReviveQueue, and SPELL_WAITING_FOR_RESURRECT.
Referenced by WorldSession::HandleAreaSpiritHealerQueueOpcode(), and WorldSession::HandleGossipHelloOpcode().
Definition at line 1685 of file Battleground.cpp.
References AddCreature(), ALLIANCE, BG_CREATURE_ENTRY_A_SPIRITGUIDE, BG_CREATURE_ENTRY_H_SPIRITGUIDE, DEAD, EndNow(), m_InstanceID, m_MapId, SF_LOG_ERROR, SPELL_SPIRIT_HEAL_CHANNEL, UNIT_FIELD_CHANNEL_OBJECT, UNIT_FIELD_CHANNEL_SPELL, UNIT_FIELD_MOD_CASTING_SPEED, and UNIT_FIELD_MOD_SPELL_HASTE.
Referenced by BattlegroundAB::_NodeOccupied(), BattlegroundBFG::_NodeOccupied(), BattlegroundSA::CaptureGraveyard(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::PopulateNode(), BattlegroundSA::ResetObjs(), BattlegroundAV::SetupBattleground(), BattlegroundEY::SetupBattleground(), BattlegroundIC::SetupBattleground(), BattlegroundTP::SetupBattleground(), BattlegroundVOP::SetupBattleground(), and BattlegroundWS::SetupBattleground().
| void Battleground::AddToBGFreeSlotQueue | ( | ) |
Definition at line 1307 of file Battleground.cpp.
References isBattleground(), m_InBGFreeSlotQueue, m_TypeID, and sBattlegroundMgr.
Referenced by RemovePlayerAtLeave(), and StartBattleground().
| void Battleground::BlockMovement | ( | Player * | player | ) |
Definition at line 957 of file Battleground.cpp.
References Player::SetClientControl().
Referenced by EndBattleground(), and PlayerAddedToBGCheckIfBGIsRunning().
| void Battleground::BroadcastWorker | ( | Do & | _do | ) |
Definition at line 98 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), HIGHGUID_PLAYER, m_Players, and MAKE_NEW_GUID().
Referenced by PSendMessageToAll(), SendMessage2ToAll(), and SendMessageToAll().
Reimplemented in BattlegroundAV.
Definition at line 540 of file Battleground.h.
|
inline |
Definition at line 535 of file Battleground.h.
References BG_AWARD_ARENA_POINTS_MIN_LEVEL, and m_LevelMin.
Definition at line 662 of file Battleground.cpp.
References _GetPlayerForTeam(), and m_Players.
Referenced by BattlegroundAB::_NodeOccupied(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::HandleKillUnit(), and BattlegroundAV::PostUpdateImpl().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBFG, BattlegroundSA, and BattlegroundWS.
Definition at line 2007 of file Battleground.cpp.
References SF_LOG_ERROR.
Referenced by BattlegroundAB::CheckAchievementCriteriaMeet(), BattlegroundAV::CheckAchievementCriteriaMeet(), BattlegroundBFG::CheckAchievementCriteriaMeet(), BattlegroundSA::CheckAchievementCriteriaMeet(), and BattlegroundWS::CheckAchievementCriteriaMeet().
| void Battleground::CheckArenaAfterTimerConditions | ( | ) |
Definition at line 1939 of file Battleground.cpp.
References EndBattleground(), and WINNER_NONE.
Referenced by Update().
| void Battleground::CheckArenaWinConditions | ( | ) |
Definition at line 1944 of file Battleground.cpp.
References ALLIANCE, EndBattleground(), GetAlivePlayersCountByTeam(), GetPlayersCountByTeam(), and HORDE.
Referenced by _ProcessJoin(), BattlegroundBE::HandleKillPlayer(), BattlegroundDS::HandleKillPlayer(), BattlegroundNA::HandleKillPlayer(), BattlegroundRL::HandleKillPlayer(), BattlegroundRV::HandleKillPlayer(), BattlegroundTV::HandleKillPlayer(), BattlegroundBE::RemovePlayer(), BattlegroundDS::RemovePlayer(), BattlegroundNA::RemovePlayer(), BattlegroundRL::RemovePlayer(), BattlegroundRV::RemovePlayer(), and BattlegroundTV::RemovePlayer().
|
inline |
Definition at line 357 of file Battleground.h.
References ALLIANCE, m_InvitedAlliance, and m_InvitedHorde.
Referenced by RemovePlayerAtLeave().
| bool Battleground::DelCreature | ( | uint32 | type | ) |
Definition at line 1649 of file Battleground.cpp.
References BgCreatures, GetBgMap(), GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundAB::_NodeDeOccupied(), BattlegroundBFG::_NodeDeOccupied(), BattlegroundSA::CaptureGraveyard(), BattlegroundAV::ChangeMineOwner(), BattlegroundAV::DePopulateNode(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::HandleKillUnit(), BattlegroundAV::PopulateNode(), BattlegroundAB::Reset(), BattlegroundBFG::Reset(), BattlegroundAV::ResetBGSubclass(), BattlegroundSA::ResetObjs(), and ~Battleground().
| bool Battleground::DelObject | ( | uint32 | type | ) |
Definition at line 1667 of file Battleground.cpp.
References BgObjects, GetBgMap(), GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundSA::CaptureGraveyard(), BattlegroundSA::DestroyGate(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundIC::HandleContestedNodes(), BattlegroundIC::PostUpdateImpl(), BattlegroundSA::ResetObjs(), and ~Battleground().
|
inlinevirtual |
Reimplemented in BattlegroundIC, and BattlegroundSA.
Definition at line 291 of file Battleground.h.
Reimplemented in BattlegroundIC.
Definition at line 488 of file Battleground.h.
| void Battleground::DoorClose | ( | uint32 | type | ) |
Definition at line 1541 of file Battleground.cpp.
References BgObjects, GetBgMap(), GO_ACTIVATED, GO_READY, GO_STATE_READY, GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundDS::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundAB::StartingEventCloseDoors(), BattlegroundAV::StartingEventCloseDoors(), BattlegroundBFG::StartingEventCloseDoors(), BattlegroundTP::StartingEventCloseDoors(), BattlegroundVOP::StartingEventCloseDoors(), BattlegroundWS::StartingEventCloseDoors(), and BattlegroundRV::TogglePillarCollision().
| void Battleground::DoorOpen | ( | uint32 | type | ) |
Definition at line 1557 of file Battleground.cpp.
References BgObjects, GetBgMap(), GO_ACTIVATED, GO_STATE_ACTIVE, GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundIC::DestroyGate(), BattlegroundDS::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundAB::StartingEventOpenDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundBE::StartingEventOpenDoors(), BattlegroundBFG::StartingEventOpenDoors(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundIC::StartingEventOpenDoors(), BattlegroundNA::StartingEventOpenDoors(), BattlegroundRL::StartingEventOpenDoors(), BattlegroundRV::StartingEventOpenDoors(), BattlegroundTP::StartingEventOpenDoors(), BattlegroundTV::StartingEventOpenDoors(), BattlegroundVOP::StartingEventOpenDoors(), BattlegroundWS::StartingEventOpenDoors(), and BattlegroundRV::TogglePillarCollision().
| void Battleground::EndBattleground | ( | uint32 | winner | ) |
Definition at line 716 of file Battleground.cpp.
References _GetPlayer(), ACHIEVEMENT_CRITERIA_CONDITION_NO_LOSE, ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_BATTLEGROUND, ACHIEVEMENT_CRITERIA_TYPE_WIN_ARENA, ACHIEVEMENT_CRITERIA_TYPE_WIN_BG, ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA, ALLIANCE, ARENA_TIMELIMIT_POINTS_LOSS, ARENA_TYPE_5v5, BattlegroundMgr::BGQueueTypeId(), BlockMovement(), Unit::CastSpell(), CHAT_MSG_BG_SYSTEM_NEUTRAL, Unit::CombatStop(), Unit::CombatStopWithPets(), CONFIG_ARENA_LOG_EXTENDED_INFO, CONFIG_BG_REWARD_LOSER_HONOR_FIRST, CONFIG_BG_REWARD_LOSER_HONOR_LAST, CONFIG_BG_REWARD_WINNER_CONQUEST_FIRST, CONFIG_BG_REWARD_WINNER_CONQUEST_LAST, CONFIG_BG_REWARD_WINNER_HONOR_FIRST, CONFIG_BG_REWARD_WINNER_HONOR_LAST, CONFIG_CURRENCY_CONQUEST_POINTS_ARENA_REWARD, CURRENCY_TYPE_CONQUEST_META_ARENA, HostileRefManager::deleteReferences(), ObjectAccessor::FindPlayer(), ArenaTeam::FinishGame(), GetAlivePlayersCountByTeam(), GetArenaMatchmakerRating(), Player::GetArenaPersonalRating(), GetArenaTeamIdForTeam(), GetArenaType(), Player::GetBattlegroundQueueIndex(), Player::GetBattlegroundQueueJoinTime(), GetBgMap(), GetBonusHonorFromKill(), GetElapsedTime(), Unit::getHostileRefManager(), ArenaTeam::GetId(), GetMapId(), GetOtherTeam(), GetPlayerScoresBegin(), GetPlayerScoresEnd(), Player::GetRandomWinner(), ArenaTeam::GetRating(), ArenaTeam::GetSlot(), Player::GetTeam(), GetTypeID(), Unit::HasAuraType(), HORDE, Unit::IsAlive(), isArena(), isBattleground(), BattlegroundMgr::IsBGWeekend(), IsRandom(), isRated(), LANG_ARENA_GOLD_WINS, LANG_ARENA_GREEN_WINS, LANG_BG_A_WINS, LANG_BG_H_WINS, ArenaTeam::LostAgainst(), m_ArenaTeamIds, m_ArenaType, m_Players, ArenaTeam::MemberLost(), ArenaTeam::MemberWon(), Player::ModifyCurrency(), ArenaTeam::NotifyStatsChanged(), ArenaTeam::OfflineMemberLost(), PlaySoundToAll(), Unit::RemoveAura(), Unit::RemoveAurasByType(), RemoveFromBGFreeSlotQueue(), Player::ResetAchievementCriteria(), Player::ResetAllPowers(), Player::ResurrectPlayer(), sArenaTeamMgr, sBattlegroundMgr, SCORE_BONUS_HONOR, Player::SendDirectMessage(), SendMessageToAll(), SetArenaMatchmakerRating(), SetArenaTeamRatingChangeForTeam(), Player::SetRandomWinner(), SetRemainingTime(), SetStatus(), SetWinner(), SF_LOG_DEBUG, sGuildMgr, SOUND_ALLIANCE_WINS, SOUND_HORDE_WINS, Player::SpawnCorpseBones(), SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_SPIRIT_OF_REDEMPTION, SPELL_HONORABLE_DEFENDER_25Y, SPELL_HONORABLE_DEFENDER_60Y, SPELL_THE_LAST_STANDING, STATUS_IN_PROGRESS, STATUS_WAIT_LEAVE, sWorld, TEAM_ALLIANCE, TEAM_HORDE, TIME_AUTOCLOSE_BATTLEGROUND, UI64FMTD, Player::UpdateAchievementCriteria(), UpdatePlayerScore(), WINNER_ALLIANCE, WINNER_HORDE, WINNER_NONE, and ArenaTeam::WonAgainst().
Referenced by _ProcessProgress(), CheckArenaAfterTimerConditions(), CheckArenaWinConditions(), BattlegroundAB::EndBattleground(), BattlegroundAV::EndBattleground(), BattlegroundBFG::EndBattleground(), BattlegroundEY::EndBattleground(), BattlegroundIC::EndBattleground(), BattlegroundSA::EndBattleground(), BattlegroundTP::EndBattleground(), BattlegroundVOP::EndBattleground(), BattlegroundWS::EndBattleground(), BattlegroundIC::EventPlayerClickedOnFlag(), and EventPlayerLoggedOut().
|
protected |
Definition at line 1771 of file Battleground.cpp.
References RemoveFromBGFreeSlotQueue(), SetRemainingTime(), SetStatus(), and STATUS_WAIT_LEAVE.
Referenced by _ProcessJoin(), and AddSpiritGuide().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBFG, BattlegroundEY, BattlegroundIC, BattlegroundSA, BattlegroundTP, BattlegroundVOP, and BattlegroundWS.
Definition at line 481 of file Battleground.h.
Referenced by GameObject::Use().
|
inlinevirtual |
Reimplemented in BattlegroundIC, and BattlegroundSA.
Definition at line 484 of file Battleground.h.
|
inlinevirtual |
Reimplemented in BattlegroundEY, BattlegroundTP, and BattlegroundWS.
Definition at line 480 of file Battleground.h.
| void Battleground::EventPlayerLoggedIn | ( | Player * | player | ) |
Definition at line 1266 of file Battleground.cpp.
References Object::GetGUID(), m_OfflineQueue, m_Players, and PlayerAddedToBGCheckIfBGIsRunning().
Referenced by Player::LoadFromDB().
| void Battleground::EventPlayerLoggedOut | ( | Player * | player | ) |
Definition at line 1285 of file Battleground.cpp.
References EndBattleground(), GetAlivePlayersCountByTeam(), Player::GetBGTeam(), Object::GetGUID(), GetOtherTeam(), GetPlayersCountByTeam(), GetPlayerTeam(), GetStatus(), isArena(), IsPlayerInBattleground(), m_OfflineQueue, m_Players, MAX_OFFLINE_TIME, RemovePlayer(), STATUS_IN_PROGRESS, and sWorld.
|
inlinevirtual |
Reimplemented in BattlegroundSA.
Definition at line 485 of file Battleground.h.
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 415 of file Battleground.h.
Referenced by Player::SendInitWorldStates().
|
inline |
Definition at line 398 of file Battleground.h.
References m_Map.
Referenced by _ProcessJoin(), AddCreature(), AddObject(), and SpawnBGObject().
Definition at line 1907 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), FORM_SPIRITOFREDEMPTION, Object::HasByteFlag(), Unit::IsAlive(), m_Players, and UNIT_FIELD_SHAPESHIFT_FORM.
Referenced by BattlegroundRV::AddPlayer(), CheckArenaWinConditions(), EndBattleground(), EventPlayerLoggedOut(), BattlegroundRV::FillInitialWorldStates(), BattlegroundRV::HandleKillPlayer(), BattlegroundRV::RemovePlayer(), and UpdateArenaWorldState().
Definition at line 466 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_ArenaTeamMMR.
Referenced by EndBattleground(), and RemovePlayerAtLeave().
Definition at line 467 of file Battleground.h.
References m_ArenaTeamMMR.
Definition at line 461 of file Battleground.h.
References m_ArenaTeamIds.
Definition at line 460 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_ArenaTeamIds.
Referenced by EndBattleground(), and RemovePlayerAtLeave().
Definition at line 464 of file Battleground.h.
References m_ArenaTeamRatingChanges.
Definition at line 463 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_ArenaTeamRatingChanges.
|
inline |
Definition at line 320 of file Battleground.h.
References m_ArenaType.
Referenced by _ProcessJoin(), AddPlayer(), EndBattleground(), BGQueueInviteEvent::Execute(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), BattlegroundQueue::InviteGroupToBG(), Player::LoadFromDB(), PlayerAddedToBGCheckIfBGIsRunning(), and RemovePlayerAtLeave().
Definition at line 1578 of file Battleground.cpp.
References BgCreatures, GetBgMap(), Map::GetCreature(), GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundAB::_NodeOccupied(), BattlegroundBFG::_NodeOccupied(), BattlegroundSA::CaptureGraveyard(), BattlegroundAV::ChangeMineOwner(), BattlegroundSA::DemolisherStartState(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundIC::HandleCapturedNodes(), BattlegroundAV::HandleKillUnit(), BattlegroundSA::OverrideGunFaction(), BattlegroundAV::PopulateNode(), BattlegroundAV::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundIC::SetupBattleground(), and BattlegroundSA::UpdateDemolisherSpawns().
|
inline |
Definition at line 397 of file Battleground.h.
Referenced by AddObject(), DelCreature(), DelObject(), BattlegroundIC::DestroyGate(), DoorClose(), DoorOpen(), EndBattleground(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), GetBGCreature(), GetBGObject(), HandleTriggerBuff(), BattlegroundDS::PostUpdateImpl(), BattlegroundTP::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), BattlegroundIC::SetupBattleground(), BattlegroundDS::StartingEventOpenDoors(), and BattlegroundRV::TogglePillarCollision().
| GameObject * Battleground::GetBGObject | ( | uint32 | type | ) |
Definition at line 1569 of file Battleground.cpp.
References BgObjects, GetBgMap(), Map::GetGameObject(), GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundSA::DebugStartBoats(), BattlegroundSA::DebugStopBoats(), BattlegroundSA::DestroyGate(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundSA::GetBoatDebugStatus(), BattlegroundIC::HandleCapturedNodes(), BattlegroundIC::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundSA::SendBoatTransportUpdates(), BattlegroundSA::SendTransportInit(), BattlegroundSA::SendTransportsRemove(), BattlegroundIC::SetupBattleground(), BattlegroundIC::StartingEventCloseDoors(), and BattlegroundSA::StartShips().
Definition at line 442 of file Battleground.h.
References ALLIANCE, m_BgRaids, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by AddOrSetPlayerToCorrectBgGroup(), and RemovePlayerAtLeave().
Definition at line 950 of file Battleground.cpp.
References GetMaxLevel(), and Skyfire::Honor::hk_honor_at_level().
Referenced by BattlegroundEY::AddPoints(), BattlegroundSA::DestroyGate(), EndBattleground(), BattlegroundAB::EndBattleground(), BattlegroundBFG::EndBattleground(), BattlegroundEY::EndBattleground(), BattlegroundSA::EndBattleground(), BattlegroundTP::EndBattleground(), BattlegroundVOP::EndBattleground(), BattlegroundWS::EndBattleground(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), and BattlegroundVOP::PostUpdateImpl().
|
inline |
Definition at line 303 of file Battleground.h.
References m_BracketId.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), BGQueueRemoveEvent::Execute(), BattlegroundQueue::InviteGroupToBG(), RemovePlayerAtLeave(), and BattlegroundMgr::Update().
|
inline |
Definition at line 306 of file Battleground.h.
References m_ClientInstanceID.
Referenced by BattlegroundMgr::BuildBattlegroundStatusPacket(), and BattlegroundMgr::Update().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBFG, BattlegroundEY, BattlegroundIC, BattlegroundSA, BattlegroundTP, BattlegroundVOP, and BattlegroundWS.
Definition at line 1968 of file Battleground.cpp.
References WorldLocation::GetMapId(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Player::GetTeam(), and sObjectMgr.
Referenced by RelocateDeadPlayers().
|
inline |
Definition at line 307 of file Battleground.h.
References m_StartTime.
Referenced by _ProcessJoin(), AddPlayer(), EndBattleground(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), PlayerAddedToBGCheckIfBGIsRunning(), BattlegroundTP::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), and Update().
Reimplemented in BattlegroundEY, BattlegroundTP, and BattlegroundWS.
Definition at line 537 of file Battleground.h.
Referenced by WorldSession::HandleBattlegroundPlayerPositionsOpcode().
Definition at line 1328 of file Battleground.cpp.
References ALLIANCE, GetInvitedCount(), GetMaxPlayersPerTeam(), GetMinPlayersPerTeam(), GetPlayersCountByTeam(), GetStatus(), HORDE, STATUS_IN_PROGRESS, and STATUS_WAIT_JOIN.
Referenced by BattlegroundQueue::FillPlayersToBG().
|
inline |
Definition at line 301 of file Battleground.h.
References m_Guid.
Referenced by BattlegroundMgr::BuildBattlegroundStatusPacket(), and BattlegroundMgr::BuildStatusFailedPacket().
|
inline |
Definition at line 304 of file Battleground.h.
References m_InstanceID.
Referenced by BattlegroundMgr::AddBattleground(), WorldSession::HandleBattleFieldPortOpcode(), BattlegroundQueue::InviteGroupToBG(), Player::LoadFromDB(), BattlegroundSA::LogBoatDebugMarker(), BattlegroundSA::ShouldDelayStartForDebug(), and ~Battleground().
Definition at line 361 of file Battleground.h.
References ALLIANCE, m_InvitedAlliance, and m_InvitedHorde.
Referenced by GetFreeSlotsForTeam(), RemovePlayerAtLeave(), and Update().
|
inline |
Definition at line 309 of file Battleground.h.
References m_LastResurrectTime.
Referenced by BattlegroundMgr::SendAreaSpiritHealerQueryOpcode().
|
inline |
Definition at line 393 of file Battleground.h.
References m_MapId.
Referenced by _CheckSafePositions(), AddPlayer(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), BattlegroundMgr::BuildPvpLogDataPacket(), Group::CanJoinBattlegroundQueue(), MapInstanced::CreateBattleground(), BattlegroundIC::DoAction(), EndBattleground(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), RelocateDeadPlayers(), and BattlegroundSA::ShouldDelayStartForDebug().
|
inline |
Definition at line 314 of file Battleground.h.
References m_LevelMax.
Referenced by _ProcessJoin(), BattlegroundMgr::BuildBattlegroundStatusPacket(), Player::GetBGAccessByLevel(), GetBonusHonorFromKill(), and WorldSession::HandleBattleFieldPortOpcode().
|
inline |
Definition at line 310 of file Battleground.h.
References m_MaxPlayers.
Referenced by HasFreeSlots().
|
inline |
Definition at line 316 of file Battleground.h.
References m_MaxPlayersPerTeam.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), GetFreeSlotsForTeam(), and WorldSession::HandleBattlemasterJoinOpcode().
|
inline |
Definition at line 313 of file Battleground.h.
References m_LevelMin.
Referenced by _ProcessJoin(), BattlegroundMgr::BuildBattlegroundStatusPacket(), and MapInstanced::CreateBattleground().
|
inline |
Definition at line 311 of file Battleground.h.
References m_MinPlayers.
|
inline |
Definition at line 317 of file Battleground.h.
References m_MinPlayersPerTeam.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), GetFreeSlotsForTeam(), GetPrematureWinner(), WorldSession::HandleBattlemasterJoinOpcode(), and Update().
|
inline |
Definition at line 1927 of file Battleground.cpp.
References BgObjects, GUID_LOPART(), m_InstanceID, m_MapId, and SF_LOG_ERROR.
Referenced by BattlegroundAV::EventPlayerClickedOnFlag().
Definition at line 1877 of file Battleground.cpp.
References ALLIANCE, and HORDE.
Referenced by EndBattleground(), EventPlayerLoggedOut(), and RemovePlayerAtLeave().
Definition at line 1869 of file Battleground.cpp.
References m_Players.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket().
|
inline |
Definition at line 370 of file Battleground.h.
References m_Players.
Referenced by _CheckSafePositions(), _ProcessJoin(), BattlegroundSA::EndBattleground(), BattlegroundSA::EventPlayerUsedGO(), BattlegroundSA::PostUpdateImpl(), BattlegroundVOP::PostUpdateImpl(), BattlegroundSA::ResetObjs(), BattlegroundSA::SendBoatTransportUpdates(), BattlegroundIC::SetupBattleground(), BattlegroundSA::ShouldDelayStartForDebug(), BattlegroundDS::StartingEventOpenDoors(), StartTimedAchievement(), and BattlegroundSA::TeleportPlayers().
|
inline |
Definition at line 374 of file Battleground.h.
References PlayerScores.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket(), and EndBattleground().
|
inline |
Definition at line 375 of file Battleground.h.
References PlayerScores.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket(), and EndBattleground().
|
inline |
Definition at line 376 of file Battleground.h.
References PlayerScores.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket().
Definition at line 448 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_PlayersCount.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket(), CheckArenaWinConditions(), EventPlayerLoggedOut(), GetFreeSlotsForTeam(), GetPrematureWinner(), and Update().
|
inline |
Definition at line 371 of file Battleground.h.
References m_Players.
Referenced by BattlegroundSA::EndBattleground(), HasFreeSlots(), RemovePlayerAtLeave(), and Update().
Definition at line 1861 of file Battleground.cpp.
References m_Players.
Referenced by EventPlayerLoggedOut(), and RemovePlayerAtLeave().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBFG, BattlegroundEY, BattlegroundTP, BattlegroundVOP, and BattlegroundWS.
Definition at line 361 of file Battleground.cpp.
References ALLIANCE, GetMinPlayersPerTeam(), GetPlayersCountByTeam(), and HORDE.
Referenced by _ProcessProgress(), BattlegroundAB::GetPrematureWinner(), BattlegroundAV::GetPrematureWinner(), BattlegroundBFG::GetPrematureWinner(), BattlegroundEY::GetPrematureWinner(), BattlegroundTP::GetPrematureWinner(), BattlegroundVOP::GetPrematureWinner(), and BattlegroundWS::GetPrematureWinner().
|
inline |
Definition at line 308 of file Battleground.h.
References m_EndTime.
Referenced by _ProcessJoin(), _ProcessLeave(), and BattlegroundMgr::BuildBattlegroundStatusPacket().
|
inline |
Definition at line 378 of file Battleground.h.
References m_ReviveQueue.
Referenced by _ProcessRessurect().
|
inline |
Definition at line 322 of file Battleground.h.
References ScriptId.
| char const * Battleground::GetSkyFireString | ( | int32 | entry | ) |
Definition at line 1779 of file Battleground.cpp.
References sObjectMgr.
Referenced by BattlegroundAV::ChangeMineOwner(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::GetNodeName(), and BattlegroundAV::HandleKillUnit().
|
inline |
Definition at line 319 of file Battleground.h.
References m_StartDelayTime.
Referenced by _ProcessJoin().
|
inline |
Definition at line 411 of file Battleground.h.
References m_StartMaxDist.
Referenced by _CheckSafePositions().
|
inline |
Definition at line 305 of file Battleground.h.
References m_Status.
Referenced by AddPlayer(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildPvpLogDataPacket(), SpellInfo::CheckLocation(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundVOP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundTP::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), EventPlayerLoggedOut(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), BGQueueRemoveEvent::Execute(), BattlegroundAV::FillInitialWorldStates(), BattlegroundTP::FillInitialWorldStates(), BattlegroundWS::FillInitialWorldStates(), BattlegroundTP::GetClosestGraveYard(), BattlegroundWS::GetClosestGraveYard(), GetFreeSlotsForTeam(), BattlegroundAB::HandleAreaTrigger(), BattlegroundAV::HandleAreaTrigger(), BattlegroundBE::HandleAreaTrigger(), BattlegroundBFG::HandleAreaTrigger(), BattlegroundDS::HandleAreaTrigger(), BattlegroundEY::HandleAreaTrigger(), BattlegroundIC::HandleAreaTrigger(), BattlegroundNA::HandleAreaTrigger(), BattlegroundRL::HandleAreaTrigger(), BattlegroundRV::HandleAreaTrigger(), BattlegroundSA::HandleAreaTrigger(), BattlegroundTP::HandleAreaTrigger(), BattlegroundTV::HandleAreaTrigger(), BattlegroundWS::HandleAreaTrigger(), BattlegroundAV::HandleKillPlayer(), BattlegroundBE::HandleKillPlayer(), BattlegroundDS::HandleKillPlayer(), BattlegroundEY::HandleKillPlayer(), BattlegroundIC::HandleKillPlayer(), BattlegroundNA::HandleKillPlayer(), BattlegroundRL::HandleKillPlayer(), BattlegroundRV::HandleKillPlayer(), BattlegroundTP::HandleKillPlayer(), BattlegroundTV::HandleKillPlayer(), BattlegroundVOP::HandleKillPlayer(), BattlegroundWS::HandleKillPlayer(), BattlegroundAV::HandleKillUnit(), BattlegroundIC::HandleKillUnit(), BattlegroundAV::HandleQuestComplete(), Player::LoadFromDB(), PlayerAddedToBGCheckIfBGIsRunning(), BattlegroundAB::PostUpdateImpl(), BattlegroundAV::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundDS::PostUpdateImpl(), BattlegroundEY::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundRV::PostUpdateImpl(), BattlegroundSA::PostUpdateImpl(), BattlegroundTP::PostUpdateImpl(), BattlegroundVOP::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BattlegroundBE::RemovePlayer(), BattlegroundDS::RemovePlayer(), BattlegroundNA::RemovePlayer(), BattlegroundRL::RemovePlayer(), BattlegroundRV::RemovePlayer(), BattlegroundTV::RemovePlayer(), RemovePlayerAtLeave(), Player::ReportedAfkBy(), BattlegroundTP::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), BattlegroundSA::ShouldDelayStartForDebug(), and Update().
Definition at line 447 of file Battleground.h.
References ALLIANCE, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundAB::_NodeOccupied(), BattlegroundBFG::_NodeOccupied(), BattlegroundTP::AddPoint(), BattlegroundWS::AddPoint(), BattlegroundEY::AddPoints(), BattlegroundAB::CheckAchievementCriteriaMeet(), BattlegroundBFG::CheckAchievementCriteriaMeet(), BattlegroundSA::CheckAchievementCriteriaMeet(), BattlegroundEY::CheckSomeoneLeftPoint(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundTP::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), GetArenaMatchmakerRating(), GetArenaTeamIdForTeam(), GetArenaTeamRatingChangeForTeam(), BattlegroundAB::GetClosestGraveYard(), BattlegroundAV::GetClosestGraveYard(), BattlegroundBFG::GetClosestGraveYard(), BattlegroundIC::GetClosestGraveYard(), BattlegroundTP::GetDroppedFlagGUID(), BattlegroundWS::GetDroppedFlagGUID(), BattlegroundTP::GetFlagState(), BattlegroundWS::GetFlagState(), GetPlayersCountByTeam(), BattlegroundAV::GetPrematureWinner(), GetTeamStartLoc(), BattlegroundAV::HandleQuestComplete(), BattlegroundAV::PopulateNode(), BattlegroundEY::RemovePoint(), BattlegroundTP::RemovePoint(), BattlegroundWS::RemovePoint(), BattlegroundTP::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), SetArenaMatchmakerRating(), SetArenaTeamIdForTeam(), SetArenaTeamRatingChangeForTeam(), BattlegroundEY::SetTeamPoint(), BattlegroundTP::SetTeamPoint(), BattlegroundWS::SetTeamPoint(), SetTeamStartLoc(), UpdatePlayersCountByTeam(), and BattlegroundAV::UpdateScore().
Definition at line 1992 of file Battleground.cpp.
References GetTypeID(), m_TeamScores, SF_LOG_ERROR, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::FillInitialWorldStates(), BattlegroundTP::FillInitialWorldStates(), BattlegroundWS::FillInitialWorldStates(), BattlegroundEY::GetPrematureWinner(), BattlegroundTP::GetPrematureWinner(), BattlegroundVOP::GetPrematureWinner(), BattlegroundWS::GetPrematureWinner(), AchievementCriteriaData::Meets(), BattlegroundTP::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BattlegroundEY::UpdateTeamScore(), BattlegroundTP::UpdateTeamScore(), BattlegroundVOP::UpdateTeamScore(), and BattlegroundWS::UpdateTeamScore().
|
inline |
Definition at line 401 of file Battleground.h.
References GetTeamIndexByTeamId(), m_TeamStartLocO, m_TeamStartLocX, m_TeamStartLocY, and m_TeamStartLocZ.
Referenced by _CheckSafePositions().
|
inline |
Definition at line 302 of file Battleground.h.
References m_RandomTypeID, and m_TypeID.
Referenced by BattlegroundMgr::AddBattleground(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildPvpLogDataPacket(), BattlegroundMgr::BuildStatusFailedPacket(), Group::CanJoinBattlegroundQueue(), EndBattleground(), BGQueueInviteEvent::Execute(), debug_commandscript::GetSOTABattlegroundForBoatCommand(), GetTeamScore(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterJoinArena(), BattlegroundQueue::InviteGroupToBG(), Player::LoadFromDB(), PlayerAddedToBGCheckIfBGIsRunning(), RemovePlayerAtLeave(), BattlegroundAB::Reset(), BattlegroundBFG::Reset(), BattlegroundEY::Reset(), BattlegroundTP::Reset(), BattlegroundWS::Reset(), Player::SendInitWorldStates(), GameObject::Use(), and ~Battleground().
|
inline |
Definition at line 321 of file Battleground.h.
References m_Winner.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket().
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, and BattlegroundWS.
Definition at line 2001 of file Battleground.cpp.
References WorldLocation::GetMapId(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), and SF_LOG_DEBUG.
Referenced by BattlegroundAB::HandleAreaTrigger(), BattlegroundAV::HandleAreaTrigger(), BattlegroundBE::HandleAreaTrigger(), BattlegroundBFG::HandleAreaTrigger(), BattlegroundDS::HandleAreaTrigger(), BattlegroundEY::HandleAreaTrigger(), BattlegroundNA::HandleAreaTrigger(), BattlegroundRL::HandleAreaTrigger(), BattlegroundRV::HandleAreaTrigger(), BattlegroundTP::HandleAreaTrigger(), BattlegroundTV::HandleAreaTrigger(), and BattlegroundWS::HandleAreaTrigger().
Reimplemented in BattlegroundAV, BattlegroundBE, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 1824 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), Player::GetTeam(), isArena(), Player::IsAtGroupRewardDistance(), m_Players, RewardXPAtKill(), SCORE_DEATHS, SCORE_HONORABLE_KILLS, SCORE_KILLING_BLOWS, Object::SetFlag(), UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE, and UpdatePlayerScore().
Referenced by BattlegroundAV::HandleKillPlayer(), BattlegroundBE::HandleKillPlayer(), BattlegroundDS::HandleKillPlayer(), BattlegroundEY::HandleKillPlayer(), BattlegroundIC::HandleKillPlayer(), BattlegroundNA::HandleKillPlayer(), BattlegroundRL::HandleKillPlayer(), BattlegroundRV::HandleKillPlayer(), BattlegroundTP::HandleKillPlayer(), BattlegroundTV::HandleKillPlayer(), BattlegroundVOP::HandleKillPlayer(), and BattlegroundWS::HandleKillPlayer().
Reimplemented in BattlegroundAV, BattlegroundIC, and BattlegroundSA.
Definition at line 1937 of file Battleground.cpp.
|
inlinevirtual |
Reimplemented in BattlegroundIC.
Definition at line 490 of file Battleground.h.
|
inlinevirtual |
Definition at line 523 of file Battleground.h.
Referenced by WorldSession::HandleMovementOpcodes().
Reimplemented in BattlegroundAV.
Definition at line 539 of file Battleground.h.
| void Battleground::HandleTriggerBuff | ( | uint64 | go_guid | ) |
Definition at line 1788 of file Battleground.cpp.
References BgObjects, Buff_Entries, BUFF_RESPAWN_TIME, GAMEOBJECT_TYPE_TRAP, GetBgMap(), Object::GetEntry(), Map::GetGameObject(), GameObject::GetGoType(), GUID_LOPART(), GameObject::isSpawned(), m_BuffChange, m_InstanceID, m_MapId, RESPAWN_ONE_DAY, SF_LOG_ERROR, and SpawnBGObject().
| bool Battleground::HasFreeSlots | ( | ) | const |
Definition at line 1383 of file Battleground.cpp.
References GetMaxPlayers(), and GetPlayersSize().
Referenced by BattlegroundQueue::BattlegroundQueueUpdate().
|
inline |
Definition at line 358 of file Battleground.h.
References ALLIANCE, m_InvitedAlliance, and m_InvitedHorde.
Referenced by BattlegroundQueue::InviteGroupToBG().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundBFG, BattlegroundEY, and BattlegroundIC.
Definition at line 294 of file Battleground.h.
|
inline |
Definition at line 365 of file Battleground.h.
References m_IsArena.
Referenced by _ProcessJoin(), AddPlayer(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), BattlegroundMgr::BuildPvpLogDataPacket(), Group::CanJoinBattlegroundQueue(), Player::CanJoinToBattleground(), BattlegroundMgr::CreateNewBattleground(), EndBattleground(), EventPlayerLoggedOut(), BattlegroundMgr::GetBattlegroundThroughClientInstance(), HandleKillPlayer(), WorldSession::HandlePVPLogDataOpcode(), Player::InArena(), Player::IsPetNeedBeTemporaryUnsummoned(), Unit::Mount(), RemovePlayerAtLeave(), and Update().
|
inline |
Definition at line 366 of file Battleground.h.
References m_IsArena.
Referenced by AddToBGFreeSlotQueue(), BattlegroundQueue::BattlegroundQueueUpdate(), EndBattleground(), BGQueueRemoveEvent::Execute(), RemovePlayerAtLeave(), and UpdatePlayerScore().
| bool Battleground::IsPlayerInBattleground | ( | uint64 | guid | ) | const |
Definition at line 1882 of file Battleground.cpp.
References m_Players.
Referenced by BattlegroundMgr::BuildPvpLogDataPacket(), EventPlayerLoggedOut(), and Player::LoadFromDB().
|
inline |
Definition at line 324 of file Battleground.h.
References m_IsRandom.
Referenced by Player::CanJoinToBattleground(), and EndBattleground().
|
inline |
Definition at line 367 of file Battleground.h.
References m_IsRated.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundMgr::BuildBattlegroundStatusPacket(), EndBattleground(), and RemovePlayerAtLeave().
Reimplemented in BattlegroundIC.
Definition at line 541 of file Battleground.h.
|
inline |
Definition at line 348 of file Battleground.h.
References m_StartDelayTime.
Referenced by _ProcessJoin().
|
protected |
Definition at line 1890 of file Battleground.cpp.
References BattlegroundMgr::BGQueueTypeId(), BlockMovement(), GetArenaType(), Player::GetBattlegroundQueueIndex(), Player::GetBattlegroundQueueJoinTime(), GetElapsedTime(), GetStatus(), GetTypeID(), sBattlegroundMgr, Player::SendDirectMessage(), STATUS_IN_PROGRESS, and STATUS_WAIT_LEAVE.
Referenced by AddPlayer(), and EventPlayerLoggedIn().
| void Battleground::PlaySoundToAll | ( | uint32 | SoundID | ) |
Definition at line 644 of file Battleground.cpp.
References sBattlegroundMgr, and SendPacketToAll().
Referenced by _ProcessJoin(), BattlegroundAV::ChangeMineOwner(), EndBattleground(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundVOP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundVOP::HandleKillPlayer(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundEY::RespawnFlag(), BattlegroundTP::RespawnFlag(), BattlegroundWS::RespawnFlag(), BattlegroundTP::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), and BattlegroundAV::UpdateScore().
Definition at line 651 of file Battleground.cpp.
References _GetPlayerForTeam(), m_Players, and sBattlegroundMgr.
|
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, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundVOP, and BattlegroundWS.
Definition at line 640 of file Battleground.h.
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.Definition at line 626 of file Battleground.h.
Referenced by Update().
Definition at line 1722 of file Battleground.cpp.
References BroadcastWorker().
Referenced by _ProcessProgress(), and BattlegroundEY::EventPlayerClickedOnFlag().
| void Battleground::RelocateDeadPlayers | ( | uint64 | queueIndex | ) |
Relocate all players in ReviveQueue to the closest graveyard.
Definition at line 1459 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), GetClosestGraveYard(), GetMapId(), Position::GetOrientation(), m_ReviveQueue, Player::TeleportTo(), WorldSafeLocsEntry::x, WorldSafeLocsEntry::y, and WorldSafeLocsEntry::z.
Referenced by BattlegroundAB::_NodeDeOccupied(), BattlegroundBFG::_NodeDeOccupied(), BattlegroundAV::EventPlayerAssaultsPoint(), and BattlegroundIC::EventPlayerClickedOnFlag().
Definition at line 669 of file Battleground.cpp.
References _GetPlayerForTeam(), and m_Players.
Referenced by BattlegroundIC::HandleCapturedNodes().
| void Battleground::RemoveFromBGFreeSlotQueue | ( | ) |
Definition at line 1317 of file Battleground.cpp.
References m_InBGFreeSlotQueue, m_InstanceID, m_TypeID, and sBattlegroundMgr.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), EndBattleground(), EndNow(), and ~Battleground().
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 566 of file Battleground.h.
Referenced by EventPlayerLoggedOut(), and RemovePlayerAtLeave().
|
virtual |
Definition at line 962 of file Battleground.cpp.
References AddToBGFreeSlotQueue(), ALLIANCE, BATTLEGROUND_AA, BATTLEGROUND_TYPE_NONE, BattlegroundMgr::BGQueueTypeId(), Player::ClearAfkReports(), DecreaseInvitedCount(), ObjectAccessor::FindPlayer(), GetArenaMatchmakerRating(), GetArenaTeamIdForTeam(), GetArenaType(), Player::GetBattlegroundQueueIndex(), Player::GetBattlegroundQueueJoinTime(), GetBgRaid(), GetBracketId(), GetInvitedCount(), WorldObject::GetName(), GetOtherTeam(), GetPlayersSize(), GetPlayerTeam(), GetStatus(), Player::GetTeam(), GetTypeID(), Unit::HasAuraType(), HORDE, Unit::IsAlive(), isArena(), isBattleground(), isRated(), m_Players, m_SetDeleteThis, ArenaTeam::MemberLost(), ArenaTeam::OfflineMemberLost(), PET_SAVE_NOT_IN_SLOT, PlayerScores, Unit::RemoveAurasByType(), Player::RemoveBattlegroundQueueId(), Player::RemoveBattlegroundQueueJoinTime(), Player::RemovePet(), RemovePlayer(), RemovePlayerFromResurrectQueue(), Player::ResummonPetTemporaryUnSummonedIfAny(), Player::ResurrectPlayer(), sArenaTeamMgr, sBattlegroundMgr, Player::SendDirectMessage(), SendPacketToTeam(), Player::SetBattlegroundId(), SetBgRaid(), Player::SetBGTeam(), SF_LOG_DEBUG, Player::SpawnCorpseBones(), SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_SPIRIT_OF_REDEMPTION, STATUS_IN_PROGRESS, STATUS_NONE, STATUS_WAIT_LEAVE, Player::TeleportToBGEntryPoint(), and UpdatePlayersCountByTeam().
Referenced by _ProcessLeave(), _ProcessOfflineQueue(), BattlegroundSA::EndBattleground(), and Player::LoadFromDB().
| void Battleground::RemovePlayerFromResurrectQueue | ( | uint64 | player_guid | ) |
Definition at line 1442 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), m_ReviveQueue, and SPELL_WAITING_FOR_RESURRECT.
Referenced by RemovePlayerAtLeave().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 1097 of file Battleground.cpp.
References m_Events, m_InBGFreeSlotQueue, m_InstanceID, m_InvitedAlliance, m_InvitedHorde, m_MapId, m_Players, PlayerScores, ResetBGSubclass(), SetElapsedTime(), SetLastResurrectTime(), SetRemainingTime(), SetStatus(), SetWinner(), SF_LOG_ERROR, STATUS_WAIT_QUEUE, and WINNER_NONE.
Referenced by BattlegroundMgr::CreateNewBattleground(), BattlegroundAB::Reset(), BattlegroundBE::Reset(), BattlegroundBFG::Reset(), BattlegroundDS::Reset(), BattlegroundEY::Reset(), BattlegroundNA::Reset(), BattlegroundRL::Reset(), BattlegroundRV::Reset(), BattlegroundTP::Reset(), BattlegroundTV::Reset(), BattlegroundVOP::Reset(), and BattlegroundWS::Reset().
|
inlinevirtual |
Reimplemented in BattlegroundAV.
Definition at line 289 of file Battleground.h.
Referenced by Reset().
Definition at line 687 of file Battleground.cpp.
References _GetPlayerForTeam(), m_Players, SCORE_BONUS_HONOR, and UpdatePlayerScore().
Referenced by BattlegroundEY::AddPoints(), BattlegroundAB::EndBattleground(), BattlegroundAV::EndBattleground(), BattlegroundBFG::EndBattleground(), BattlegroundEY::EndBattleground(), BattlegroundSA::EndBattleground(), BattlegroundTP::EndBattleground(), BattlegroundVOP::EndBattleground(), BattlegroundWS::EndBattleground(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::HandleKillUnit(), BattlegroundIC::HandleKillUnit(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), and BattlegroundVOP::PostUpdateImpl().
Definition at line 694 of file Battleground.cpp.
References _GetPlayerForTeam(), m_Players, and sFactionStore.
Referenced by BattlegroundAV::EndBattleground(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::HandleKillUnit(), BattlegroundAV::HandleQuestComplete(), BattlegroundAB::PostUpdateImpl(), and BattlegroundBFG::PostUpdateImpl().
Definition at line 1986 of file Battleground.cpp.
References CONFIG_BG_XP_FOR_KILL, Player::RewardPlayerAndGroupAtKill(), and sWorld.
Referenced by HandleKillPlayer().
| void Battleground::SendMessage2ToAll | ( | int32 | entry, |
| ChatMsg | type, | ||
| Player const * | source, | ||
| int32 | strId1 = 0, | ||
| int32 | strId2 = 0 ) |
Definition at line 1764 of file Battleground.cpp.
References BroadcastWorker().
Referenced by BattlegroundIC::DestroyGate(), BattlegroundIC::EndBattleground(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), and BattlegroundIC::PostUpdateImpl().
Definition at line 1712 of file Battleground.cpp.
References BroadcastWorker().
Referenced by _ProcessJoin(), EndBattleground(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundTP::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BattlegroundSA::EventPlayerUsedGO(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), BattlegroundVOP::HandleKillPlayer(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundSA::PostUpdateImpl(), BattlegroundEY::RespawnFlag(), BattlegroundTP::RespawnFlag(), BattlegroundWS::RespawnFlag(), BattlegroundTP::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), and BattlegroundAV::UpdateScore().
| void Battleground::SendPacketToAll | ( | WorldPacket * | packet | ) |
Definition at line 625 of file Battleground.cpp.
References _GetPlayer(), and m_Players.
Referenced by PlaySoundToAll(), and UpdateWorldState().
| void Battleground::SendPacketToTeam | ( | uint32 | TeamID, |
| WorldPacket * | packet, | ||
| Player * | sender = NULL, | ||
| bool | self = true ) |
Definition at line 632 of file Battleground.cpp.
References _GetPlayerForTeam(), and m_Players.
Referenced by AddPlayer(), and RemovePlayerAtLeave().
| void Battleground::SendWarningToAll | ( | int32 | entry, |
| ... ) |
Definition at line 1737 of file Battleground.cpp.
References ChatHandler::BuildChatPacket(), CHAT_MSG_RAID_BOSS_EMOTE, ObjectAccessor::FindPlayer(), HIGHGUID_PLAYER, LANG_UNIVERSAL, m_Players, MAKE_NEW_GUID(), sObjectMgr, and vsnprintf.
Referenced by _ProcessJoin(), BattlegroundSA::CaptureGraveyard(), BattlegroundSA::EventPlayerDamagedGO(), BattlegroundSA::EventPlayerUsedGO(), and BattlegroundSA::PostUpdateImpl().
Definition at line 465 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_ArenaTeamMMR.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), and EndBattleground().
|
inline |
Definition at line 344 of file Battleground.h.
References m_IsArena.
Referenced by BattlegroundMgr::CreateBattleground().
Definition at line 459 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_ArenaTeamIds.
Definition at line 462 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_ArenaTeamRatingChanges.
Referenced by EndBattleground().
|
inline |
Definition at line 343 of file Battleground.h.
References m_ArenaType.
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 396 of file Battleground.h.
References m_Map.
Referenced by MapInstanced::CreateBattleground().
Definition at line 1958 of file Battleground.cpp.
References ALLIANCE, m_BgRaids, Group::SetBattlegroundGroup(), TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by AddOrSetPlayerToCorrectBgGroup(), and RemovePlayerAtLeave().
| void Battleground::SetBracket | ( | PvPDifficultyEntry const * | bracketEntry | ) |
Definition at line 1980 of file Battleground.cpp.
References PvPDifficultyEntry::GetBracketId(), m_BracketId, PvPDifficultyEntry::maxLevel, PvPDifficultyEntry::minLevel, and SetLevelRange().
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 335 of file Battleground.h.
References m_ClientInstanceID.
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 532 of file Battleground.h.
References m_SetDeleteThis.
Reimplemented in BattlegroundEY, BattlegroundTP, and BattlegroundWS.
Definition at line 538 of file Battleground.h.
|
inline |
Definition at line 336 of file Battleground.h.
References m_StartTime.
Referenced by Reset(), StartBattleground(), and Update().
|
inline |
Definition at line 327 of file Battleground.h.
References m_Guid.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
| void Battleground::SetHoliday | ( | bool | is_holiday | ) |
Definition at line 1922 of file Battleground.cpp.
References BG_HOLIDAY, BG_NORMAL, and m_HonorMode.
|
inline |
Definition at line 333 of file Battleground.h.
References m_InstanceID.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 338 of file Battleground.h.
References m_LastResurrectTime.
Referenced by Reset(), and StartBattleground().
Definition at line 341 of file Battleground.h.
References m_LevelMax, and m_LevelMin.
Referenced by BattlegroundMgr::CreateBattleground(), and SetBracket().
|
inline |
Definition at line 392 of file Battleground.h.
References m_MapId.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 339 of file Battleground.h.
References m_MaxPlayers.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 351 of file Battleground.h.
References m_MaxPlayersPerTeam.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 340 of file Battleground.h.
References m_MinPlayers.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 352 of file Battleground.h.
References m_MinPlayersPerTeam.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 328 of file Battleground.h.
References m_Name.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 360 of file Battleground.h.
References m_IsRandom.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 330 of file Battleground.h.
References m_RandomTypeID.
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 342 of file Battleground.h.
References m_IsRated.
Referenced by BattlegroundMgr::CreateNewBattleground().
|
inline |
Definition at line 337 of file Battleground.h.
References m_EndTime.
Referenced by _ProcessJoin(), _ProcessLeave(), EndBattleground(), EndNow(), and Reset().
|
inline |
Definition at line 346 of file Battleground.h.
References ScriptId.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 349 of file Battleground.h.
References m_StartDelayTime.
Referenced by _ProcessJoin().
|
inline |
Definition at line 410 of file Battleground.h.
References m_StartMaxDist.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 334 of file Battleground.h.
References m_Status.
Referenced by _ProcessJoin(), BattlegroundMgr::CreateNewBattleground(), EndBattleground(), EndNow(), BattlegroundSA::PostUpdateImpl(), Reset(), and BattlegroundSA::ResetObjs().
| void Battleground::SetTeamStartLoc | ( | uint32 | TeamID, |
| float | X, | ||
| float | Y, | ||
| float | Z, | ||
| float | O ) |
Definition at line 616 of file Battleground.cpp.
References GetTeamIndexByTeamId(), m_TeamStartLocO, m_TeamStartLocX, m_TeamStartLocY, and m_TeamStartLocZ.
Referenced by BattlegroundMgr::CreateBattleground().
|
inline |
Definition at line 329 of file Battleground.h.
References m_TypeID.
Referenced by BattlegroundMgr::CreateBattleground(), and BattlegroundMgr::CreateNewBattleground().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 282 of file Battleground.h.
Referenced by _ProcessJoin().
|
inline |
Definition at line 345 of file Battleground.h.
References m_Winner.
Referenced by EndBattleground(), and Reset().
|
inlineprivatevirtual |
Reimplemented in BattlegroundSA.
Definition at line 627 of file Battleground.h.
Referenced by Update().
Definition at line 1587 of file Battleground.cpp.
References BgObjects, FindBgMap(), GameObject::GetGameObject(), GO_JUST_DEACTIVATED, and GO_READY.
Referenced by BattlegroundAB::_CreateBanner(), BattlegroundBFG::_CreateBanner(), BattlegroundAB::_DelBanner(), BattlegroundBFG::_DelBanner(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundEY::EventPlayerCapturedFlag(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundVOP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamCapturedPoint(), BattlegroundEY::EventTeamLostPoint(), BattlegroundVOP::HandleKillPlayer(), BattlegroundAV::HandleKillUnit(), HandleTriggerBuff(), BattlegroundSA::ResetObjs(), BattlegroundEY::RespawnFlag(), BattlegroundTP::RespawnFlag(), BattlegroundWS::RespawnFlag(), BattlegroundTP::RespawnFlagAfterDrop(), BattlegroundWS::RespawnFlagAfterDrop(), BattlegroundAV::SetupBattleground(), BattlegroundAB::StartingEventCloseDoors(), BattlegroundBE::StartingEventCloseDoors(), BattlegroundBFG::StartingEventCloseDoors(), BattlegroundDS::StartingEventCloseDoors(), BattlegroundEY::StartingEventCloseDoors(), BattlegroundNA::StartingEventCloseDoors(), BattlegroundRL::StartingEventCloseDoors(), BattlegroundTP::StartingEventCloseDoors(), BattlegroundTV::StartingEventCloseDoors(), BattlegroundVOP::StartingEventCloseDoors(), BattlegroundWS::StartingEventCloseDoors(), BattlegroundAB::StartingEventOpenDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundBE::StartingEventOpenDoors(), BattlegroundBFG::StartingEventOpenDoors(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundEY::StartingEventOpenDoors(), BattlegroundNA::StartingEventOpenDoors(), BattlegroundRL::StartingEventOpenDoors(), BattlegroundRV::StartingEventOpenDoors(), BattlegroundTP::StartingEventOpenDoors(), BattlegroundTV::StartingEventOpenDoors(), BattlegroundVOP::StartingEventOpenDoors(), and BattlegroundWS::StartingEventOpenDoors().
| void Battleground::StartBattleground | ( | ) |
Definition at line 1123 of file Battleground.cpp.
References AddToBGFreeSlotQueue(), m_ArenaTeamIds, m_ArenaType, m_IsRated, sBattlegroundMgr, SetElapsedTime(), SetLastResurrectTime(), SF_LOG_DEBUG, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 287 of file Battleground.h.
Referenced by _ProcessJoin().
|
inlinevirtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundDS, BattlegroundEY, BattlegroundIC, BattlegroundNA, BattlegroundRL, BattlegroundRV, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 288 of file Battleground.h.
Referenced by _ProcessJoin().
| void Battleground::StartTimedAchievement | ( | AchievementCriteriaTimedTypes | type, |
| uint32 | entry ) |
Definition at line 1973 of file Battleground.cpp.
References ObjectAccessor::FindPlayer(), and GetPlayers().
Referenced by BattlegroundSA::PostUpdateImpl(), BattlegroundAB::StartingEventOpenDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundBFG::StartingEventOpenDoors(), BattlegroundEY::StartingEventOpenDoors(), and BattlegroundWS::StartingEventOpenDoors().
|
inline |
Definition at line 531 of file Battleground.h.
References m_SetDeleteThis.
Referenced by BattlegroundMgr::Update().
| void Battleground::Update | ( | uint32 | diff | ) |
Definition at line 181 of file Battleground.cpp.
References _CheckSafePositions(), _ProcessJoin(), _ProcessLeave(), _ProcessOfflineQueue(), _ProcessProgress(), _ProcessRessurect(), ALLIANCE, CheckArenaAfterTimerConditions(), GetElapsedTime(), GetInvitedCount(), GetMinPlayersPerTeam(), GetPlayersCountByTeam(), GetPlayersSize(), GetStatus(), HORDE, IN_MILLISECONDS, isArena(), m_CountdownTimer, m_PrematureCountDown, m_ResetStatTimer, m_SetDeleteThis, MINUTE, PostUpdateImpl(), PreUpdateImpl(), sBattlegroundMgr, SetElapsedTime(), ShouldDelayStartForDebug(), STATUS_IN_PROGRESS, STATUS_WAIT_JOIN, STATUS_WAIT_LEAVE, and UpdateArenaWorldState().
Referenced by BattlegroundMgr::Update().
| void Battleground::UpdateArenaWorldState | ( | ) |
Definition at line 1952 of file Battleground.cpp.
References ALLIANCE, GetAlivePlayersCountByTeam(), HORDE, and UpdateWorldState().
Referenced by BattlegroundBE::AddPlayer(), BattlegroundDS::AddPlayer(), BattlegroundNA::AddPlayer(), BattlegroundRL::AddPlayer(), BattlegroundTV::AddPlayer(), BattlegroundBE::FillInitialWorldStates(), BattlegroundDS::FillInitialWorldStates(), BattlegroundNA::FillInitialWorldStates(), BattlegroundRL::FillInitialWorldStates(), BattlegroundTV::FillInitialWorldStates(), BattlegroundBE::HandleKillPlayer(), BattlegroundDS::HandleKillPlayer(), BattlegroundNA::HandleKillPlayer(), BattlegroundRL::HandleKillPlayer(), BattlegroundTV::HandleKillPlayer(), BattlegroundBE::RemovePlayer(), BattlegroundDS::RemovePlayer(), BattlegroundNA::RemovePlayer(), BattlegroundRL::RemovePlayer(), BattlegroundTV::RemovePlayer(), and Update().
|
virtual |
Reimplemented in BattlegroundAB, BattlegroundAV, BattlegroundBE, BattlegroundBFG, BattlegroundEY, BattlegroundIC, BattlegroundSA, BattlegroundTP, BattlegroundTV, BattlegroundVOP, and BattlegroundWS.
Definition at line 1388 of file Battleground.cpp.
References Object::GetGUID(), isBattleground(), m_InstanceID, m_MapId, PlayerScores, Player::RewardHonor(), SCORE_BONUS_HONOR, SCORE_DAMAGE_DONE, SCORE_DEATHS, SCORE_HEALING_DONE, SCORE_HONORABLE_KILLS, SCORE_KILLING_BLOWS, and SF_LOG_ERROR.
Referenced by EndBattleground(), HandleKillPlayer(), RewardHonorToTeam(), BattlegroundAB::UpdatePlayerScore(), BattlegroundAV::UpdatePlayerScore(), BattlegroundBE::UpdatePlayerScore(), BattlegroundBFG::UpdatePlayerScore(), BattlegroundEY::UpdatePlayerScore(), BattlegroundIC::UpdatePlayerScore(), BattlegroundSA::UpdatePlayerScore(), BattlegroundTP::UpdatePlayerScore(), BattlegroundTV::UpdatePlayerScore(), BattlegroundVOP::UpdatePlayerScore(), and BattlegroundWS::UpdatePlayerScore().
|
inline |
Definition at line 450 of file Battleground.h.
References GetTeamIndexByTeamId(), and m_PlayersCount.
Referenced by AddPlayer(), and RemovePlayerAtLeave().
Definition at line 702 of file Battleground.cpp.
References sBattlegroundMgr, and SendPacketToAll().
Referenced by BattlegroundAB::_SendNodeUpdate(), BattlegroundBFG::_SendNodeUpdate(), BattlegroundRV::AddPlayer(), BattlegroundSA::CaptureGraveyard(), BattlegroundIC::DestroyGate(), BattlegroundSA::DestroyGate(), BattlegroundSA::EndBattleground(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundSA::EventPlayerDamagedGO(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundTP::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BattlegroundIC::HandleKillPlayer(), BattlegroundRV::HandleKillPlayer(), BattlegroundVOP::HandleKillPlayer(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundIC::PostUpdateImpl(), BattlegroundTP::PostUpdateImpl(), BattlegroundVOP::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BattlegroundRV::RemovePlayer(), BattlegroundSA::ResetObjs(), BattlegroundEY::RespawnFlag(), BattlegroundAV::SendMineWorldStates(), BattlegroundSA::SendTime(), BattlegroundTP::StartingEventCloseDoors(), BattlegroundWS::StartingEventCloseDoors(), BattlegroundAV::StartingEventOpenDoors(), BattlegroundSA::ToggleTimer(), UpdateArenaWorldState(), BattlegroundTP::UpdateFlagState(), BattlegroundWS::UpdateFlagState(), BattlegroundAV::UpdateNodeWorldState(), BattlegroundIC::UpdateNodeWorldState(), BattlegroundEY::UpdatePointsCount(), BattlegroundEY::UpdatePointsIcons(), BattlegroundAV::UpdateScore(), BattlegroundEY::UpdateTeamScore(), BattlegroundTP::UpdateTeamScore(), BattlegroundVOP::UpdateTeamScore(), and BattlegroundWS::UpdateTeamScore().
Definition at line 709 of file Battleground.cpp.
References sBattlegroundMgr, and Player::SendDirectMessage().
Referenced by BattlegroundEY::CheckSomeoneJoinedPoint(), BattlegroundEY::CheckSomeoneLeftPoint(), and BattlegroundEY::UpdatePointStatuses().
Definition at line 676 of file Battleground.cpp.
References _GetPlayer(), ChatHandler::BuildChatPacket(), CHAT_MSG_MONSTER_YELL, and m_Players.
Referenced by BattlegroundAV::ChangeMineOwner(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundAV::EventPlayerDefendsPoint(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundAV::HandleKillUnit(), and BattlegroundAV::PostUpdateImpl().
| BGCreatures Battleground::BgCreatures |
Definition at line 509 of file Battleground.h.
Referenced by BattlegroundAB::_NodeDeOccupied(), BattlegroundBFG::_NodeDeOccupied(), BattlegroundAB::_NodeOccupied(), BattlegroundBFG::_NodeOccupied(), AddCreature(), BattlegroundAB::BattlegroundAB(), BattlegroundAV::BattlegroundAV(), BattlegroundBFG::BattlegroundBFG(), BattlegroundDS::BattlegroundDS(), BattlegroundEY::BattlegroundEY(), BattlegroundIC::BattlegroundIC(), BattlegroundSA::BattlegroundSA(), BattlegroundTP::BattlegroundTP(), BattlegroundVOP::BattlegroundVOP(), BattlegroundWS::BattlegroundWS(), BattlegroundAV::ChangeMineOwner(), DelCreature(), BattlegroundSA::DemolisherStartState(), BattlegroundAV::DePopulateNode(), BattlegroundIC::DestroyGate(), BattlegroundAV::EventPlayerAssaultsPoint(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerDestroyedPoint(), BattlegroundEY::EventTeamCapturedPoint(), GetBGCreature(), BattlegroundSA::OverrideGunFaction(), BattlegroundAV::PopulateNode(), BattlegroundDS::PostUpdateImpl(), BattlegroundAB::Reset(), BattlegroundBFG::Reset(), BattlegroundAV::ResetBGSubclass(), BattlegroundSA::UpdateDemolisherSpawns(), and ~Battleground().
| BGObjects Battleground::BgObjects |
Definition at line 508 of file Battleground.h.
Referenced by AddObject(), BattlegroundAB::BattlegroundAB(), BattlegroundAV::BattlegroundAV(), BattlegroundBE::BattlegroundBE(), BattlegroundBFG::BattlegroundBFG(), BattlegroundDS::BattlegroundDS(), BattlegroundEY::BattlegroundEY(), BattlegroundIC::BattlegroundIC(), BattlegroundNA::BattlegroundNA(), BattlegroundRL::BattlegroundRL(), BattlegroundRV::BattlegroundRV(), BattlegroundSA::BattlegroundSA(), BattlegroundTP::BattlegroundTP(), BattlegroundTV::BattlegroundTV(), BattlegroundVOP::BattlegroundVOP(), BattlegroundWS::BattlegroundWS(), BattlegroundEY::CheckSomeoneJoinedPoint(), BattlegroundEY::CheckSomeoneLeftPoint(), DelObject(), DoorClose(), DoorOpen(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), GetBGObject(), GetObjectType(), HandleTriggerBuff(), BattlegroundDS::PostUpdateImpl(), BattlegroundSA::SendTransportInit(), BattlegroundSA::SendTransportsRemove(), SpawnBGObject(), BattlegroundDS::StartingEventOpenDoors(), BattlegroundRV::TogglePillarCollision(), and ~Battleground().
|
private |
Definition at line 659 of file Battleground.h.
Referenced by Battleground(), EndBattleground(), GetArenaTeamIdByIndex(), GetArenaTeamIdForTeam(), SetArenaTeamIdForTeam(), and StartBattleground().
|
private |
Definition at line 662 of file Battleground.h.
Referenced by Battleground(), GetArenaMatchmakerRating(), GetArenaMatchmakerRatingByIndex(), and SetArenaMatchmakerRating().
|
private |
Definition at line 661 of file Battleground.h.
Referenced by Battleground(), GetArenaTeamRatingChangeByIndex(), GetArenaTeamRatingChangeForTeam(), and SetArenaTeamRatingChangeForTeam().
|
private |
Definition at line 599 of file Battleground.h.
Referenced by Battleground(), EndBattleground(), GetArenaType(), SetArenaType(), and StartBattleground().
|
private |
Definition at line 653 of file Battleground.h.
Referenced by Battleground(), GetBgRaid(), and SetBgRaid().
|
private |
Definition at line 598 of file Battleground.h.
Referenced by Battleground(), GetBracketId(), and SetBracket().
|
protected |
Definition at line 579 of file Battleground.h.
Referenced by Battleground(), BattlegroundAB::BattlegroundAB(), BattlegroundBFG::BattlegroundBFG(), BattlegroundEY::BattlegroundEY(), BattlegroundVOP::BattlegroundVOP(), and HandleTriggerBuff().
|
private |
Definition at line 591 of file Battleground.h.
Referenced by Battleground(), GetClientInstanceID(), and SetClientInstanceID().
|
private |
Definition at line 593 of file Battleground.h.
Referenced by _ProcessJoin(), Battleground(), and Update().
|
private |
Definition at line 596 of file Battleground.h.
Referenced by _ProcessJoin(), Battleground(), GetRemainingTime(), and SetRemainingTime().
|
protected |
Definition at line 574 of file Battleground.h.
Referenced by _ProcessJoin(), Battleground(), and Reset().
|
private |
Definition at line 609 of file Battleground.h.
Referenced by Battleground(), GetGUID(), and SetGuid().
|
protected |
Definition at line 582 of file Battleground.h.
Referenced by Battleground(), BattlegroundTP::EventPlayerCapturedFlag(), BattlegroundWS::EventPlayerCapturedFlag(), and SetHoliday().
|
private |
Definition at line 600 of file Battleground.h.
Referenced by AddToBGFreeSlotQueue(), Battleground(), RemoveFromBGFreeSlotQueue(), and Reset().
|
private |
Definition at line 589 of file Battleground.h.
Referenced by _GetPlayer(), _ProcessJoin(), AddCreature(), AddObject(), AddSpiritGuide(), Battleground(), DelCreature(), DelObject(), DoorClose(), DoorOpen(), GetBGCreature(), GetBGObject(), GetInstanceID(), GetObjectType(), HandleTriggerBuff(), RemoveFromBGFreeSlotQueue(), Reset(), SetInstanceID(), and UpdatePlayerScore().
|
private |
Definition at line 649 of file Battleground.h.
Referenced by Battleground(), DecreaseInvitedCount(), GetInvitedCount(), IncreaseInvitedCount(), and Reset().
|
private |
Definition at line 650 of file Battleground.h.
Referenced by Battleground(), DecreaseInvitedCount(), GetInvitedCount(), IncreaseInvitedCount(), and Reset().
|
private |
Definition at line 602 of file Battleground.h.
Referenced by Battleground(), isArena(), isBattleground(), and SetArenaorBGType().
|
protected |
Definition at line 580 of file Battleground.h.
Referenced by Battleground(), IsRandom(), and SetRandom().
|
private |
Definition at line 605 of file Battleground.h.
Referenced by Battleground(), isRated(), SetRated(), and StartBattleground().
|
private |
Definition at line 597 of file Battleground.h.
Referenced by _ProcessRessurect(), Battleground(), GetLastResurrectTime(), and SetLastResurrectTime().
|
private |
Definition at line 666 of file Battleground.h.
Referenced by Battleground(), GetMaxLevel(), and SetLevelRange().
|
private |
Definition at line 665 of file Battleground.h.
Referenced by Battleground(), CanAwardArenaPoints(), GetMinLevel(), and SetLevelRange().
|
private |
Definition at line 674 of file Battleground.h.
Referenced by Battleground(), FindBgMap(), GetBgMap(), SetBgMap(), and ~Battleground().
|
private |
Definition at line 673 of file Battleground.h.
Referenced by _GetPlayer(), _ProcessJoin(), AddCreature(), AddObject(), AddSpiritGuide(), Battleground(), DelCreature(), DelObject(), DoorClose(), DoorOpen(), GetBGCreature(), GetBGObject(), GetMapId(), GetObjectType(), HandleTriggerBuff(), Reset(), SetMapId(), and UpdatePlayerScore().
|
private |
Definition at line 668 of file Battleground.h.
Referenced by Battleground(), GetMaxPlayers(), and SetMaxPlayers().
|
private |
Definition at line 667 of file Battleground.h.
Referenced by Battleground(), GetMaxPlayersPerTeam(), and SetMaxPlayersPerTeam().
|
private |
Definition at line 670 of file Battleground.h.
Referenced by Battleground(), GetMinPlayers(), and SetMinPlayers().
|
private |
Definition at line 669 of file Battleground.h.
Referenced by Battleground(), GetMinPlayersPerTeam(), and SetMinPlayersPerTeam().
|
private |
Definition at line 608 of file Battleground.h.
Referenced by Battleground(), GetName(), and SetName().
|
private |
Definition at line 644 of file Battleground.h.
Referenced by _ProcessOfflineQueue(), EventPlayerLoggedIn(), and EventPlayerLoggedOut().
|
protected |
Definition at line 569 of file Battleground.h.
Referenced by _ProcessLeave(), _ProcessOfflineQueue(), AddPlayer(), BroadcastWorker(), CastSpellOnTeam(), EndBattleground(), EventPlayerLoggedIn(), EventPlayerLoggedOut(), GetAlivePlayersCountByTeam(), GetPlayerActiveSpec(), GetPlayers(), GetPlayersSize(), GetPlayerTeam(), HandleKillPlayer(), IsPlayerInBattleground(), PlaySoundToTeam(), RemoveAuraOnTeam(), RemovePlayerAtLeave(), Reset(), RewardHonorToTeam(), RewardReputationToTeam(), SendPacketToAll(), SendPacketToTeam(), SendWarningToAll(), BattlegroundRV::TogglePillarCollision(), and YellToAll().
|
private |
Definition at line 656 of file Battleground.h.
Referenced by Battleground(), GetPlayersCountByTeam(), and UpdatePlayersCountByTeam().
|
private |
Definition at line 606 of file Battleground.h.
Referenced by _ProcessProgress(), Battleground(), and Update().
|
private |
Definition at line 607 of file Battleground.h.
Referenced by _ProcessProgress(), and Battleground().
|
private |
Definition at line 588 of file Battleground.h.
Referenced by Battleground(), GetTypeID(), and SetRandomTypeID().
|
private |
Definition at line 594 of file Battleground.h.
Referenced by _ProcessJoin(), Battleground(), and Update().
|
private |
Definition at line 643 of file Battleground.h.
Referenced by _ProcessRessurect().
Definition at line 571 of file Battleground.h.
Referenced by _ProcessRessurect(), AddPlayerToResurrectQueue(), GetReviveQueueSize(), RelocateDeadPlayers(), and RemovePlayerFromResurrectQueue().
|
private |
Definition at line 601 of file Battleground.h.
Referenced by Battleground(), RemovePlayerAtLeave(), SetDeleteThis(), ToBeDeleted(), and Update().
|
private |
Definition at line 604 of file Battleground.h.
Referenced by Battleground(), GetStartDelayTime(), ModifyStartDelayTime(), and SetStartDelayTime().
|
private |
Definition at line 679 of file Battleground.h.
Referenced by Battleground(), GetStartMaxDist(), and SetStartMaxDist().
|
private |
Definition at line 592 of file Battleground.h.
Referenced by Battleground(), GetElapsedTime(), and SetElapsedTime().
|
private |
Definition at line 590 of file Battleground.h.
Referenced by Battleground(), GetStatus(), and SetStatus().
|
protected |
Definition at line 583 of file Battleground.h.
Referenced by BattlegroundTP::AddPoint(), BattlegroundWS::AddPoint(), BattlegroundEY::AddPoints(), Battleground(), BattlegroundAB::FillInitialWorldStates(), BattlegroundBFG::FillInitialWorldStates(), BattlegroundVOP::FillInitialWorldStates(), GetTeamScore(), BattlegroundVOP::HandleKillPlayer(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundVOP::PostUpdateImpl(), BattlegroundEY::RemovePoint(), BattlegroundTP::RemovePoint(), BattlegroundWS::RemovePoint(), BattlegroundAB::Reset(), BattlegroundBFG::Reset(), BattlegroundEY::Reset(), BattlegroundTP::Reset(), BattlegroundVOP::Reset(), BattlegroundWS::Reset(), BattlegroundEY::SetTeamPoint(), BattlegroundTP::SetTeamPoint(), and BattlegroundWS::SetTeamPoint().
|
private |
Definition at line 678 of file Battleground.h.
Referenced by Battleground(), GetTeamStartLoc(), and SetTeamStartLoc().
|
private |
Definition at line 675 of file Battleground.h.
Referenced by Battleground(), GetTeamStartLoc(), and SetTeamStartLoc().
|
private |
Definition at line 676 of file Battleground.h.
Referenced by Battleground(), GetTeamStartLoc(), and SetTeamStartLoc().
|
private |
Definition at line 677 of file Battleground.h.
Referenced by Battleground(), GetTeamStartLoc(), and SetTeamStartLoc().
|
private |
Definition at line 587 of file Battleground.h.
Referenced by _ProcessJoin(), AddPlayer(), AddToBGFreeSlotQueue(), Battleground(), GetTypeID(), RemoveFromBGFreeSlotQueue(), and SetTypeID().
|
private |
Definition at line 595 of file Battleground.h.
Referenced by _CheckSafePositions(), and Battleground().
|
private |
Definition at line 603 of file Battleground.h.
Referenced by Battleground(), GetWinner(), and SetWinner().
|
protected |
Definition at line 564 of file Battleground.h.
Referenced by BattlegroundAB::AddPlayer(), BattlegroundAV::AddPlayer(), BattlegroundBE::AddPlayer(), BattlegroundBFG::AddPlayer(), BattlegroundDS::AddPlayer(), BattlegroundEY::AddPlayer(), BattlegroundIC::AddPlayer(), BattlegroundNA::AddPlayer(), BattlegroundRL::AddPlayer(), BattlegroundRV::AddPlayer(), BattlegroundSA::AddPlayer(), BattlegroundTP::AddPlayer(), BattlegroundTV::AddPlayer(), BattlegroundVOP::AddPlayer(), BattlegroundWS::AddPlayer(), GetPlayerScoresBegin(), GetPlayerScoresEnd(), GetPlayerScoresSize(), RemovePlayerAtLeave(), Reset(), UpdatePlayerScore(), BattlegroundAB::UpdatePlayerScore(), BattlegroundAV::UpdatePlayerScore(), BattlegroundBE::UpdatePlayerScore(), BattlegroundBFG::UpdatePlayerScore(), BattlegroundEY::UpdatePlayerScore(), BattlegroundIC::UpdatePlayerScore(), BattlegroundSA::UpdatePlayerScore(), BattlegroundTP::UpdatePlayerScore(), BattlegroundTV::UpdatePlayerScore(), BattlegroundVOP::UpdatePlayerScore(), BattlegroundWS::UpdatePlayerScore(), and ~Battleground().
|
private |
Definition at line 680 of file Battleground.h.
Referenced by Battleground(), GetScriptId(), and SetScriptId().
|
protected |
Definition at line 575 of file Battleground.h.
Referenced by _ProcessJoin(), Battleground(), BattlegroundBE::BattlegroundBE(), BattlegroundDS::BattlegroundDS(), BattlegroundNA::BattlegroundNA(), BattlegroundRL::BattlegroundRL(), BattlegroundRV::BattlegroundRV(), and BattlegroundTV::BattlegroundTV().
|
protected |
Definition at line 577 of file Battleground.h.
Referenced by _ProcessJoin(), Battleground(), BattlegroundAB::BattlegroundAB(), BattlegroundAV::BattlegroundAV(), BattlegroundBE::BattlegroundBE(), BattlegroundBFG::BattlegroundBFG(), BattlegroundDS::BattlegroundDS(), BattlegroundEY::BattlegroundEY(), BattlegroundIC::BattlegroundIC(), BattlegroundNA::BattlegroundNA(), BattlegroundRL::BattlegroundRL(), BattlegroundRV::BattlegroundRV(), BattlegroundSA::BattlegroundSA(), BattlegroundTP::BattlegroundTP(), BattlegroundTV::BattlegroundTV(), BattlegroundVOP::BattlegroundVOP(), and BattlegroundWS::BattlegroundWS().