Adds more packets (#177)

This commit is contained in:
Kamron Batman 2020-07-18 19:03:26 -07:00 • committed by GitHub
parent c0805850c1
commit 5052bf9af3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 609 additions and 109 deletions

View file

@ -45,12 +45,8 @@ namespace Server.Tests.Network.Packets
expectedData.Write(ref pos, from);
expectedData.Write(ref pos, to);
expectedData.Write(ref pos, (ushort)itemId);
expectedData.Write(ref pos, (ushort)fromPoint.X);
expectedData.Write(ref pos, (ushort)fromPoint.Y);
expectedData.Write(ref pos, (byte)fromPoint.Z);
expectedData.Write(ref pos, (ushort)toPoint.X);
expectedData.Write(ref pos, (ushort)toPoint.Y);
expectedData.Write(ref pos, (byte)toPoint.Z);
expectedData.Write(ref pos, fromPoint);
expectedData.Write(ref pos, toPoint);
expectedData.Write(ref pos, speed);
expectedData.Write(ref pos, duration);
#if NO_LOCAL_INIT
@ -103,12 +99,8 @@ namespace Server.Tests.Network.Packets
expectedData.Write(ref pos, from);
expectedData.Write(ref pos, to);
expectedData.Write(ref pos, (ushort)itemId);
expectedData.Write(ref pos, (ushort)fromPoint.X);
expectedData.Write(ref pos, (ushort)fromPoint.Y);
expectedData.Write(ref pos, (byte)fromPoint.Z);
expectedData.Write(ref pos, (ushort)toPoint.X);
expectedData.Write(ref pos, (ushort)toPoint.Y);
expectedData.Write(ref pos, (byte)toPoint.Z);
expectedData.Write(ref pos, fromPoint);
expectedData.Write(ref pos, toPoint);
expectedData.Write(ref pos, speed);
expectedData.Write(ref pos, duration);
#if NO_LOCAL_INIT
@ -174,12 +166,8 @@ namespace Server.Tests.Network.Packets
#else
pos += 6;
#endif
expectedData.Write(ref pos, (ushort)entity.X);
expectedData.Write(ref pos, (ushort)entity.Y);
expectedData.Write(ref pos, (byte)entity.Z);
expectedData.Write(ref pos, (ushort)entity.X);
expectedData.Write(ref pos, (ushort)entity.Y);
expectedData.Write(ref pos, (byte)entity.Z);
expectedData.Write(ref pos, entity.Location);
expectedData.Write(ref pos, entity.Location);
#if NO_LOCAL_INIT
expectedData.Write(ref pos, 0);
expectedData.Write(ref pos, (ushort)0);