mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-21 10:45:14 +00:00
Update TagPacket.cs
This commit is contained in:
parent
3affb59eb9
commit
6ec213b4be
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ public struct TagPacket : IPacket {
|
||||||
public byte Seconds;
|
public byte Seconds;
|
||||||
public ushort Minutes;
|
public ushort Minutes;
|
||||||
|
|
||||||
public short Size => 6;
|
public short Size => 5;
|
||||||
|
|
||||||
public void Serialize(Span<byte> data) {
|
public void Serialize(Span<byte> data) {
|
||||||
MemoryMarshal.Write(data, ref UpdateType);
|
MemoryMarshal.Write(data, ref UpdateType);
|
||||||
|
@ -30,4 +30,4 @@ public struct TagPacket : IPacket {
|
||||||
Time = 1,
|
Time = 1,
|
||||||
State = 2
|
State = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue