Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
BattlegroundAV Class Reference

#include <BattlegroundAV.h>

Inheritance diagram for BattlegroundAV:
Collaboration diagram for BattlegroundAV:

Public Member Functions

void AddPlayer (Player *player) OVERRIDE
 BattlegroundAV ()
bool CanActivateGO (int32 GOId, uint32 team) const OVERRIDE
bool CheckAchievementCriteriaMeet (uint32 criteriaId, Player const *source, Unit const *target=NULL, uint32 miscvalue1=0) OVERRIDE
void EndBattleground (uint32 winner)
void EventPlayerClickedOnFlag (Player *source, GameObject *target_obj) OVERRIDE
WorldSafeLocsEntry const * GetClosestGraveYard (Player *player) OVERRIDE
uint32 GetPrematureWinner () OVERRIDE
void HandleAreaTrigger (Player *player, uint32 trigger) OVERRIDE
void HandleKillPlayer (Player *player, Player *killer) OVERRIDE
void HandleKillUnit (Creature *unit, Player *killer) OVERRIDE
void HandleQuestComplete (uint32 questid, Player *player) OVERRIDE
void RemovePlayer (Player *player, uint64 guid, uint32 team) OVERRIDE
void ResetBGSubclass () OVERRIDE
bool SetupBattleground () OVERRIDE
void StartingEventCloseDoors () OVERRIDE
void StartingEventOpenDoors () OVERRIDE
void UpdatePlayerScore (Player *player, uint32 type, uint32 value, bool doAddHonor=true) OVERRIDE
void UpdateScore (uint16 team, int16 points)
 ~BattlegroundAV ()
Public Member Functions inherited from Battleground
CreatureAddCreature (uint32 entry, uint32 type, uint32 teamval, float x, float y, float z, float o, uint32 respawntime=0)
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)
void AddOrSetPlayerToCorrectBgGroup (Player *player, uint32 team)
void AddPlayerToResurrectQueue (uint64 npc_guid, uint64 player_guid)
bool AddSpiritGuide (uint32 type, float x, float y, float z, float o, uint32 team)
void AddToBGFreeSlotQueue ()
 Battleground ()
void BlockMovement (Player *player)
template<class Do>
void BroadcastWorker (Do &_do)
bool CanAwardArenaPoints () const
void CastSpellOnTeam (uint32 SpellID, uint32 TeamID)
void CheckArenaAfterTimerConditions ()
void CheckArenaWinConditions ()
void DecreaseInvitedCount (uint32 team)
bool DelCreature (uint32 type)
bool DelObject (uint32 type)
virtual void DestroyGate (Player *, GameObject *)
virtual void DoAction (uint32, uint64)
void DoorClose (uint32 type)
void DoorOpen (uint32 type)
void EndBattleground (uint32 winner)
virtual void EventPlayerDamagedGO (Player *, GameObject *, uint32)
virtual void EventPlayerDroppedFlag (Player *)
void EventPlayerLoggedIn (Player *player)
void EventPlayerLoggedOut (Player *player)
virtual void EventPlayerUsedGO (Player *, GameObject *)
BattlegroundMapFindBgMap () const
uint32 GetAlivePlayersCountByTeam (uint32 TeamTeam) const
uint32 GetArenaMatchmakerRating (uint32 TeamTeam) const
uint32 GetArenaMatchmakerRatingByIndex (uint32 index) const
uint32 GetArenaTeamIdByIndex (uint32 index) const
uint32 GetArenaTeamIdForTeam (uint32 TeamTeam) const
int32 GetArenaTeamRatingChangeByIndex (uint32 index) const
int32 GetArenaTeamRatingChangeForTeam (uint32 TeamTeam) const
uint8 GetArenaType () const
CreatureGetBGCreature (uint32 type)
BattlegroundMapGetBgMap () const
GameObjectGetBGObject (uint32 type)
GroupGetBgRaid (uint32 TeamID) const
uint32 GetBonusHonorFromKill (uint32 kills) const
BattlegroundBracketId GetBracketId () const
uint32 GetClientInstanceID () const
uint32 GetElapsedTime () const
virtual uint64 GetFlagPickerGUID (int32=-1) const
uint32 GetFreeSlotsForTeam (uint32 TeamTeam) const
uint64 GetGUID () const
uint32 GetInstanceID () const
uint32 GetInvitedCount (uint32 team) const
uint32 GetLastResurrectTime () const
uint32 GetMapId () const
uint32 GetMaxLevel () const
uint32 GetMaxPlayers () const
uint32 GetMaxPlayersPerTeam () const
uint32 GetMinLevel () const
uint32 GetMinPlayers () const
uint32 GetMinPlayersPerTeam () const
char const * GetName () const
int32 GetObjectType (uint64 guid)
uint32 GetOtherTeam (uint32 teamId) const
uint32 GetPlayerActiveSpec (uint64 guid) const
BattlegroundPlayerMap const & GetPlayers () const
BattlegroundScoreMap::const_iterator GetPlayerScoresBegin () const
BattlegroundScoreMap::const_iterator GetPlayerScoresEnd () const
uint32 GetPlayerScoresSize () const
uint32 GetPlayersCountByTeam (uint32 TeamTeam) const
uint32 GetPlayersSize () const
uint32 GetPlayerTeam (uint64 guid) const
uint32 GetRemainingTime () const
uint32 GetReviveQueueSize () const
uint32 GetScriptId () const
const char * GetSkyFireString (int32 entry)
int32 GetStartDelayTime () const
float GetStartMaxDist () const
BattlegroundStatus GetStatus () const
uint32 GetTeamScore (uint32 TeamID) const
void GetTeamStartLoc (uint32 TeamID, float &X, float &Y, float &Z, float &O) const
BattlegroundTypeId GetTypeID (bool GetRandom=false) const
uint8 GetWinner () const
virtual void HandlePlayerResurrect (Player *)
virtual bool HandlePlayerUnderMap (Player *)
void HandleTriggerBuff (uint64 go_guid)
bool HasFreeSlots () const
void IncreaseInvitedCount (uint32 team)
virtual bool IsAllNodesControlledByTeam (uint32) const
bool isArena () const
bool isBattleground () const
bool IsPlayerInBattleground (uint64 guid) const
bool IsRandom () const
bool isRated () const
virtual bool IsSpellAllowed (uint32, Player const *) const
void ModifyStartDelayTime (int diff)
void PlaySoundToAll (uint32 SoundID)
void PlaySoundToTeam (uint32 SoundID, uint32 TeamID)
void PSendMessageToAll (int32 entry, ChatMsg type, Player const *source,...)
void RelocateDeadPlayers (uint64 queueIndex)
 Relocate all players in ReviveQueue to the closest graveyard.
void RemoveAuraOnTeam (uint32 SpellID, uint32 TeamID)
void RemoveFromBGFreeSlotQueue ()
virtual void RemovePlayerAtLeave (uint64 guid, bool Transport, bool SendPacket)
void RemovePlayerFromResurrectQueue (uint64 player_guid)
virtual void Reset ()
void RewardHonorToTeam (uint32 Honor, uint32 TeamID)
void RewardReputationToTeam (uint32 faction_id, uint32 Reputation, uint32 TeamID)
void RewardXPAtKill (Player *killer, Player *victim)
void SendMessage2ToAll (int32 entry, ChatMsg type, Player const *source, int32 strId1=0, int32 strId2=0)
void SendMessageToAll (int32 entry, ChatMsg type, Player const *source=NULL)
void SendPacketToAll (WorldPacket *packet)
void SendPacketToTeam (uint32 TeamID, WorldPacket *packet, Player *sender=NULL, bool self=true)
void SendWarningToAll (int32 entry,...)
void SetArenaMatchmakerRating (uint32 TeamTeam, uint32 MMR)
void SetArenaorBGType (bool _isArena)
void SetArenaTeamIdForTeam (uint32 TeamTeam, uint32 ArenaTeamId)
void SetArenaTeamRatingChangeForTeam (uint32 TeamTeam, int32 RatingChange)
void SetArenaType (uint8 type)
void SetBgMap (BattlegroundMap *map)
void SetBgRaid (uint32 TeamID, Group *bg_raid)
void SetBracket (PvPDifficultyEntry const *bracketEntry)
void SetClientInstanceID (uint32 InstanceID)
void SetDeleteThis ()
virtual void SetDroppedFlagGUID (uint64, int32=-1)
void SetElapsedTime (uint32 Time)
void SetGuid (uint64 newGuid)
void SetHoliday (bool is_holiday)
void SetInstanceID (uint32 InstanceID)
void SetLastResurrectTime (uint32 Time)
void SetLevelRange (uint32 min, uint32 max)
void SetMapId (uint32 MapID)
void SetMaxPlayers (uint32 MaxPlayers)
void SetMaxPlayersPerTeam (uint32 MaxPlayers)
void SetMinPlayers (uint32 MinPlayers)
void SetMinPlayersPerTeam (uint32 MinPlayers)
void SetName (char const *Name)
void SetRandom (bool isRandom)
void SetRandomTypeID (BattlegroundTypeId TypeIDTypeID)
void SetRated (bool state)
void SetRemainingTime (uint32 Time)
void SetScriptId (uint32 scriptId)
void SetStartDelayTime (int Time)
void SetStartMaxDist (float startMaxDist)
void SetStatus (BattlegroundStatus Status)
void SetTeamStartLoc (uint32 TeamID, float X, float Y, float Z, float O)
void SetTypeID (BattlegroundTypeId TypeIDTypeID)
void SetWinner (uint8 winner)
void SpawnBGObject (uint32 type, uint32 respawntime)
void StartBattleground ()
void StartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
bool ToBeDeleted () const
void Update (uint32 diff)
void UpdateArenaWorldState ()
void UpdatePlayersCountByTeam (uint32 TeamTeam, bool remove)
void UpdateWorldState (uint32 Field, uint32 Value)
void UpdateWorldStateForPlayer (uint32 Field, uint32 Value, Player *player)
void YellToAll (Creature *creature, const char *text, Language language)
virtual ~Battleground ()

Private Member Functions

CreatureAddAVCreature (uint16 cinfoid, uint16 type)
void AssaultNode (BG_AV_Nodes node, uint16 team)
void ChangeMineOwner (uint8 mine, uint32 team, bool initial=false)
void DefendNode (BG_AV_Nodes node, uint16 team)
void DePopulateNode (BG_AV_Nodes node)
void DestroyNode (BG_AV_Nodes node)
void EventPlayerAssaultsPoint (Player *player, uint32 object)
void EventPlayerDefendsPoint (Player *player, uint32 object)
void EventPlayerDestroyedPoint (BG_AV_Nodes node)
void FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE
uint16 GetBonusHonor (uint8 kills)
char const * GetNodeName (BG_AV_Nodes node)
BG_AV_Nodes GetNodeThroughObject (uint32 object)
uint32 GetObjectThroughNode (BG_AV_Nodes node)
uint8 GetWorldStateType (uint8 state, uint16 team)
void InitNode (BG_AV_Nodes node, uint16 team, bool tower)
bool IsTower (BG_AV_Nodes node) const
void PopulateNode (BG_AV_Nodes node)
void PostUpdateImpl (uint32 diff) OVERRIDE
 Post-update hook.
void SendMineWorldStates (uint32 mine)
void UpdateNodeWorldState (BG_AV_Nodes node)

Private Attributes

bool m_CaptainAlive [2] = { }
uint32 m_CaptainBuffTimer [2] = { }
bool m_IsInformedNearVictory [2] = { }
uint8 m_MaxLevel
uint32 m_Mine_Owner [2] = { }
uint32 m_Mine_PrevOwner [2] = { }
uint32 m_Mine_Reclaim_Timer [2] = { }
int32 m_Mine_Timer
BG_AV_NodeInfo m_Nodes [BG_AV_NODES_MAX] = { }
uint32 m_Team_QuestStatus [2][9] = { }
int32 m_Team_Scores [2] = { }

Additional Inherited Members

Public Types inherited from Battleground
typedef std::map< uint64, BattlegroundPlayerBattlegroundPlayerMap
typedef std::map< uint64, BattlegroundScore * > BattlegroundScoreMap
typedef std::vector< uint64BGCreatures
typedef std::vector< uint64BGObjects
Static Public Member Functions inherited from Battleground
static TeamId GetTeamIndexByTeamId (uint32 TeamTeam)
Public Attributes inherited from Battleground
BGCreatures BgCreatures
BGObjects BgObjects
Protected Member Functions inherited from Battleground
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)
Protected Attributes inherited from Battleground
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]

Detailed Description

Definition at line 1528 of file BattlegroundAV.h.

Constructor & Destructor Documentation

◆ BattlegroundAV()

◆ ~BattlegroundAV()

BattlegroundAV::~BattlegroundAV ( )

Definition at line 29 of file BattlegroundAV.cpp.

Member Function Documentation

◆ AddAVCreature()

◆ AddPlayer()

void BattlegroundAV::AddPlayer ( Player * player)
virtual
Todo
just look at the code \^_^/ –but queue-info should provide this information..

Reimplemented from Battleground.

Definition at line 438 of file BattlegroundAV.cpp.

References Battleground::AddPlayer(), Object::GetGUID(), Unit::getLevel(), m_MaxLevel, and Battleground::PlayerScores.

◆ AssaultNode()

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

◆ CanActivateGO()

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

Reimplemented from Battleground.

Definition at line 723 of file BattlegroundAV.cpp.

References AV_NORTH_MINE, AV_SOUTH_MINE, BG_AV_OBJECTID_MINE_N, BG_AV_OBJECTID_MINE_S, and m_Mine_Owner.

◆ ChangeMineOwner()

◆ CheckAchievementCriteriaMeet()

◆ DefendNode()

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

Definition at line 1573 of file BattlegroundAV.cpp.

References ASSERT, m_Nodes, POINT_CONTROLED, and POINT_DESTROYED.

Referenced by EventPlayerDefendsPoint().

◆ DePopulateNode()

void BattlegroundAV::DePopulateNode ( BG_AV_Nodes node)
private

◆ DestroyNode()

void BattlegroundAV::DestroyNode ( BG_AV_Nodes node)
private

Definition at line 1550 of file BattlegroundAV.cpp.

References ASSERT, m_Nodes, POINT_ASSAULTED, POINT_CONTROLED, and POINT_DESTROYED.

Referenced by EventPlayerDestroyedPoint().

◆ EndBattleground()

◆ EventPlayerAssaultsPoint()

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

◆ EventPlayerClickedOnFlag()

◆ EventPlayerDefendsPoint()

◆ EventPlayerDestroyedPoint()

◆ FillInitialWorldStates()

◆ GetBonusHonor()

uint16 BattlegroundAV::GetBonusHonor ( uint8 kills)
private
Todo
move this function to Battleground.cpp (needs to find a way to get m_MaxLevel)

Definition at line 31 of file BattlegroundAV.cpp.

References Skyfire::Honor::hk_honor_at_level(), and m_MaxLevel.

Referenced by EndBattleground(), EventPlayerDestroyedPoint(), and HandleKillUnit().

◆ GetClosestGraveYard()

◆ GetNodeName()

◆ GetNodeThroughObject()

◆ GetObjectThroughNode()

◆ GetPrematureWinner()

uint32 BattlegroundAV::GetPrematureWinner ( )
virtual

◆ GetWorldStateType()

uint8 BattlegroundAV::GetWorldStateType ( uint8 state,
uint16 team )
private

◆ HandleAreaTrigger()

void BattlegroundAV::HandleAreaTrigger ( Player * player,
uint32 trigger )
virtual

◆ HandleKillPlayer()

void BattlegroundAV::HandleKillPlayer ( Player * player,
Player * killer )
virtual

◆ HandleKillUnit()

◆ HandleQuestComplete()

◆ InitNode()

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

Definition at line 1561 of file BattlegroundAV.cpp.

References m_Nodes, and POINT_CONTROLED.

Referenced by ResetBGSubclass().

◆ IsTower()

bool BattlegroundAV::IsTower ( BG_AV_Nodes node) const
inlineprivate

◆ PopulateNode()

◆ PostUpdateImpl()

void BattlegroundAV::PostUpdateImpl ( uint32 diff)
privatevirtual

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().
Todo
make the captains a dynamic creature

Reimplemented from Battleground.

Definition at line 350 of file BattlegroundAV.cpp.

References ALLIANCE, AV_BUFF_A_CAPTAIN, AV_BUFF_H_CAPTAIN, AV_CPLACE_MAX, AV_MINE_TICK_TIMER, AV_NEUTRAL_TEAM, BG_AV_NODES_FIRSTAID_STATION, BG_AV_NODES_MAX, Battleground::CastSpellOnTeam(), ChangeMineOwner(), EventPlayerDestroyedPoint(), Battleground::GetBGCreature(), Battleground::GetStatus(), HORDE, LANG_BG_AV_A_CAPTAIN_BUFF, LANG_BG_AV_H_CAPTAIN_BUFF, LANG_COMMON, LANG_ORCISH, m_CaptainAlive, m_CaptainBuffTimer, m_Mine_Owner, m_Mine_Reclaim_Timer, m_Mine_Timer, m_Nodes, POINT_ASSAULTED, STATUS_IN_PROGRESS, UpdateScore(), and Battleground::YellToAll().

◆ RemovePlayer()

void BattlegroundAV::RemovePlayer ( Player * player,
uint64 guid,
uint32 team )
virtual
Todo
search more buffs

Reimplemented from Battleground.

Definition at line 488 of file BattlegroundAV.cpp.

References AV_BUFF_A_CAPTAIN, AV_BUFF_ARMOR, AV_BUFF_H_CAPTAIN, Unit::RemoveAurasDueToSpell(), and SF_LOG_ERROR.

◆ ResetBGSubclass()

◆ SendMineWorldStates()

void BattlegroundAV::SendMineWorldStates ( uint32 mine)
private

◆ SetupBattleground()

bool BattlegroundAV::SetupBattleground ( )
virtual

Reimplemented from Battleground.

Definition at line 1195 of file BattlegroundAV.cpp.

References AddAVCreature(), Battleground::AddObject(), Battleground::AddSpiritGuide(), ALLIANCE, AV_CPLACE_A_MARSHAL_SOUTH, AV_CPLACE_HERALD, AV_CPLACE_MAX, AV_NPC_A_MARSHAL_SOUTH, AV_NPC_H_MARSHAL_WTOWER, AV_NPC_HERALD, AV_OPLACE_BURN_BUILDING_A, AV_OPLACE_BURN_DUNBALDAR_SOUTH, AV_OPLACE_MINE_SUPPLY_N_MIN, AV_OPLACE_MINE_SUPPLY_S_MIN, AV_OPLACE_SNOW_1, AV_STATICCPLACE_MAX, BG_AV_CreaturePos, BG_AV_DoorPositons, BG_AV_NODES_DUNBALDAR_SOUTH, BG_AV_NODES_FIRSTAID_STATION, BG_AV_NODES_FROSTWOLF_HUT, BG_AV_NODES_MAX, BG_AV_NODES_SNOWFALL_GRAVE, BG_AV_NODES_STONEHEART_BUNKER, BG_AV_OBJECT_AURA_A_FIRSTAID_STATION, BG_AV_OBJECT_AURA_H_FIRSTAID_STATION, BG_AV_OBJECT_AURA_N_FIRSTAID_STATION, BG_AV_OBJECT_AURA_N_SNOWFALL_GRAVE, BG_AV_OBJECT_BURN_BUILDING_ALLIANCE, BG_AV_OBJECT_BURN_DUNBALDAR_SOUTH, BG_AV_OBJECT_DOOR_A, BG_AV_OBJECT_DOOR_H, BG_AV_OBJECT_FLAG_A_DUNBALDAR_SOUTH, BG_AV_OBJECT_FLAG_A_FIRSTAID_STATION, BG_AV_OBJECT_FLAG_A_STONEHEART_BUNKER, BG_AV_OBJECT_FLAG_A_STONEHEART_GRAVE, BG_AV_OBJECT_FLAG_H_FROSTWOLF_HUT, BG_AV_OBJECT_FLAG_H_FROSTWOLF_WTOWER, BG_AV_OBJECT_FLAG_H_ICEBLOOD_GRAVE, BG_AV_OBJECT_FLAG_N_SNOWFALL_GRAVE, BG_AV_OBJECT_MAX, BG_AV_OBJECT_MINE_SUPPLY_N_MAX, BG_AV_OBJECT_MINE_SUPPLY_N_MIN, BG_AV_OBJECT_MINE_SUPPLY_S_MAX, BG_AV_OBJECT_MINE_SUPPLY_S_MIN, BG_AV_OBJECT_SNOW_EYECANDY_A, BG_AV_OBJECT_SNOW_EYECANDY_H, BG_AV_OBJECT_SNOW_EYECANDY_PA, BG_AV_OBJECT_SNOW_EYECANDY_PH, BG_AV_OBJECT_TAURA_A_DUNBALDAR_SOUTH, BG_AV_OBJECT_TAURA_H_DUNBALDAR_SOUTH, BG_AV_OBJECT_TFLAG_A_DUNBALDAR_SOUTH, BG_AV_OBJECT_TFLAG_A_STONEHEART_BUNKER, BG_AV_OBJECT_TFLAG_H_DUNBALDAR_SOUTH, BG_AV_OBJECT_TFLAG_H_FROSTWOLF_WTOWER, BG_AV_OBJECT_TFLAG_H_ICEBLOOD_TOWER, BG_AV_OBJECTID_AURA_A, BG_AV_OBJECTID_AURA_H, BG_AV_OBJECTID_AURA_N, BG_AV_OBJECTID_BANNER_A, BG_AV_OBJECTID_BANNER_A_B, BG_AV_OBJECTID_BANNER_CONT_A, BG_AV_OBJECTID_BANNER_CONT_A_B, BG_AV_OBJECTID_BANNER_CONT_H, BG_AV_OBJECTID_BANNER_CONT_H_B, BG_AV_OBJECTID_BANNER_H, BG_AV_OBJECTID_BANNER_H_B, BG_AV_OBJECTID_BANNER_SNOWFALL_N, BG_AV_OBJECTID_FIRE, BG_AV_OBJECTID_GATE_A, BG_AV_OBJECTID_GATE_H, BG_AV_OBJECTID_MINE_N, BG_AV_OBJECTID_MINE_S, BG_AV_OBJECTID_SMOKE, BG_AV_OBJECTID_SNOWFALL_CANDY_A, BG_AV_OBJECTID_SNOWFALL_CANDY_H, BG_AV_OBJECTID_SNOWFALL_CANDY_PA, BG_AV_OBJECTID_SNOWFALL_CANDY_PH, BG_AV_OBJECTID_TOWER_BANNER_A, BG_AV_OBJECTID_TOWER_BANNER_H, BG_AV_OBJECTID_TOWER_BANNER_PA, BG_AV_OBJECTID_TOWER_BANNER_PH, BG_AV_ObjectPos, GetNodeThroughObject(), HORDE, m_Nodes, PopulateNode(), RESPAWN_IMMEDIATELY, RESPAWN_ONE_DAY, SF_LOG_DEBUG, SF_LOG_ERROR, and Battleground::SpawnBGObject().

◆ StartingEventCloseDoors()

void BattlegroundAV::StartingEventCloseDoors ( )
virtual

Reimplemented from Battleground.

Definition at line 412 of file BattlegroundAV.cpp.

References BG_AV_OBJECT_DOOR_A, BG_AV_OBJECT_DOOR_H, and Battleground::DoorClose().

◆ StartingEventOpenDoors()

◆ UpdateNodeWorldState()

◆ UpdatePlayerScore()

◆ UpdateScore()

Member Data Documentation

◆ m_CaptainAlive

bool BattlegroundAV::m_CaptainAlive[2] = { }
private

◆ m_CaptainBuffTimer

uint32 BattlegroundAV::m_CaptainBuffTimer[2] = { }
private

Definition at line 1608 of file BattlegroundAV.h.

Referenced by PostUpdateImpl(), and ResetBGSubclass().

◆ m_IsInformedNearVictory

bool BattlegroundAV::m_IsInformedNearVictory[2] = { }
private
Todo
: Remove this once battleground->getmaxlevel() returns something usefull/is reworked (?)

Definition at line 1612 of file BattlegroundAV.h.

Referenced by ResetBGSubclass(), and UpdateScore().

◆ m_MaxLevel

uint8 BattlegroundAV::m_MaxLevel
private

◆ m_Mine_Owner

uint32 BattlegroundAV::m_Mine_Owner[2] = { }
private

◆ m_Mine_PrevOwner

uint32 BattlegroundAV::m_Mine_PrevOwner[2] = { }
private

Definition at line 1605 of file BattlegroundAV.h.

Referenced by ChangeMineOwner(), ResetBGSubclass(), and SendMineWorldStates().

◆ m_Mine_Reclaim_Timer

uint32 BattlegroundAV::m_Mine_Reclaim_Timer[2] = { }
private

Definition at line 1607 of file BattlegroundAV.h.

Referenced by ChangeMineOwner(), and PostUpdateImpl().

◆ m_Mine_Timer

int32 BattlegroundAV::m_Mine_Timer
private

Definition at line 1606 of file BattlegroundAV.h.

Referenced by BattlegroundAV(), PostUpdateImpl(), and ResetBGSubclass().

◆ m_Nodes

◆ m_Team_QuestStatus

uint32 BattlegroundAV::m_Team_QuestStatus[2][9] = { }
private

Definition at line 1600 of file BattlegroundAV.h.

Referenced by HandleQuestComplete(), PopulateNode(), and ResetBGSubclass().

◆ m_Team_Scores

int32 BattlegroundAV::m_Team_Scores[2] = { }
private
Todo
: Remove this when the core handles this properly

Definition at line 1599 of file BattlegroundAV.h.

Referenced by FillInitialWorldStates(), GetPrematureWinner(), ResetBGSubclass(), and UpdateScore().


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