TrinityCore
Loading...
Searching...
No Matches
BattlegroundAV Class Reference

#include <BattlegroundAV.h>

+ Inheritance diagram for BattlegroundAV:

Public Member Functions

 BattlegroundAV ()
 
 ~BattlegroundAV ()
 
void AddPlayer (Player *player) override
 
void StartingEventCloseDoors () override
 
void StartingEventOpenDoors () override
 
void RemovePlayer (Player *player, ObjectGuid guid, uint32 team) override
 
void HandleAreaTrigger (Player *player, uint32 trigger) override
 
bool SetupBattleground () override
 
void ResetBGSubclass () override
 
void UpdateScore (uint16 team, int16 points)
 
bool UpdatePlayerScore (Player *player, uint32 type, uint32 value, bool doAddHonor=true) override
 
void EventPlayerClickedOnFlag (Player *source, GameObject *target_obj) override
 
void HandleKillPlayer (Player *player, Player *killer) override
 
void HandleKillUnit (Creature *unit, Player *killer) override
 
void HandleQuestComplete (uint32 questid, Player *player) override
 
bool CanActivateGO (int32 GOId, uint32 team) const override
 
void EndBattleground (uint32 winner) override
 
WorldSafeLocsEntry const * GetClosestGraveyard (Player *player) override
 
bool CheckAchievementCriteriaMeet (uint32 criteriaId, Player const *source, Unit const *target=nullptr, uint32 miscvalue1=0) override
 
uint32 GetPrematureWinner () override
 
- Public Member Functions inherited from Battleground
 Battleground ()
 
virtual ~Battleground ()
 
void Update (uint32 diff)
 
virtual void Reset ()
 
virtual void DestroyGate (Player *, GameObject *)
 
virtual bool IsAllNodesControlledByTeam (uint32) const
 
void StartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
 
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 ()
 
GameObjectGetBGObject (uint32 type, bool logError=true)
 
CreatureGetBGCreature (uint32 type, bool logError=true)
 
void SetMapId (uint32 MapID)
 
uint32 GetMapId () const
 
void SetBgMap (BattlegroundMap *map)
 
BattlegroundMapGetBgMap () const
 
BattlegroundMapFindBgMap () 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,...)
 
GroupGetBgRaid (uint32 TeamID) const
 
void SetBgRaid (uint32 TeamID, Group *bg_raid)
 
void BuildPvPLogDataPacket (WorldPackets::Battleground::PVPMatchStatistics &pvpLogData)
 
uint32 GetPlayersCountByTeam (uint32 Team) const
 
uint32 GetAlivePlayersCountByTeam (uint32 Team) const
 
void UpdatePlayersCountByTeam (uint32 Team, bool remove)
 
virtual void CheckWinConditions ()
 
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 EventPlayerDroppedFlag (Player *)
 
void EventPlayerLoggedIn (Player *player)
 
void EventPlayerLoggedOut (Player *player)
 
virtual void ProcessEvent (WorldObject *, uint32, WorldObject *=nullptr)
 
virtual void DoAction (uint32, ObjectGuid)
 
virtual void HandlePlayerResurrect (Player *)
 
void AddOrSetPlayerToCorrectBgGroup (Player *player, uint32 team)
 
virtual void RemovePlayerAtLeave (ObjectGuid guid, bool Transport, bool SendPacket)
 
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 CreatureAddCreature (uint32 entry, uint32 type, float x, float y, float z, float o, TeamId teamId=TEAM_NEUTRAL, uint32 respawntime=0, Transport *transport=nullptr)
 
CreatureAddCreature (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 bool IsSpellAllowed (uint32, Player const *) const
 
uint32 GetTeamScore (uint32 TeamID) const
 
uint8 GetUniqueBracketId () const
 
BattlegroundPlayer const * GetBattlegroundPlayerData (ObjectGuid const &playerGuid) const
 
Trinity::unique_weak_ptr< BattlegroundGetWeakPtr () const
 
void SetWeakPtr (Trinity::unique_weak_ptr< Battleground > weakRef)
 

Private Member Functions

void PostUpdateImpl (uint32 diff) override
 Post-update hook.
 
void EventPlayerAssaultsPoint (Player *player, uint32 object)
 
void EventPlayerDefendsPoint (Player *player, uint32 object)
 
void EventPlayerDestroyedPoint (BG_AV_Nodes node)
 
void AssaultNode (BG_AV_Nodes node, uint16 team)
 
void DestroyNode (BG_AV_Nodes node)
 
void InitNode (BG_AV_Nodes node, uint16 team, bool tower)
 
void DefendNode (BG_AV_Nodes node, uint16 team)
 
void PopulateNode (BG_AV_Nodes node)
 
void DePopulateNode (BG_AV_Nodes node)
 
StaticNodeInfo const * GetStaticNodeInfo (BG_AV_Nodes node) const
 
BG_AV_Nodes GetNodeThroughObject (uint32 object)
 
uint32 GetObjectThroughNode (BG_AV_Nodes node)
 
bool IsTower (BG_AV_Nodes node)
 
void ChangeMineOwner (uint8 mine, uint32 team, bool initial=false)
 
void FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &packet) override
 
void SendMineWorldStates (uint32 mine)
 
void UpdateNodeWorldState (BG_AV_Nodes node)
 
CreatureAddAVCreature (uint16 cinfoid, uint16 type)
 

Private Attributes

int32 m_Team_Scores [2]
 
uint32 m_Team_QuestStatus [2][9]
 
BG_AV_NodeInfo m_Nodes [BG_AV_NODES_MAX]
 
uint32 m_Mine_Owner [2]
 
uint32 m_Mine_PrevOwner [2]
 
int32 m_Mine_Timer
 
uint32 m_Mine_Reclaim_Timer [2]
 
uint32 m_CaptainBuffTimer [2]
 
bool m_CaptainAlive [2]
 
bool m_IsInformedNearVictory [2]
 

Additional Inherited Members

- Public Types inherited from Battleground
typedef std::map< ObjectGuid, BattlegroundPlayerBattlegroundPlayerMap
 
typedef std::map< ObjectGuid, BattlegroundScore * > BattlegroundScoreMap
 
- Static Public Member Functions inherited from Battleground
static TeamId GetTeamIndexByTeamId (uint32 Team)
 
- Public Attributes inherited from Battleground
GuidVector BgObjects
 
GuidVector BgCreatures
 
- Protected Member Functions inherited from Battleground
void EndNow ()
 
void PlayerAddedToBGCheckIfBGIsRunning (Player *player)
 
Player_GetPlayer (ObjectGuid guid, bool offlineRemove, char const *context) const
 
Player_GetPlayer (BattlegroundPlayerMap::iterator itr, char const *context)
 
Player_GetPlayer (BattlegroundPlayerMap::const_iterator itr, char const *context) const
 
Player_GetPlayerForTeam (uint32 teamId, BattlegroundPlayerMap::const_iterator itr, char const *context) const
 
void _ProcessOfflineQueue ()
 
void _ProcessResurrect (uint32 diff)
 
void _ProcessProgress (uint32 diff)
 
void _ProcessLeave (uint32 diff)
 
void _ProcessJoin (uint32 diff)
 
void _CheckSafePositions (uint32 diff)
 
- Protected Attributes inherited from Battleground
BattlegroundScoreMap PlayerScores
 
BattlegroundPlayerMap m_Players
 
std::map< ObjectGuid, GuidVectorm_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]
 

Detailed Description

Definition at line 1615 of file BattlegroundAV.h.

Constructor & Destructor Documentation

◆ BattlegroundAV()

BattlegroundAV::BattlegroundAV ( )

Definition at line 36 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ ~BattlegroundAV()

BattlegroundAV::~BattlegroundAV ( )

Definition at line 64 of file BattlegroundAV.cpp.

Member Function Documentation

◆ AddAVCreature()

Creature * BattlegroundAV::AddAVCreature ( uint16  cinfoid,
uint16  type 
)
private
Todo:
look if this can be done by database + also add this for the wingcommanders
Todo:
find a way to add a motionmaster without killing the creature (i

Definition at line 282 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddPlayer()

void BattlegroundAV::AddPlayer ( Player player)
overridevirtual

Reimplemented from Battleground.

Definition at line 442 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ AssaultNode()

void BattlegroundAV::AssaultNode ( BG_AV_Nodes  node,
uint16  team 
)
private

Definition at line 1408 of file BattlegroundAV.cpp.

+ Here is the caller graph for this function:

◆ CanActivateGO()

bool BattlegroundAV::CanActivateGO ( int32  GOId,
uint32  team 
) const
overridevirtual

Reimplemented from Battleground.

Definition at line 705 of file BattlegroundAV.cpp.

◆ ChangeMineOwner()

void BattlegroundAV::ChangeMineOwner ( uint8  mine,
uint32  team,
bool  initial = false 
)
private
Todo:
just set the respawntime to 999999
Todo:
here also

Definition at line 616 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckAchievementCriteriaMeet()

bool BattlegroundAV::CheckAchievementCriteriaMeet ( uint32  criteriaId,
Player const *  source,
Unit const *  target = nullptr,
uint32  miscvalue1 = 0 
)
overridevirtual

Reimplemented from Battleground.

Definition at line 1503 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ DefendNode()

void BattlegroundAV::DefendNode ( BG_AV_Nodes  node,
uint16  team 
)
private

Definition at line 1461 of file BattlegroundAV.cpp.

+ Here is the caller graph for this function:

◆ DePopulateNode()

void BattlegroundAV::DePopulateNode ( BG_AV_Nodes  node)
private

Definition at line 765 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyNode()

void BattlegroundAV::DestroyNode ( BG_AV_Nodes  node)
private

Definition at line 1438 of file BattlegroundAV.cpp.

+ Here is the caller graph for this function:

◆ EndBattleground()

void BattlegroundAV::EndBattleground ( uint32  winner)
overridevirtual
Todo:
add enterevademode for all attacking creatures

Reimplemented from Battleground.

Definition at line 450 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EventPlayerAssaultsPoint()

void BattlegroundAV::EventPlayerAssaultsPoint ( Player player,
uint32  object 
)
private

Definition at line 936 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EventPlayerClickedOnFlag()

void BattlegroundAV::EventPlayerClickedOnFlag ( Player source,
GameObject target_obj 
)
overridevirtual

Reimplemented from Battleground.

Definition at line 842 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ EventPlayerDefendsPoint()

void BattlegroundAV::EventPlayerDefendsPoint ( Player player,
uint32  object 
)
private

Definition at line 870 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EventPlayerDestroyedPoint()

void BattlegroundAV::EventPlayerDestroyedPoint ( BG_AV_Nodes  node)
private

Definition at line 562 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FillInitialWorldStates()

void BattlegroundAV::FillInitialWorldStates ( WorldPackets::WorldState::InitWorldStates packet)
overrideprivatevirtual

Reimplemented from Battleground.

Definition at line 1027 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ GetClosestGraveyard()

WorldSafeLocsEntry const * BattlegroundAV::GetClosestGraveyard ( Player player)
overridevirtual

Reimplemented from Battleground.

Definition at line 1103 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ GetNodeThroughObject()

BG_AV_Nodes BattlegroundAV::GetNodeThroughObject ( uint32  object)
private

Definition at line 780 of file BattlegroundAV.cpp.

+ Here is the caller graph for this function:

◆ GetObjectThroughNode()

uint32 BattlegroundAV::GetObjectThroughNode ( BG_AV_Nodes  node)
private

Definition at line 802 of file BattlegroundAV.cpp.

+ Here is the caller graph for this function:

◆ GetPrematureWinner()

uint32 BattlegroundAV::GetPrematureWinner ( )
overridevirtual

Reimplemented from Battleground.

Definition at line 1566 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ GetStaticNodeInfo()

StaticNodeInfo const * BattlegroundAV::GetStaticNodeInfo ( BG_AV_Nodes  node) const
inlineprivate

Definition at line 1667 of file BattlegroundAV.h.

+ Here is the caller graph for this function:

◆ HandleAreaTrigger()

void BattlegroundAV::HandleAreaTrigger ( Player player,
uint32  trigger 
)
overridevirtual

Reimplemented from Battleground.

Definition at line 503 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ HandleKillPlayer()

void BattlegroundAV::HandleKillPlayer ( Player player,
Player killer 
)
overridevirtual

Reimplemented from Battleground.

Definition at line 66 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ HandleKillUnit()

void BattlegroundAV::HandleKillUnit ( Creature unit,
Player killer 
)
overridevirtual

Reimplemented from Battleground.

Definition at line 75 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ HandleQuestComplete()

void BattlegroundAV::HandleQuestComplete ( uint32  questid,
Player player 
)
overridevirtual
Todo:
add reputation, events (including quest not available anymore, next quest available, go/npc de/spawning)and maybe honor

Reimplemented from Battleground.

Definition at line 152 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ InitNode()

void BattlegroundAV::InitNode ( BG_AV_Nodes  node,
uint16  team,
bool  tower 
)
private

Definition at line 1449 of file BattlegroundAV.cpp.

+ Here is the caller graph for this function:

◆ IsTower()

bool BattlegroundAV::IsTower ( BG_AV_Nodes  node)
inlineprivate

Definition at line 1677 of file BattlegroundAV.h.

+ Here is the caller graph for this function:

◆ PopulateNode()

void BattlegroundAV::PopulateNode ( BG_AV_Nodes  node)
private

Definition at line 714 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PostUpdateImpl()

void BattlegroundAV::PostUpdateImpl ( uint32  )
overrideprivatevirtual

Post-update hook.

Will be called after battleground update has passed. May be used to implement custom update effects in subclasses.

Parameters
diffa time difference between two worldserver update loops in milliseconds.
See also
Update(), PreUpdateImpl().

Reimplemented from Battleground.

Definition at line 358 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ RemovePlayer()

void BattlegroundAV::RemovePlayer ( Player player,
ObjectGuid  guid,
uint32  team 
)
overridevirtual
Todo:
search more buffs

Reimplemented from Battleground.

Definition at line 490 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ ResetBGSubclass()

void BattlegroundAV::ResetBGSubclass ( )
overridevirtual

Reimplemented from Battleground.

Definition at line 1473 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ SendMineWorldStates()

void BattlegroundAV::SendMineWorldStates ( uint32  mine)
private

Definition at line 1076 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetupBattleground()

bool BattlegroundAV::SetupBattleground ( )
overridevirtual

Reimplemented from Battleground.

Definition at line 1133 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ StartingEventCloseDoors()

void BattlegroundAV::StartingEventCloseDoors ( )
overridevirtual

Reimplemented from Battleground.

Definition at line 416 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ StartingEventOpenDoors()

void BattlegroundAV::StartingEventOpenDoors ( )
overridevirtual

Reimplemented from Battleground.

Definition at line 422 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:

◆ UpdateNodeWorldState()

void BattlegroundAV::UpdateNodeWorldState ( BG_AV_Nodes  node)
private

Definition at line 1059 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePlayerScore()

bool BattlegroundAV::UpdatePlayerScore ( Player player,
uint32  type,
uint32  value,
bool  doAddHonor = true 
)
overridevirtual

Reimplemented from Battleground.

Definition at line 537 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateScore()

void BattlegroundAV::UpdateScore ( uint16  team,
int16  points 
)

Definition at line 256 of file BattlegroundAV.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_CaptainAlive

bool BattlegroundAV::m_CaptainAlive[2]
private

Definition at line 1701 of file BattlegroundAV.h.

◆ m_CaptainBuffTimer

uint32 BattlegroundAV::m_CaptainBuffTimer[2]
private

Definition at line 1700 of file BattlegroundAV.h.

◆ m_IsInformedNearVictory

bool BattlegroundAV::m_IsInformedNearVictory[2]
private

Definition at line 1703 of file BattlegroundAV.h.

◆ m_Mine_Owner

uint32 BattlegroundAV::m_Mine_Owner[2]
private

Definition at line 1696 of file BattlegroundAV.h.

◆ m_Mine_PrevOwner

uint32 BattlegroundAV::m_Mine_PrevOwner[2]
private

Definition at line 1697 of file BattlegroundAV.h.

◆ m_Mine_Reclaim_Timer

uint32 BattlegroundAV::m_Mine_Reclaim_Timer[2]
private

Definition at line 1699 of file BattlegroundAV.h.

◆ m_Mine_Timer

int32 BattlegroundAV::m_Mine_Timer
private

Definition at line 1698 of file BattlegroundAV.h.

◆ m_Nodes

BG_AV_NodeInfo BattlegroundAV::m_Nodes[BG_AV_NODES_MAX]
private

Definition at line 1694 of file BattlegroundAV.h.

◆ m_Team_QuestStatus

uint32 BattlegroundAV::m_Team_QuestStatus[2][9]
private

Definition at line 1692 of file BattlegroundAV.h.

◆ m_Team_Scores

int32 BattlegroundAV::m_Team_Scores[2]
private

Definition at line 1691 of file BattlegroundAV.h.


The documentation for this class was generated from the following files: