From 24e4333fdece55c0eade15ababf0a66f95cd470a Mon Sep 17 00:00:00 2001 From: Sanae Date: Wed, 27 Apr 2022 14:36:36 -0600 Subject: [PATCH] Change game packet size --- Shared/Packet/Packets/GamePacket.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shared/Packet/Packets/GamePacket.cs b/Shared/Packet/Packets/GamePacket.cs index 9635634..4aae9b8 100644 --- a/Shared/Packet/Packets/GamePacket.cs +++ b/Shared/Packet/Packets/GamePacket.cs @@ -5,14 +5,14 @@ namespace Shared.Packet.Packets; [Packet(PacketType.Game)] public struct GamePacket : IPacket { - private const int StageSize = 0x38; + private const int StageSize = 0x40; public bool Is2d = false; public byte ScenarioNum = 0; public string Stage = ""; public GamePacket() { } - public short Size => 0x3A; + public short Size => 0x42; public void Serialize(Span data) { MemoryMarshal.Write(data, ref Is2d); MemoryMarshal.Write(data[1..], ref ScenarioNum);