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()

void BattlegroundScore::AppendToPacket ( WorldPackets::Battleground::PVPLogData_Player playerData)
protectedvirtual

Reimplemented in ArenaScore.

Definition at line 46 of file Battleground.cpp.

+ Here is the call graph for this function:

◆ BuildObjectivesBlock()

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

Implemented in ArenaScore, BattlegroundABScore, BattlegroundAVScore, BattlegroundEYScore, BattlegroundICScore, BattlegroundSAScore, and BattlegroundWGScore.

+ Here is the caller graph for this function:

◆ 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.

◆ GetDamageDone()

uint32 BattlegroundScore::GetDamageDone ( ) const
inlineprotected

Definition at line 110 of file BattlegroundScore.h.

◆ GetDeaths()

uint32 BattlegroundScore::GetDeaths ( ) const
inlineprotected

Definition at line 107 of file BattlegroundScore.h.

◆ GetHealingDone()

uint32 BattlegroundScore::GetHealingDone ( ) const
inlineprotected

Definition at line 111 of file BattlegroundScore.h.

◆ GetHonorableKills()

uint32 BattlegroundScore::GetHonorableKills ( ) const
inlineprotected

Definition at line 108 of file BattlegroundScore.h.

◆ GetKillingBlows()

uint32 BattlegroundScore::GetKillingBlows ( ) const
inlineprotected

Definition at line 106 of file BattlegroundScore.h.

◆ ToString()

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

Reimplemented in ArenaScore.

Definition at line 104 of file BattlegroundScore.h.

◆ UpdateScore()

virtual void BattlegroundScore::UpdateScore ( uint32  type,
uint32  value 
)
inlineprotectedvirtual

Reimplemented in BattlegroundABScore, BattlegroundAVScore, BattlegroundEYScore, BattlegroundICScore, BattlegroundSAScore, and BattlegroundWGScore.

Definition at line 72 of file BattlegroundScore.h.

+ Here is the caller graph for this function:

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.

◆ DamageDone

uint32 BattlegroundScore::DamageDone
protected

Definition at line 126 of file BattlegroundScore.h.

◆ Deaths

uint32 BattlegroundScore::Deaths
protected

Definition at line 123 of file BattlegroundScore.h.

◆ HealingDone

uint32 BattlegroundScore::HealingDone
protected

Definition at line 127 of file BattlegroundScore.h.

◆ HonorableKills

uint32 BattlegroundScore::HonorableKills
protected

Definition at line 124 of file BattlegroundScore.h.

◆ KillingBlows

uint32 BattlegroundScore::KillingBlows
protected

Definition at line 122 of file BattlegroundScore.h.

◆ PlayerGuid

ObjectGuid BattlegroundScore::PlayerGuid
protected

Definition at line 119 of file BattlegroundScore.h.


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