Core/Battleground: Implement BuildObjectivesBlock for BFG

This commit is contained in:
DDuarte
2014-07-22 14:38:14 +01:00
parent 92967a1240
commit 7ec7119f83

View File

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