|
| typedef std::map< ObjectGuid, BattlegroundPlayer > | BattlegroundPlayerMap |
| |
| typedef std::map< ObjectGuid, BattlegroundScore * > | BattlegroundScoreMap |
| |
| | Battleground () |
| |
| virtual | ~Battleground () |
| |
| void | Update (uint32 diff) |
| |
| virtual bool | SetupBattleground () |
| |
| virtual void | Reset () |
| |
| virtual void | StartingEventCloseDoors () |
| |
| virtual void | StartingEventOpenDoors () |
| |
| virtual void | ResetBGSubclass () |
| |
| virtual void | DestroyGate (Player *, GameObject *) |
| |
| virtual bool | IsAllNodesControlledByTeam (uint32) const |
| |
| void | StartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry) |
| |
| virtual bool | CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=nullptr, uint32=0) |
| |
| std::string const & | GetName () const |
| |
| BattlegroundTypeId | GetTypeID (bool GetRandom=false) const |
| |
| BattlegroundBracketId | GetBracketId () const |
| |
| uint32 | GetInstanceID () const |
| |
| BattlegroundStatus | GetStatus () const |
| |
| uint32 | GetClientInstanceID () const |
| |
| uint32 | GetStartTime () const |
| |
| uint32 | GetEndTime () const |
| |
| uint32 | GetLastResurrectTime () const |
| |
| uint32 | GetMaxPlayers () const |
| |
| uint32 | GetMinPlayers () const |
| |
| uint32 | GetMinLevel () const |
| |
| uint32 | GetMaxLevel () const |
| |
| uint32 | GetMaxPlayersPerTeam () const |
| |
| uint32 | GetMinPlayersPerTeam () const |
| |
| int32 | GetStartDelayTime () const |
| |
| uint8 | GetArenaType () const |
| |
| PvPTeamId | GetWinner () const |
| |
| uint32 | GetScriptId () const |
| |
| uint32 | GetBonusHonorFromKill (uint32 kills) const |
| |
| bool | IsRandom () const |
| |
| void | SetName (std::string const &name) |
| |
| void | SetTypeID (BattlegroundTypeId TypeID) |
| |
| void | SetRandomTypeID (BattlegroundTypeId TypeID) |
| |
| void | SetBracket (PvPDifficultyEntry const *bracketEntry) |
| |
| void | SetInstanceID (uint32 InstanceID) |
| |
| void | SetStatus (BattlegroundStatus Status) |
| |
| void | SetClientInstanceID (uint32 InstanceID) |
| |
| void | SetStartTime (uint32 Time) |
| |
| void | SetEndTime (uint32 Time) |
| |
| void | SetLastResurrectTime (uint32 Time) |
| |
| void | SetMaxPlayers (uint32 MaxPlayers) |
| |
| void | SetMinPlayers (uint32 MinPlayers) |
| |
| void | SetLevelRange (uint32 min, uint32 max) |
| |
| void | SetRated (bool state) |
| |
| void | SetArenaType (uint8 type) |
| |
| void | SetArenaorBGType (bool _isArena) |
| |
| void | SetWinner (PvPTeamId winnerTeamId) |
| |
| void | SetScriptId (uint32 scriptId) |
| |
| void | ModifyStartDelayTime (int diff) |
| |
| void | SetStartDelayTime (int Time) |
| |
| void | SetMaxPlayersPerTeam (uint32 MaxPlayers) |
| |
| void | SetMinPlayersPerTeam (uint32 MinPlayers) |
| |
| void | AddToBGFreeSlotQueue () |
| |
| void | RemoveFromBGFreeSlotQueue () |
| |
| void | RemoveFromBGFreeSlotQueueOnShutdown () |
| |
| void | DecreaseInvitedCount (uint32 team) |
| |
| void | IncreaseInvitedCount (uint32 team) |
| |
| void | SetRandom (bool isRandom) |
| |
| uint32 | GetInvitedCount (uint32 team) const |
| |
| bool | HasFreeSlots () const |
| |
| uint32 | GetFreeSlotsForTeam (uint32 Team) const |
| |
| bool | isArena () const |
| |
| bool | isBattleground () const |
| |
| bool | isRated () const |
| |
| BattlegroundPlayerMap const & | GetPlayers () const |
| |
| uint32 | GetPlayersSize () const |
| |
| uint32 | GetPlayerScoresSize () const |
| |
| uint32 | GetReviveQueueSize () const |
| |
| void | AddPlayerToResurrectQueue (ObjectGuid npc_guid, ObjectGuid player_guid) |
| |
| void | RemovePlayerFromResurrectQueue (ObjectGuid player_guid) |
| |
| void | RelocateDeadPlayers (ObjectGuid guideGuid) |
| | Relocate all players in ReviveQueue to the closest graveyard.
|
| |
| void | StartBattleground () |
| |
| GameObject * | GetBGObject (uint32 type, bool logError=true) |
| |
| Creature * | GetBGCreature (uint32 type, bool logError=true) |
| |
| void | SetMapId (uint32 MapID) |
| |
| uint32 | GetMapId () const |
| |
| void | SetBgMap (BattlegroundMap *map) |
| |
| BattlegroundMap * | GetBgMap () const |
| |
| BattlegroundMap * | FindBgMap () const |
| |
| void | SetTeamStartPosition (TeamId teamId, Position const &pos) |
| |
| Position const * | GetTeamStartPosition (TeamId teamId) const |
| |
| void | SetStartMaxDist (float startMaxDist) |
| |
| float | GetStartMaxDist () const |
| |
| void | SendPacketToTeam (uint32 TeamID, WorldPacket const *packet, Player *sender=nullptr, bool self=true) const |
| |
| void | SendPacketToAll (WorldPacket const *packet) const |
| |
| void | SendChatMessage (Creature *source, uint8 textId, WorldObject *target=nullptr) |
| |
| void | SendBroadcastText (uint32 id, ChatMsg msgType, WorldObject const *target=nullptr) |
| |
| template<class Do > |
| void | BroadcastWorker (Do &_do) |
| |
| void | PlaySoundToTeam (uint32 soundID, uint32 teamID) |
| |
| void | PlaySoundToAll (uint32 soundID) |
| |
| void | CastSpellOnTeam (uint32 SpellID, uint32 TeamID) |
| |
| void | RemoveAuraOnTeam (uint32 SpellID, uint32 TeamID) |
| |
| void | RewardHonorToTeam (uint32 Honor, uint32 TeamID) |
| |
| void | RewardReputationToTeam (uint32 faction_id, uint32 Reputation, uint32 TeamID) |
| |
| void | UpdateWorldState (uint32 variable, uint32 value) |
| |
| void | BlockMovement (Player *player) |
| |
| void | SendWarningToAll (uint32 entry,...) |
| |
| void | SendMessageToAll (uint32 entry, ChatMsg type, Player const *source=nullptr) |
| |
| void | PSendMessageToAll (uint32 entry, ChatMsg type, Player const *source,...) |
| |
| Group * | GetBgRaid (uint32 TeamID) const |
| |
| void | SetBgRaid (uint32 TeamID, Group *bg_raid) |
| |
| void | BuildPvPLogDataPacket (WorldPackets::Battleground::PVPMatchStatistics &pvpLogData) |
| |
| virtual bool | UpdatePlayerScore (Player *player, uint32 type, uint32 value, bool doAddHonor=true) |
| |
| uint32 | GetPlayersCountByTeam (uint32 Team) const |
| |
| uint32 | GetAlivePlayersCountByTeam (uint32 Team) const |
| |
| void | UpdatePlayersCountByTeam (uint32 Team, bool remove) |
| |
| void | SetArenaTeamIdForTeam (uint32 Team, uint32 ArenaTeamId) |
| |
| uint32 | GetArenaTeamIdForTeam (uint32 Team) const |
| |
| uint32 | GetArenaTeamIdByIndex (uint32 index) const |
| |
| void | SetArenaMatchmakerRating (uint32 Team, uint32 MMR) |
| |
| uint32 | GetArenaMatchmakerRating (uint32 Team) const |
| |
| virtual void | HandleAreaTrigger (Player *, uint32) |
| |
| virtual void | HandleKillUnit (Creature *, Player *) |
| |
| virtual void | EventPlayerDroppedFlag (Player *) |
| |
| virtual void | EventPlayerClickedOnFlag (Player *, GameObject *) |
| |
| void | EventPlayerLoggedIn (Player *player) |
| |
| void | EventPlayerLoggedOut (Player *player) |
| |
| virtual void | ProcessEvent (WorldObject *, uint32, WorldObject *=nullptr) |
| |
| virtual void | DoAction (uint32, ObjectGuid) |
| |
| virtual void | HandlePlayerResurrect (Player *) |
| |
| virtual WorldSafeLocsEntry const * | GetClosestGraveyard (Player *player) |
| |
| void | AddOrSetPlayerToCorrectBgGroup (Player *player, uint32 team) |
| |
| void | HandleTriggerBuff (ObjectGuid go_guid) |
| |
| void | SetHoliday (bool is_holiday) |
| |
| void | SpawnBGObject (uint32 type, uint32 respawntime) |
| |
| virtual bool | AddObject (uint32 type, uint32 entry, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime=0, GOState goState=GO_STATE_READY) |
| |
| bool | AddObject (uint32 type, uint32 entry, Position const &pos, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime=0, GOState goState=GO_STATE_READY) |
| |
| virtual Creature * | AddCreature (uint32 entry, uint32 type, float x, float y, float z, float o, TeamId teamId=TEAM_NEUTRAL, uint32 respawntime=0, Transport *transport=nullptr) |
| |
| Creature * | AddCreature (uint32 entry, uint32 type, Position const &pos, TeamId teamId=TEAM_NEUTRAL, uint32 respawntime=0, Transport *transport=nullptr) |
| |
| bool | DelCreature (uint32 type) |
| |
| bool | DelObject (uint32 type) |
| |
| bool | RemoveObjectFromWorld (uint32 type) |
| |
| virtual bool | AddSpiritGuide (uint32 type, float x, float y, float z, float o, TeamId teamId=TEAM_NEUTRAL) |
| |
| bool | AddSpiritGuide (uint32 type, Position const &pos, TeamId teamId=TEAM_NEUTRAL) |
| |
| int32 | GetObjectType (ObjectGuid guid) |
| |
| void | DoorOpen (uint32 type) |
| |
| void | DoorClose (uint32 type) |
| |
| virtual bool | HandlePlayerUnderMap (Player *) |
| |
| uint32 | GetPlayerTeam (ObjectGuid guid) const |
| |
| uint32 | GetOtherTeam (uint32 teamId) const |
| |
| bool | IsPlayerInBattleground (ObjectGuid guid) const |
| |
| bool | ToBeDeleted () const |
| |
| void | SetDeleteThis () |
| |
| void | RewardXPAtKill (Player *killer, Player *victim) |
| |
| bool | CanAwardArenaPoints () const |
| |
| virtual ObjectGuid | GetFlagPickerGUID (int32=-1) const |
| |
| virtual void | SetDroppedFlagGUID (ObjectGuid, int32=-1) |
| |
| virtual void | HandleQuestComplete (uint32, Player *) |
| |
| virtual bool | CanActivateGO (int32, uint32) const |
| |
| virtual bool | IsSpellAllowed (uint32, Player const *) const |
| |
| uint32 | GetTeamScore (uint32 TeamID) const |
| |
| virtual uint32 | GetPrematureWinner () |
| |
| uint8 | GetUniqueBracketId () const |
| |
| BattlegroundPlayer const * | GetBattlegroundPlayerData (ObjectGuid const &playerGuid) const |
| |
| Trinity::unique_weak_ptr< Battleground > | GetWeakPtr () const |
| |
| void | SetWeakPtr (Trinity::unique_weak_ptr< Battleground > weakRef) |
| |
| static TeamId | GetTeamIndexByTeamId (uint32 Team) |
| |
| GuidVector | BgObjects |
| |
| GuidVector | BgCreatures |
| |
| BattlegroundScoreMap | PlayerScores |
| |
| BattlegroundPlayerMap | m_Players |
| |
| std::map< ObjectGuid, GuidVector > | m_ReviveQueue |
| |
| uint8 | m_Events |
| |
| BattlegroundStartTimeIntervals | StartDelayTimes [BG_STARTING_EVENT_COUNT] |
| |
| uint32 | StartMessageIds [BG_STARTING_EVENT_COUNT] |
| |
| bool | m_BuffChange |
| |
| bool | m_IsRandom |
| |
| BGHonorMode | m_HonorMode |
| |
| int32 | m_TeamScores [PVP_TEAMS_COUNT] |
| |
| ArenaTeamScore | _arenaTeamScores [PVP_TEAMS_COUNT] |
| |
Definition at line 47 of file Arena.h.