mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-21 18:55:17 +00:00
Fix game packet size
This commit is contained in:
parent
605be3947f
commit
88f61f9e79
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ public struct GamePacket : IPacket {
|
||||||
|
|
||||||
public GamePacket() { }
|
public GamePacket() { }
|
||||||
|
|
||||||
public short Size => 0x3C;
|
public short Size => 0x3A;
|
||||||
public void Serialize(Span<byte> data) {
|
public void Serialize(Span<byte> data) {
|
||||||
MemoryMarshal.Write(data, ref Is2d);
|
MemoryMarshal.Write(data, ref Is2d);
|
||||||
MemoryMarshal.Write(data[1..], ref ScenarioNum);
|
MemoryMarshal.Write(data[1..], ref ScenarioNum);
|
||||||
|
|
Loading…
Reference in a new issue