mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Battleground: Implement BuildObjectivesBlock for BFG
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user