TrinityCore
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlegroundABScore Struct Referencefinal

#include <BattlegroundAB.h>

+ Inheritance diagram for BattlegroundABScore:

Protected Member Functions

 BattlegroundABScore (ObjectGuid playerGuid)
 
void UpdateScore (uint32 type, uint32 value) override
 
void BuildObjectivesBlock (WorldPackets::Battleground::PVPLogData_Player &playerData) override
 
uint32 GetAttr1 () const override
 
uint32 GetAttr2 () const override
 
- Protected Member Functions inherited from BattlegroundScore
 BattlegroundScore (ObjectGuid playerGuid)
 
virtual ~BattlegroundScore ()
 
virtual void UpdateScore (uint32 type, uint32 value)
 
virtual void AppendToPacket (WorldPackets::Battleground::PVPLogData_Player &playerData)
 
virtual void BuildObjectivesBlock (WorldPackets::Battleground::PVPLogData_Player &playerData)=0
 
virtual std::string ToString () const
 
uint32 GetKillingBlows () const
 
uint32 GetDeaths () const
 
uint32 GetHonorableKills () const
 
uint32 GetBonusHonor () const
 
uint32 GetDamageDone () const
 
uint32 GetHealingDone () const
 
virtual uint32 GetAttr1 () const
 
virtual uint32 GetAttr2 () const
 
virtual uint32 GetAttr3 () const
 
virtual uint32 GetAttr4 () const
 
virtual uint32 GetAttr5 () const
 

Protected Attributes

uint32 BasesAssaulted
 
uint32 BasesDefended
 
- Protected Attributes inherited from BattlegroundScore
ObjectGuid PlayerGuid
 
uint32 KillingBlows
 
uint32 Deaths
 
uint32 HonorableKills
 
uint32 BonusHonor
 
uint32 DamageDone
 
uint32 HealingDone
 

Friends

class BattlegroundAB
 

Detailed Description

Definition at line 268 of file BattlegroundAB.h.

Constructor & Destructor Documentation

◆ BattlegroundABScore()

BattlegroundABScore::BattlegroundABScore ( ObjectGuid  playerGuid)
inlineprotected

Definition at line 273 of file BattlegroundAB.h.

Member Function Documentation

◆ BuildObjectivesBlock()

void BattlegroundABScore::BuildObjectivesBlock ( WorldPackets::Battleground::PVPLogData_Player playerData)
overrideprotectedvirtual

Implements BattlegroundScore.

Definition at line 32 of file BattlegroundAB.cpp.

◆ GetAttr1()

uint32 BattlegroundABScore::GetAttr1 ( ) const
inlineoverrideprotectedvirtual

Reimplemented from BattlegroundScore.

Definition at line 293 of file BattlegroundAB.h.

◆ GetAttr2()

uint32 BattlegroundABScore::GetAttr2 ( ) const
inlineoverrideprotectedvirtual

Reimplemented from BattlegroundScore.

Definition at line 294 of file BattlegroundAB.h.

◆ UpdateScore()

void BattlegroundABScore::UpdateScore ( uint32  type,
uint32  value 
)
inlineoverrideprotectedvirtual

Reimplemented from BattlegroundScore.

Definition at line 275 of file BattlegroundAB.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ BattlegroundAB

friend class BattlegroundAB
friend

Definition at line 270 of file BattlegroundAB.h.

Member Data Documentation

◆ BasesAssaulted

uint32 BattlegroundABScore::BasesAssaulted
protected

Definition at line 296 of file BattlegroundAB.h.

◆ BasesDefended

uint32 BattlegroundABScore::BasesDefended
protected

Definition at line 297 of file BattlegroundAB.h.


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