Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
BGData Struct Reference

Holder for Battleground data. More...

#include <Player.h>

Collaboration diagram for BGData:

Public Member Functions

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

Public Attributes

uint8 bgAfkReportedCount
time_t bgAfkReportedTimer
std::set< uint32bgAfkReporter
uint32 bgInstanceID
std::map< uint32, uint32bgQueuesJoinedTime
uint32 bgTeam
 What side the player will be added to.
BattlegroundTypeId bgTypeID
 when player is teleported to BG - (it is battleground's GUID)
WorldLocation joinPos
 From where player entered BG.
uint32 mountSpell
uint32 taxiPath [2] = { }

Detailed Description

Holder for Battleground data.

Definition at line 998 of file Player.h.

Constructor & Destructor Documentation

◆ BGData()

BGData::BGData ( )
inline

Member Function Documentation

◆ ClearTaxiPath()

void BGData::ClearTaxiPath ( )
inline

Definition at line 1023 of file Player.h.

References taxiPath.

Referenced by BGData().

◆ HasTaxiPath()

bool BGData::HasTaxiPath ( ) const
inline

Definition at line 1027 of file Player.h.

References taxiPath.

Member Data Documentation

◆ bgAfkReportedCount

uint8 BGData::bgAfkReportedCount

Definition at line 1013 of file Player.h.

Referenced by BGData().

◆ bgAfkReportedTimer

time_t BGData::bgAfkReportedTimer

Definition at line 1014 of file Player.h.

Referenced by BGData().

◆ bgAfkReporter

std::set<uint32> BGData::bgAfkReporter

Definition at line 1012 of file Player.h.

◆ bgInstanceID

uint32 BGData::bgInstanceID

This variable is set to bg->m_InstanceID,

Definition at line 1006 of file Player.h.

Referenced by BGData().

◆ bgQueuesJoinedTime

std::map<uint32, uint32> BGData::bgQueuesJoinedTime

Definition at line 1010 of file Player.h.

Referenced by BGData().

◆ bgTeam

uint32 BGData::bgTeam

What side the player will be added to.

Definition at line 1016 of file Player.h.

Referenced by BGData().

◆ bgTypeID

BattlegroundTypeId BGData::bgTypeID

when player is teleported to BG - (it is battleground's GUID)

Definition at line 1008 of file Player.h.

Referenced by BGData().

◆ joinPos

WorldLocation BGData::joinPos

From where player entered BG.

Definition at line 1021 of file Player.h.

◆ mountSpell

uint32 BGData::mountSpell

Definition at line 1018 of file Player.h.

Referenced by BGData().

◆ taxiPath

uint32 BGData::taxiPath[2] = { }

Definition at line 1019 of file Player.h.

Referenced by ClearTaxiPath(), and HasTaxiPath().


The documentation for this struct was generated from the following file:
  • src/server/game/Entities/Player/Player.h