mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/BG: add GetAttrX() to TP and BFG battlegrounds
This commit is contained in:
@@ -49,6 +49,9 @@ class BattlegroundBFGScore final : public BattlegroundScore
|
||||
content << uint32(BasesDefended);
|
||||
}
|
||||
|
||||
uint32 GetAttr1() const final override { return BasesAssaulted; }
|
||||
uint32 GetAttr2() const final override { return BasesDefended; }
|
||||
|
||||
uint32 BasesAssaulted;
|
||||
uint32 BasesDefended;
|
||||
};
|
||||
|
||||
@@ -49,6 +49,9 @@ class BattlegroundTPScore final : public BattlegroundScore
|
||||
content << uint32(FlagReturns);
|
||||
}
|
||||
|
||||
uint32 GetAttr1() const final override { return FlagCaptures; }
|
||||
uint32 GetAttr2() const final override { return FlagReturns; }
|
||||
|
||||
uint32 FlagCaptures;
|
||||
uint32 FlagReturns;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user