diff options
author | DDuarte <dnpd.dd@gmail.com> | 2014-07-22 14:38:14 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-07-22 14:38:14 +0100 |
commit | 7ec7119f830cec76ca364b22e2706ac33bd9030b (patch) | |
tree | 4f429ee8fdb900616c694b681ecdbefd99081762 /src | |
parent | 92967a1240184245d244dec5a9d7590e7b592cce (diff) |
Core/Battleground: Implement BuildObjectivesBlock for BFG
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundBFG.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h b/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h index 104591097bd..1f539a414b2 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h @@ -42,6 +42,13 @@ class BattlegroundBFGScore final : public BattlegroundScore } } + void BuildObjectivesBlock(WorldPacket& data, ByteBuffer& content) final + { + data.WriteBits(2, 24); // Objectives Count + content << uint32(BasesAssaulted); + content << uint32(BasesDefended); + } + uint32 BasesAssaulted; uint32 BasesDefended; }; |