File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/server/game/Battlegrounds Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,12 @@ struct AC_GAME_API BattlegroundScore
5959 friend class Arena ;
6060 friend class Battleground ;
6161
62- protected:
62+ public:
63+ [[nodiscard]] uint32 GetKillingBlows () const { return KillingBlows; }
64+ [[nodiscard]] uint32 GetDamageDone () const { return DamageDone; }
65+ [[nodiscard]] uint32 GetHealingDone () const { return HealingDone; }
66+
67+ protected:
6368 BattlegroundScore (ObjectGuid playerGuid) : PlayerGuid(playerGuid) { }
6469 virtual ~BattlegroundScore () = default ;
6570
@@ -97,12 +102,9 @@ struct AC_GAME_API BattlegroundScore
97102 // For Logging purpose
98103 virtual std::string ToString () const { return " " ; }
99104
100- [[nodiscard]] uint32 GetKillingBlows () const { return KillingBlows; }
101105 [[nodiscard]] uint32 GetDeaths () const { return Deaths; }
102106 [[nodiscard]] uint32 GetHonorableKills () const { return HonorableKills; }
103107 [[nodiscard]] uint32 GetBonusHonor () const { return BonusHonor; }
104- [[nodiscard]] uint32 GetDamageDone () const { return DamageDone; }
105- [[nodiscard]] uint32 GetHealingDone () const { return HealingDone; }
106108
107109 [[nodiscard]] virtual uint32 GetAttr1 () const { return 0 ; }
108110 [[nodiscard]] virtual uint32 GetAttr2 () const { return 0 ; }
You can’t perform that action at this time.
0 commit comments