mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-24 12:15:17 +00:00
Blind af
This commit is contained in:
parent
fca90851ad
commit
6e878e579d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public struct TagPacket : IPacket {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Deserialize(Span<byte> data) {
|
public void Deserialize(Span<byte> data) {
|
||||||
UpdateType = MemoryMarshal.Read<bool>(data);
|
UpdateType = MemoryMarshal.Read<TagUpdate>(data);
|
||||||
IsIt = MemoryMarshal.Read<bool>(data[1..]);
|
IsIt = MemoryMarshal.Read<bool>(data[1..]);
|
||||||
Seconds = MemoryMarshal.Read<byte>(data[2..]);
|
Seconds = MemoryMarshal.Read<byte>(data[2..]);
|
||||||
Minutes = MemoryMarshal.Read<ushort>(data[3..]);
|
Minutes = MemoryMarshal.Read<ushort>(data[3..]);
|
||||||
|
|
Loading…
Reference in a new issue