TrinityCore
Loading...
Searching...
No Matches
BattlegroundScore Struct Referenceabstract

#include <BattlegroundScore.h>

+ Inheritance diagram for BattlegroundScore:

Protected Member Functions

 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

ObjectGuid PlayerGuid
 
uint32 KillingBlows
 
uint32 Deaths
 
uint32 HonorableKills
 
uint32 BonusHonor
 
uint32 DamageDone
 
uint32 HealingDone
 

Friends

class Arena
 
class Battleground
 

Detailed Description

Definition at line 61 of file BattlegroundScore.h.

Constructor & Destructor Documentation

◆ BattlegroundScore()

BattlegroundScore::BattlegroundScore ( ObjectGuid  playerGuid)
inlineprotected

Definition at line 67 of file BattlegroundScore.h.

◆ ~BattlegroundScore()

virtual BattlegroundScore::~BattlegroundScore ( )
inlineprotectedvirtual

Definition at line 70 of file BattlegroundScore.h.

Member Function Documentation

◆ AppendToPacket()

◆ BuildObjectivesBlock()

virtual void BattlegroundScore::BuildObjectivesBlock ( WorldPackets::Battleground::PVPLogData_Player &  playerData)
protectedpure virtual

◆ GetAttr1()

virtual uint32 BattlegroundScore::GetAttr1 ( ) const
inlineprotectedvirtual

◆ GetAttr2()

virtual uint32 BattlegroundScore::GetAttr2 ( ) const
inlineprotectedvirtual

◆ GetAttr3()

virtual uint32 BattlegroundScore::GetAttr3 ( ) const
inlineprotectedvirtual

Reimplemented in BattlegroundAVScore.

Definition at line 115 of file BattlegroundScore.h.

◆ GetAttr4()

virtual uint32 BattlegroundScore::GetAttr4 ( ) const
inlineprotectedvirtual

Reimplemented in BattlegroundAVScore.

Definition at line 116 of file BattlegroundScore.h.

◆ GetAttr5()

virtual uint32 BattlegroundScore::GetAttr5 ( ) const
inlineprotectedvirtual

Reimplemented in BattlegroundAVScore.

Definition at line 117 of file BattlegroundScore.h.

◆ GetBonusHonor()

uint32 BattlegroundScore::GetBonusHonor ( ) const
inlineprotected

Definition at line 109 of file BattlegroundScore.h.

References BonusHonor.

◆ GetDamageDone()

uint32 BattlegroundScore::GetDamageDone ( ) const
inlineprotected

Definition at line 110 of file BattlegroundScore.h.

References DamageDone.

◆ GetDeaths()

uint32 BattlegroundScore::GetDeaths ( ) const
inlineprotected

Definition at line 107 of file BattlegroundScore.h.

References Deaths.

◆ GetHealingDone()

uint32 BattlegroundScore::GetHealingDone ( ) const
inlineprotected

Definition at line 111 of file BattlegroundScore.h.

References HealingDone.

◆ GetHonorableKills()

uint32 BattlegroundScore::GetHonorableKills ( ) const
inlineprotected

Definition at line 108 of file BattlegroundScore.h.

References HonorableKills.

◆ GetKillingBlows()

uint32 BattlegroundScore::GetKillingBlows ( ) const
inlineprotected

Definition at line 106 of file BattlegroundScore.h.

References KillingBlows.

◆ ToString()

virtual std::string BattlegroundScore::ToString ( ) const
inlineprotectedvirtual

Reimplemented in ArenaScore.

Definition at line 104 of file BattlegroundScore.h.

◆ UpdateScore()

Friends And Related Symbol Documentation

◆ Arena

friend class Arena
friend

Definition at line 63 of file BattlegroundScore.h.

◆ Battleground

friend class Battleground
friend

Definition at line 64 of file BattlegroundScore.h.

Member Data Documentation

◆ BonusHonor

uint32 BattlegroundScore::BonusHonor
protected

Definition at line 125 of file BattlegroundScore.h.

Referenced by AppendToPacket(), GetBonusHonor(), and UpdateScore().

◆ DamageDone

uint32 BattlegroundScore::DamageDone
protected

◆ Deaths

uint32 BattlegroundScore::Deaths
protected

Definition at line 123 of file BattlegroundScore.h.

Referenced by AppendToPacket(), GetDeaths(), and UpdateScore().

◆ HealingDone

uint32 BattlegroundScore::HealingDone
protected

◆ HonorableKills

uint32 BattlegroundScore::HonorableKills
protected

Definition at line 124 of file BattlegroundScore.h.

Referenced by AppendToPacket(), GetHonorableKills(), and UpdateScore().

◆ KillingBlows

uint32 BattlegroundScore::KillingBlows
protected

◆ PlayerGuid

ObjectGuid BattlegroundScore::PlayerGuid
protected

Definition at line 119 of file BattlegroundScore.h.

Referenced by AppendToPacket(), and ArenaScore::AppendToPacket().


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