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

@ -127,9 +127,7 @@ namespace Server.Tests.Network.Packets
expectedData.Write(ref pos, (ushort)item.Amount); // Amount (min?)
expectedData.Write(ref pos, (ushort)item.Amount); // Amount (max?)
expectedData.Write(ref pos, (ushort)loc.X); // X
expectedData.Write(ref pos, (ushort)loc.Y); // Y
expectedData.Write(ref pos, (byte)loc.Z); // Z
expectedData.Write(ref pos, loc); // X, Y, Z
expectedData.Write(ref pos, (byte)item.Light); // Light
expectedData.Write(ref pos, (ushort)item.Hue); // Hue
expectedData.Write(ref pos, (byte)item.GetPacketFlags()); // Flags
@ -178,9 +176,7 @@ namespace Server.Tests.Network.Packets
expectedData.Write(ref pos, (ushort)item.Amount); // Amount (min?)
expectedData.Write(ref pos, (ushort)item.Amount); // Amount (max?)
expectedData.Write(ref pos, (ushort)loc.X); // X
expectedData.Write(ref pos, (ushort)loc.Y); // Y
expectedData.Write(ref pos, (byte)loc.Z); // Z
expectedData.Write(ref pos, loc); // X, Y, Z
expectedData.Write(ref pos, (byte)item.Light); // Light
expectedData.Write(ref pos, (ushort)item.Hue); // Hue
expectedData.Write(ref pos, (byte)item.GetPacketFlags()); // Flags