mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-22 03:05:16 +00:00
What
This commit is contained in:
parent
cad2c5b9c8
commit
726bb45a00
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ public struct PacketHeader : IPacket {
|
|||
public void Deserialize(ReadOnlySpan<byte> data) {
|
||||
Id = MemoryMarshal.Read<Guid>(data);
|
||||
Type = MemoryMarshal.Read<PacketType>(data[16..]);
|
||||
PacketSize = MemoryMarshal.Read<short>(data[16..]);
|
||||
PacketSize = MemoryMarshal.Read<short>(data[18..]);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue