Core/BG: add GetAttrX() to TP and BFG battlegrounds

This commit is contained in:
ShinDarth
2014-09-08 20:36:20 +02:00
parent 6885eb4f2c
commit bc021744d3
2 changed files with 6 additions and 0 deletions

View File

@@ -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;
};

View File

@@ -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;
};