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

#include <BattlegroundEY.h>

Inheritance diagram for BattlegroundEY:
Collaboration diagram for BattlegroundEY:

Public Member Functions

void AddPlayer (Player *player) OVERRIDE
 BattlegroundEY ()
void EndBattleground (uint32 winner)
void EventPlayerClickedOnFlag (Player *Source, GameObject *target_obj) OVERRIDE
void EventPlayerDroppedFlag (Player *Source) OVERRIDE
void FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE
WorldSafeLocsEntry const * GetClosestGraveYard (Player *player) OVERRIDE
uint64 GetDroppedFlagGUID () const
uint64 GetFlagPickerGUID (int32=-1) const OVERRIDE
uint8 GetFlagState () const
uint32 GetPrematureWinner () OVERRIDE
void HandleAreaTrigger (Player *Source, uint32 Trigger) OVERRIDE
void HandleBuffUse (uint64 buff_guid)
void HandleKillPlayer (Player *player, Player *killer) OVERRIDE
bool IsAllNodesControlledByTeam (uint32 team) const OVERRIDE
bool IsFlagPickedup () const
void RemovePlayer (Player *player, uint64 guid, uint32 team) OVERRIDE
void Reset () OVERRIDE
void RespawnFlag (bool send_message)
void RespawnFlagAfterDrop ()
void SetDroppedFlagGUID (uint64 guid, int32=-1) OVERRIDE
void SetFlagPicker (uint64 guid)
bool SetupBattleground () OVERRIDE
void StartingEventCloseDoors () OVERRIDE
void StartingEventOpenDoors () OVERRIDE
void UpdatePlayerScore (Player *Source, uint32 type, uint32 value, bool doAddHonor=true) OVERRIDE
void UpdateTeamScore (uint32 TeamTeam)
 ~BattlegroundEY ()
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)
virtual bool CanActivateGO (int32, uint32) const
bool CanAwardArenaPoints () const
void CastSpellOnTeam (uint32 SpellID, uint32 TeamID)
virtual bool CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=NULL, uint32=0)
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)
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
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 HandleKillUnit (Creature *, Player *)
virtual void HandlePlayerResurrect (Player *)
virtual bool HandlePlayerUnderMap (Player *)
virtual void HandleQuestComplete (uint32, Player *)
void HandleTriggerBuff (uint64 go_guid)
bool HasFreeSlots () const
void IncreaseInvitedCount (uint32 team)
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 ResetBGSubclass ()
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 ()
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 Types

typedef std::vector< uint64PlayersNearPointType

Private Member Functions

void AddPoints (uint32 TeamTeam, uint32 PointsPoints)
void CheckSomeoneJoinedPoint ()
void CheckSomeoneLeftPoint ()
void EventPlayerCapturedFlag (Player *Source, uint32 BgObjectType)
void EventTeamCapturedPoint (Player *Source, uint32 Point)
void EventTeamLostPoint (Player *Source, uint32 Point)
void PostUpdateImpl (uint32 diff) OVERRIDE
 Post-update hook.
void RemovePoint (uint32 TeamID, uint32 PointsPoints=1)
void SetTeamPoint (uint32 TeamID, uint32 PointsPoints=0)
void UpdatePointsCount (uint32 TeamTeam)
void UpdatePointsIcons (uint32 TeamTeam, uint32 Point)
void UpdatePointStatuses ()

Private Attributes

uint8 m_CurrentPointPlayersCount [2 *EY_POINTS_MAX]
uint64 m_DroppedFlagGUID
uint32 m_FlagCapturedBgObjectType
uint64 m_FlagKeeper
uint8 m_FlagState
int32 m_FlagsTimer
uint32 m_HonorScoreTics [2]
uint32 m_HonorTics
PlayersNearPointType m_PlayersNearPoint [EY_POINTS_MAX+1]
int32 m_PointAddingTimer
int32 m_PointBarStatus [EY_POINTS_MAX]
uint32 m_PointOwnedByTeam [EY_POINTS_MAX]
uint32 m_Points_Trigger [EY_POINTS_MAX]
uint8 m_PointState [EY_POINTS_MAX]
uint32 m_TeamPointsCount [2]
int32 m_TowerCapCheckTimer

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 319 of file BattlegroundEY.h.

Member Typedef Documentation

◆ PlayersNearPointType

typedef std::vector<uint64> BattlegroundEY::PlayersNearPointType
private

Definition at line 395 of file BattlegroundEY.h.

Constructor & Destructor Documentation

◆ BattlegroundEY()

◆ ~BattlegroundEY()

BattlegroundEY::~BattlegroundEY ( )

Definition at line 40 of file BattlegroundEY.cpp.

Member Function Documentation

◆ AddPlayer()

void BattlegroundEY::AddPlayer ( Player * player)
virtual

◆ AddPoints()

◆ CheckSomeoneJoinedPoint()

◆ CheckSomeoneLeftPoint()

◆ EndBattleground()

void BattlegroundEY::EndBattleground ( uint32 winner)

◆ EventPlayerCapturedFlag()

◆ EventPlayerClickedOnFlag()

◆ EventPlayerDroppedFlag()

◆ EventTeamCapturedPoint()

◆ EventTeamLostPoint()

◆ FillInitialWorldStates()

◆ GetClosestGraveYard()

◆ GetDroppedFlagGUID()

uint64 BattlegroundEY::GetDroppedFlagGUID ( ) const
inline

Definition at line 350 of file BattlegroundEY.h.

References m_DroppedFlagGUID.

Referenced by RespawnFlagAfterDrop().

◆ GetFlagPickerGUID()

uint64 BattlegroundEY::GetFlagPickerGUID ( int32 = -1) const
inlinevirtual

Reimplemented from Battleground.

Definition at line 331 of file BattlegroundEY.h.

References m_FlagKeeper, and OVERRIDE.

Referenced by EventPlayerCapturedFlag(), EventPlayerDroppedFlag(), HandleAreaTrigger(), and UpdatePointStatuses().

◆ GetFlagState()

uint8 BattlegroundEY::GetFlagState ( ) const
inline

Definition at line 334 of file BattlegroundEY.h.

References m_FlagState.

◆ GetPrematureWinner()

uint32 BattlegroundEY::GetPrematureWinner ( )
virtual

◆ HandleAreaTrigger()

◆ HandleBuffUse()

void BattlegroundEY::HandleBuffUse ( uint64 buff_guid)

◆ HandleKillPlayer()

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

◆ IsAllNodesControlledByTeam()

bool BattlegroundEY::IsAllNodesControlledByTeam ( uint32 team) const
virtual

Reimplemented from Battleground.

Definition at line 922 of file BattlegroundEY.cpp.

References EY_POINT_UNDER_CONTROL, EY_POINTS_MAX, m_PointOwnedByTeam, and m_PointState.

◆ IsFlagPickedup()

bool BattlegroundEY::IsFlagPickedup ( ) const
inline

Definition at line 333 of file BattlegroundEY.h.

References m_FlagKeeper.

Referenced by EventPlayerClickedOnFlag(), EventPlayerDroppedFlag(), and RemovePlayer().

◆ PostUpdateImpl()

void BattlegroundEY::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().

Reimplemented from Battleground.

Definition at line 42 of file BattlegroundEY.cpp.

References AddPoints(), ALLIANCE, BG_EY_FLAG_STATE_ON_GROUND, BG_EY_FLAG_STATE_WAIT_RESPAWN, BG_EY_FPOINTS_TICK_TIME, BG_EY_TickPoints, CheckSomeoneJoinedPoint(), CheckSomeoneLeftPoint(), Battleground::GetStatus(), HORDE, m_FlagState, m_FlagsTimer, m_PointAddingTimer, m_TeamPointsCount, m_TowerCapCheckTimer, RespawnFlag(), RespawnFlagAfterDrop(), STATUS_IN_PROGRESS, TEAM_ALLIANCE, TEAM_HORDE, and UpdatePointStatuses().

◆ RemovePlayer()

void BattlegroundEY::RemovePlayer ( Player * player,
uint64 guid,
uint32 team )
virtual

◆ RemovePoint()

void BattlegroundEY::RemovePoint ( uint32 TeamID,
uint32 Points = 1 )
inlineprivate

◆ Reset()

◆ RespawnFlag()

◆ RespawnFlagAfterDrop()

void BattlegroundEY::RespawnFlagAfterDrop ( )

◆ SetDroppedFlagGUID()

void BattlegroundEY::SetDroppedFlagGUID ( uint64 guid,
int32 = -1 )
inlinevirtual

Reimplemented from Battleground.

Definition at line 349 of file BattlegroundEY.h.

References m_DroppedFlagGUID, OVERRIDE, and SetDroppedFlagGUID().

Referenced by RespawnFlagAfterDrop(), and SetDroppedFlagGUID().

◆ SetFlagPicker()

void BattlegroundEY::SetFlagPicker ( uint64 guid)
inline

◆ SetTeamPoint()

void BattlegroundEY::SetTeamPoint ( uint32 TeamID,
uint32 Points = 0 )
inlineprivate

◆ SetupBattleground()

bool BattlegroundEY::SetupBattleground ( )
virtual

Reimplemented from Battleground.

Definition at line 412 of file BattlegroundEY.cpp.

References Battleground::AddObject(), Battleground::AddSpiritGuide(), ALLIANCE, BG_EY_OBJECT_A_BANNER_BLOOD_ELF_CENTER, BG_EY_OBJECT_A_BANNER_BLOOD_ELF_LEFT, BG_EY_OBJECT_A_BANNER_BLOOD_ELF_RIGHT, BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_CENTER, BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_LEFT, BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_RIGHT, BG_EY_OBJECT_A_BANNER_FEL_REAVER_CENTER, BG_EY_OBJECT_A_BANNER_FEL_REAVER_LEFT, BG_EY_OBJECT_A_BANNER_FEL_REAVER_RIGHT, BG_EY_OBJECT_A_BANNER_MAGE_TOWER_CENTER, BG_EY_OBJECT_A_BANNER_MAGE_TOWER_LEFT, BG_EY_OBJECT_A_BANNER_MAGE_TOWER_RIGHT, BG_EY_OBJECT_DOOR_A, BG_EY_OBJECT_DOOR_H, BG_EY_OBJECT_FLAG_BLOOD_ELF, BG_EY_OBJECT_FLAG_DRAENEI_RUINS, BG_EY_OBJECT_FLAG_FEL_REAVER, BG_EY_OBJECT_FLAG_MAGE_TOWER, BG_EY_OBJECT_FLAG_NETHERSTORM, BG_EY_OBJECT_H_BANNER_BLOOD_ELF_CENTER, BG_EY_OBJECT_H_BANNER_BLOOD_ELF_LEFT, BG_EY_OBJECT_H_BANNER_BLOOD_ELF_RIGHT, BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_CENTER, BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_LEFT, BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_RIGHT, BG_EY_OBJECT_H_BANNER_FEL_REAVER_CENTER, BG_EY_OBJECT_H_BANNER_FEL_REAVER_LEFT, BG_EY_OBJECT_H_BANNER_FEL_REAVER_RIGHT, BG_EY_OBJECT_H_BANNER_MAGE_TOWER_CENTER, BG_EY_OBJECT_H_BANNER_MAGE_TOWER_LEFT, BG_EY_OBJECT_H_BANNER_MAGE_TOWER_RIGHT, BG_EY_OBJECT_N_BANNER_BLOOD_ELF_CENTER, BG_EY_OBJECT_N_BANNER_BLOOD_ELF_LEFT, BG_EY_OBJECT_N_BANNER_BLOOD_ELF_RIGHT, BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_CENTER, BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_LEFT, BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_RIGHT, BG_EY_OBJECT_N_BANNER_FEL_REAVER_CENTER, BG_EY_OBJECT_N_BANNER_FEL_REAVER_LEFT, BG_EY_OBJECT_N_BANNER_FEL_REAVER_RIGHT, BG_EY_OBJECT_N_BANNER_MAGE_TOWER_CENTER, BG_EY_OBJECT_N_BANNER_MAGE_TOWER_LEFT, BG_EY_OBJECT_N_BANNER_MAGE_TOWER_RIGHT, BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER, BG_EY_OBJECT_TOWER_CAP_BLOOD_ELF, BG_EY_OBJECT_TOWER_CAP_DRAENEI_RUINS, BG_EY_OBJECT_TOWER_CAP_FEL_REAVER, BG_EY_OBJECT_TOWER_CAP_MAGE_TOWER, BG_OBJECT_A_BANNER_EY_ENTRY, BG_OBJECT_A_DOOR_EY_ENTRY, BG_OBJECT_BE_TOWER_CAP_EY_ENTRY, BG_OBJECT_DR_TOWER_CAP_EY_ENTRY, BG_OBJECT_FLAG1_EY_ENTRY, BG_OBJECT_FLAG2_EY_ENTRY, BG_OBJECT_FR_TOWER_CAP_EY_ENTRY, BG_OBJECT_H_BANNER_EY_ENTRY, BG_OBJECT_H_DOOR_EY_ENTRY, BG_OBJECT_HU_TOWER_CAP_EY_ENTRY, BG_OBJECT_N_BANNER_EY_ENTRY, Buff_Entries, EY_GRAVEYARD_MAIN_ALLIANCE, EY_GRAVEYARD_MAIN_HORDE, EY_POINTS_MAX, EY_SPIRIT_MAIN_ALLIANCE, EY_SPIRIT_MAIN_HORDE, HORDE, m_Points_Trigger, RESPAWN_IMMEDIATELY, RESPAWN_ONE_DAY, sAreaTriggerStore, SF_LOG_ERROR, sWorldSafeLocsStore, AreaTriggerEntry::x, WorldSafeLocsEntry::x, AreaTriggerEntry::y, WorldSafeLocsEntry::y, AreaTriggerEntry::z, and WorldSafeLocsEntry::z.

◆ StartingEventCloseDoors()

void BattlegroundEY::StartingEventCloseDoors ( )
virtual

◆ StartingEventOpenDoors()

◆ UpdatePlayerScore()

void BattlegroundEY::UpdatePlayerScore ( Player * Source,
uint32 type,
uint32 value,
bool doAddHonor = true )
virtual

◆ UpdatePointsCount()

void BattlegroundEY::UpdatePointsCount ( uint32 Team)
private

◆ UpdatePointsIcons()

void BattlegroundEY::UpdatePointsIcons ( uint32 Team,
uint32 Point )
private

◆ UpdatePointStatuses()

◆ UpdateTeamScore()

void BattlegroundEY::UpdateTeamScore ( uint32 Team)
Todo
there should be some sound played when one team is near victory!! - and define variables

Definition at line 257 of file BattlegroundEY.cpp.

References ALLIANCE, BG_EY_MAX_TEAM_SCORE, EndBattleground(), EY_ALLIANCE_RESOURCES, EY_HORDE_RESOURCES, Battleground::GetTeamScore(), HORDE, TEAM_ALLIANCE, and Battleground::UpdateWorldState().

Referenced by AddPoints(), and HandleBuffUse().

Member Data Documentation

◆ m_CurrentPointPlayersCount

uint8 BattlegroundEY::m_CurrentPointPlayersCount[2 *EY_POINTS_MAX]
private

Definition at line 397 of file BattlegroundEY.h.

Referenced by CheckSomeoneLeftPoint(), and UpdatePointStatuses().

◆ m_DroppedFlagGUID

uint64 BattlegroundEY::m_DroppedFlagGUID
private

Definition at line 386 of file BattlegroundEY.h.

Referenced by GetDroppedFlagGUID(), Reset(), and SetDroppedFlagGUID().

◆ m_FlagCapturedBgObjectType

uint32 BattlegroundEY::m_FlagCapturedBgObjectType
private

Definition at line 387 of file BattlegroundEY.h.

Referenced by EventPlayerCapturedFlag(), Reset(), and RespawnFlag().

◆ m_FlagKeeper

uint64 BattlegroundEY::m_FlagKeeper
private

◆ m_FlagState

◆ m_FlagsTimer

int32 BattlegroundEY::m_FlagsTimer
private

◆ m_HonorScoreTics

uint32 BattlegroundEY::m_HonorScoreTics[2]
private

Definition at line 380 of file BattlegroundEY.h.

Referenced by AddPoints(), and Reset().

◆ m_HonorTics

uint32 BattlegroundEY::m_HonorTics
private

Definition at line 400 of file BattlegroundEY.h.

Referenced by AddPoints(), and Reset().

◆ m_PlayersNearPoint

PlayersNearPointType BattlegroundEY::m_PlayersNearPoint[EY_POINTS_MAX+1]
private

◆ m_PointAddingTimer

int32 BattlegroundEY::m_PointAddingTimer
private

Definition at line 399 of file BattlegroundEY.h.

Referenced by PostUpdateImpl(), and Reset().

◆ m_PointBarStatus

int32 BattlegroundEY::m_PointBarStatus[EY_POINTS_MAX]
private

Definition at line 394 of file BattlegroundEY.h.

Referenced by CheckSomeoneJoinedPoint(), Reset(), and UpdatePointStatuses().

◆ m_PointOwnedByTeam

◆ m_Points_Trigger

uint32 BattlegroundEY::m_Points_Trigger[EY_POINTS_MAX]
private

Definition at line 383 of file BattlegroundEY.h.

Referenced by BattlegroundEY(), and SetupBattleground().

◆ m_PointState

◆ m_TeamPointsCount

uint32 BattlegroundEY::m_TeamPointsCount[2]
private

◆ m_TowerCapCheckTimer

int32 BattlegroundEY::m_TowerCapCheckTimer
private

Definition at line 390 of file BattlegroundEY.h.

Referenced by PostUpdateImpl(), and Reset().


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