TrinityCore
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. More...
 
uint32 mountSpell
 
uint32 taxiPath [2]
 
WorldLocation joinPos
 From where player entered BG. More...
 
BattlegroundQueueTypeId queueId
 

Detailed Description

Holder for Battleground data.

Definition at line 996 of file Player.h.

Constructor & Destructor Documentation

◆ BGData()

BGData::BGData ( )
inline

Definition at line 998 of file Player.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ ClearTaxiPath()

void BGData::ClearTaxiPath ( )
inline

Definition at line 1017 of file Player.h.

+ Here is the caller graph for this function:

◆ HasTaxiPath()

bool BGData::HasTaxiPath ( ) const
inline

Definition at line 1018 of file Player.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ bgAfkReportedCount

uint8 BGData::bgAfkReportedCount

Definition at line 1006 of file Player.h.

◆ bgAfkReportedTimer

time_t BGData::bgAfkReportedTimer

Definition at line 1007 of file Player.h.

◆ bgAfkReporter

GuidSet BGData::bgAfkReporter

Definition at line 1005 of file Player.h.

◆ 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 1001 of file Player.h.

◆ bgTeam

Team BGData::bgTeam

What side the player will be added to.

Definition at line 1009 of file Player.h.

◆ bgTypeID

BattlegroundTypeId BGData::bgTypeID

Definition at line 1003 of file Player.h.

◆ joinPos

WorldLocation BGData::joinPos

From where player entered BG.

Definition at line 1014 of file Player.h.

◆ mountSpell

uint32 BGData::mountSpell

Definition at line 1011 of file Player.h.

◆ queueId

BattlegroundQueueTypeId BGData::queueId

Definition at line 1015 of file Player.h.

◆ taxiPath

uint32 BGData::taxiPath[2]

Definition at line 1012 of file Player.h.


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