Core/PacketIO: Rename some new opcodes

Port From (https://github.com/TrinityCore/TrinityCore/commit/1021fcee345b0817ca087c04f8f063eb9d10bfe9)
This commit is contained in:
hondacrx
2022-05-10 13:33:19 -04:00
parent 31a70e8b50
commit 2c38cbde12
4 changed files with 15 additions and 15 deletions
@@ -27,9 +27,9 @@ using System.Numerics;
namespace Game.Networking.Packets
{
public class QueryPlayerName : ClientPacket
public class QueryPlayerNames : ClientPacket
{
public QueryPlayerName(WorldPacket packet) : base(packet) { }
public QueryPlayerNames(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -41,11 +41,11 @@ namespace Game.Networking.Packets
public ObjectGuid[] Players;
}
public class QueryPlayerNameResponse : ServerPacket
public class QueryPlayerNamesResponse : ServerPacket
{
public List<NameCacheLookupResult> Players = new();
public QueryPlayerNameResponse() : base(ServerOpcodes.QueryPlayerNameResponse) { }
public QueryPlayerNamesResponse() : base(ServerOpcodes.QueryPlayerNamesResponse) { }
public override void Write()
{