![]() |
TrinityCore
|
#include <Battleground.h>
Public Types | |
| typedef std::map< ObjectGuid, BattlegroundPlayer > | BattlegroundPlayerMap |
| typedef std::map< ObjectGuid, BattlegroundScore * > | BattlegroundScoreMap |
Static Public Member Functions | |
| static TeamId | GetTeamIndexByTeamId (uint32 Team) |
Public Attributes | |
| GuidVector | BgObjects |
| GuidVector | BgCreatures |
Protected Member Functions | |
| void | EndNow () |
| void | PlayerAddedToBGCheckIfBGIsRunning (Player *player) |
| Player * | _GetPlayer (ObjectGuid guid, bool offlineRemove, const char *context) const |
| Player * | _GetPlayer (BattlegroundPlayerMap::iterator itr, const char *context) |
| Player * | _GetPlayer (BattlegroundPlayerMap::const_iterator itr, const char *context) const |
| Player * | _GetPlayerForTeam (uint32 teamId, BattlegroundPlayerMap::const_iterator itr, const char *context) const |
| virtual bool | PreUpdateImpl (uint32) |
| Pre-update hook. More... | |
| virtual void | PostUpdateImpl (uint32) |
| Post-update hook. More... | |
| void | _ProcessOfflineQueue () |
| void | _ProcessResurrect (uint32 diff) |
| void | _ProcessProgress (uint32 diff) |
| void | _ProcessLeave (uint32 diff) |
| void | _ProcessJoin (uint32 diff) |
| void | _CheckSafePositions (uint32 diff) |
| void | _ProcessPlayerPositionBroadcast (uint32 diff) |
| virtual void | GetPlayerPositionData (std::vector< WorldPackets::Battleground::BattlegroundPlayerPosition > *) const |
| virtual void | RemovePlayer (Player *, ObjectGuid, uint32) |
| typedef std::map<ObjectGuid, BattlegroundPlayer> Battleground::BattlegroundPlayerMap |
| typedef std::map<ObjectGuid, BattlegroundScore*> Battleground::BattlegroundScoreMap |
| Battleground::Battleground | ( | ) |
|
virtual |
Here is the call graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Here is the call graph for this function:
Here is the caller graph for this function:| Creature * Battleground::AddCreature | ( | uint32 | entry, |
| uint32 | type, | ||
| Position const & | pos, | ||
| TeamId | teamId = TEAM_NEUTRAL, |
||
| uint32 | respawntime = 0, |
||
| Transport * | transport = NULL |
||
| ) |
Here is the call graph for this function:
|
virtual |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Battleground::AddObject | ( | uint32 | type, |
| uint32 | entry, | ||
| Position const & | pos, | ||
| float | rotation0, | ||
| float | rotation1, | ||
| float | rotation2, | ||
| float | rotation3, | ||
| uint32 | respawnTime = 0, |
||
| GOState | goState = GO_STATE_READY |
||
| ) |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, and Arena.
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::AddPlayerToResurrectQueue | ( | ObjectGuid | npc_guid, |
| ObjectGuid | player_guid | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Battleground::AddSpiritGuide | ( | uint32 | type, |
| Position const & | pos, | ||
| TeamId | teamId = TEAM_NEUTRAL |
||
| ) |
Here is the call graph for this function:| void Battleground::AddToBGFreeSlotQueue | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::BlockMovement | ( | Player * | player | ) |
| void Battleground::BroadcastWorker | ( | Do & | _do | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::BuildPvPLogDataPacket | ( | WorldPackets::Battleground::PVPLogData & | pvpLogData | ) |
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in BattlegroundAV.
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundAV, BattlegroundSA, BattlegroundAB, and BattlegroundWS.
Here is the caller graph for this function:
|
inlinevirtual |
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundIC, and BattlegroundSA.
|
inlinevirtual |
| void Battleground::DoorClose | ( | uint32 | type | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::DoorOpen | ( | uint32 | type | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, and Arena.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, and BattlegroundWS.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundEY, and BattlegroundWS.
| void Battleground::EventPlayerLoggedIn | ( | Player * | player | ) |
Here is the call graph for this function:| void Battleground::EventPlayerLoggedOut | ( | Player * | player | ) |
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, BattlegroundDS, BattlegroundRV, BattlegroundBE, BattlegroundNA, Arena, and BattlegroundRL.
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| GameObject * Battleground::GetBGObject | ( | uint32 | type, |
| bool | logError = true |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, and BattlegroundWS.
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundEY, and BattlegroundWS.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| int32 Battleground::GetObjectType | ( | ObjectGuid | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedvirtual |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| uint32 Battleground::GetPlayerTeam | ( | ObjectGuid | guid | ) | const |
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundAV, BattlegroundEY, BattlegroundAB, and BattlegroundWS.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| uint8 Battleground::GetUniqueBracketId | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, BattlegroundRV, BattlegroundDS, BattlegroundBE, BattlegroundNA, and BattlegroundRL.
Here is the caller graph for this function:Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundEY, BattlegroundWS, and Arena.
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in BattlegroundAV, BattlegroundIC, and BattlegroundSA.
|
inlinevirtual |
Reimplemented in BattlegroundIC.
Reimplemented in BattlegroundAV.
| void Battleground::HandleTriggerBuff | ( | ObjectGuid | go_guid | ) |
Here is the call graph for this function:| bool Battleground::HasFreeSlots | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:Reimplemented in BattlegroundIC, BattlegroundEY, and BattlegroundAB.
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Battleground::IsPlayerInBattleground | ( | ObjectGuid | guid | ) | const |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:Reimplemented in BattlegroundIC, and BattlegroundSA.
|
inline |
Here is the caller graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::PlaySoundToAll | ( | uint32 | SoundID | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
|
inlineprotectedvirtual |
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 BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, BattlegroundRV, and BattlegroundDS.
Here is the caller graph for this function: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.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundSA.
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::RelocateDeadPlayers | ( | ObjectGuid | guideGuid | ) |
Relocate all players in ReviveQueue to the closest graveyard.
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::RemoveFromBGFreeSlotQueue | ( | ) |
Here is the caller graph for this function:
|
inlineprotectedvirtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, and Arena.
Here is the caller graph for this function:
|
virtual |
Reimplemented in Arena.
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::RemovePlayerFromResurrectQueue | ( | ObjectGuid | player_guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundSA, BattlegroundEY, BattlegroundAB, and BattlegroundWS.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:| void Battleground::SendChatMessage | ( | Creature * | source, |
| uint8 | textId, | ||
| WorldObject * | target = NULL |
||
| ) |
Here is the caller graph for this function:| void Battleground::SendMessage2ToAll | ( | uint32 | entry, |
| ChatMsg | type, | ||
| Player const * | source, | ||
| uint32 | strId1 = 0, |
||
| uint32 | strId2 = 0 |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::SendPacketToAll | ( | WorldPacket const * | packet | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::SendPacketToTeam | ( | uint32 | TeamID, |
| WorldPacket const * | packet, | ||
| Player * | sender = NULL, |
||
| bool | self = true |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::SetBracket | ( | PvPDifficultyEntry const * | bracketEntry | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inlinevirtual |
Reimplemented in BattlegroundEY, and BattlegroundWS.
|
inline |
Here is the caller graph for this function:| void Battleground::SetHoliday | ( | bool | is_holiday | ) |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, BattlegroundRV, BattlegroundDS, BattlegroundBE, BattlegroundNA, and BattlegroundRL.
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Battleground::StartBattleground | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, BattlegroundDS, BattlegroundBE, BattlegroundNA, and BattlegroundRL.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundAV, BattlegroundIC, BattlegroundSA, BattlegroundEY, BattlegroundAB, BattlegroundWS, BattlegroundRV, BattlegroundDS, BattlegroundBE, BattlegroundNA, and BattlegroundRL.
Here is the caller graph for this function:| void Battleground::StartTimedAchievement | ( | AchievementCriteriaTimedTypes | type, |
| uint32 | entry | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Battleground::Update | ( | uint32 | diff | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundAV, BattlegroundEY, BattlegroundAB, and BattlegroundWS.
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
private |
| GuidVector Battleground::BgCreatures |
| GuidVector Battleground::BgObjects |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
private |
1.8.8