Core/BG: add GetAttrX() to TP and BFG battlegrounds
This commit is contained in:
1 parent
6885eb4f2c
commit
bc021744d3
2 files changed
+6
No files matched your search
@@ -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