Rearranges packet code (#295)

This commit is contained in:
Kamron Batman 2020-10-30 22:49:00 -07:00 committed by GitHub
parent 5f7e4bf050
commit a8d486a969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 3023 additions and 2846 deletions

View file

@ -598,7 +598,7 @@ namespace Server.Network
return;
}
var bytesProcessed = PacketHandlers.ProcessPacket(this, result.Buffer);
var bytesProcessed = this.ProcessPacket(result.Buffer);
if (bytesProcessed <= 0)
{
@ -685,7 +685,7 @@ namespace Server.Network
}
public PacketHandler GetHandler(int packetID) =>
ContainerGridLines ? PacketHandlers.Get6017Handler(packetID) : PacketHandlers.GetHandler(packetID);
ContainerGridLines ? IncomingPackets.Get6017Handler(packetID) : IncomingPackets.GetHandler(packetID);
public static void TraceException(Exception ex)
{