Core/PacketIO: Rename some new opcodes

This commit is contained in:
Shauren
2022-02-25 19:18:55 +01:00
parent 5a5774cdb9
commit 1021fcee34
8 changed files with 28 additions and 28 deletions
@@ -100,7 +100,7 @@ WorldPacket const* WorldPackets::Query::QueryCreatureResponse::Write()
return &_worldPacket;
}
void WorldPackets::Query::QueryPlayerName::Read()
void WorldPackets::Query::QueryPlayerNames::Read()
{
Players.resize(_worldPacket.read<uint32>());
for (ObjectGuid& player : Players)
@@ -219,7 +219,7 @@ ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Query::NameCacheLookupRes
return data;
}
WorldPacket const* WorldPackets::Query::QueryPlayerNameResponse::Write()
WorldPacket const* WorldPackets::Query::QueryPlayerNamesResponse::Write()
{
_worldPacket << uint32(Players.size());
for (NameCacheLookupResult const& lookupResult : Players)