TrinityCore
Loading...
Searching...
No Matches
BGData Struct Reference

Holder for Battleground data. More...

#include <Player.h>

Public Member Functions

 BGData ()
 
void ClearTaxiPath ()
 
bool HasTaxiPath () const
 

Public Attributes

uint32 bgInstanceID
 
BattlegroundTypeId bgTypeID
 
GuidSet bgAfkReporter
 
uint8 bgAfkReportedCount
 
time_t bgAfkReportedTimer
 
Team bgTeam
 What side the player will be added to.
 
uint32 mountSpell
 
uint32 taxiPath [2]
 
WorldLocation joinPos
 From where player entered BG.
 
BattlegroundQueueTypeId queueId
 

Detailed Description

Holder for Battleground data.

Definition at line 1117 of file Player.h.

Constructor & Destructor Documentation

◆ BGData()

BGData::BGData ( )
inline

Definition at line 1119 of file Player.h.

References ClearTaxiPath().

Member Function Documentation

◆ ClearTaxiPath()

void BGData::ClearTaxiPath ( )
inline

Definition at line 1138 of file Player.h.

References taxiPath.

Referenced by BGData(), Player::ProcessDelayedOperations(), and Player::SetBattlegroundEntryPoint().

◆ HasTaxiPath()

bool BGData::HasTaxiPath ( ) const
inline

Definition at line 1139 of file Player.h.

References taxiPath.

Referenced by Player::LoadFromDB(), and Player::ProcessDelayedOperations().

Member Data Documentation

◆ bgAfkReportedCount

uint8 BGData::bgAfkReportedCount

◆ bgAfkReportedTimer

time_t BGData::bgAfkReportedTimer

Definition at line 1128 of file Player.h.

Referenced by Player::UpdateAfkReport().

◆ bgAfkReporter

GuidSet BGData::bgAfkReporter

Definition at line 1126 of file Player.h.

Referenced by Player::ReportedAfkBy().

◆ bgInstanceID

uint32 BGData::bgInstanceID

This variable is set to bg->m_InstanceID, when player is teleported to BG - (it is battleground's GUID)

Definition at line 1122 of file Player.h.

Referenced by Player::_LoadBGData(), Player::_SaveBGData(), Player::LoadFromDB(), and Player::SetBattlegroundId().

◆ bgTeam

Team BGData::bgTeam

What side the player will be added to.

Definition at line 1130 of file Player.h.

Referenced by Player::_LoadBGData(), Player::_SaveBGData(), Player::GetBGTeam(), and Player::SetBGTeam().

◆ bgTypeID

BattlegroundTypeId BGData::bgTypeID

◆ joinPos

WorldLocation BGData::joinPos

From where player entered BG.

Definition at line 1135 of file Player.h.

Referenced by Player::_LoadBGData(), Player::_SaveBGData(), Player::SetBattlegroundEntryPoint(), and Player::TeleportToBGEntryPoint().

◆ mountSpell

◆ queueId

◆ taxiPath


The documentation for this struct was generated from the following file: