diff options
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; }; |