Core/PacketIO: Updated packet structures to 8.0.1

This commit is contained in:
Shauren
2018-10-04 18:50:21 +02:00
parent 7512ffb058
commit 0a779bd791
127 changed files with 1809 additions and 1045 deletions

View File

@@ -117,8 +117,8 @@ ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Who::WhoResponse const& r
data.WriteBits(response.Entries.size(), 6);
data.FlushBits();
for (size_t i = 0; i < response.Entries.size(); ++i)
data << response.Entries[i];
for (WorldPackets::Who::WhoEntry const& whoEntry : response.Entries)
data << whoEntry;
return data;
}