Compress large packets

This commit is contained in:
Kei-Luna
2026-05-13 19:09:41 +09:00
parent 9e518edb8e
commit 6c5d546026
5 changed files with 23 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ public class PacketRspLogin : BasePacket
};
var bytes = Google.Protobuf.MessageExtensions.ToByteArray(proto);
Logger.Info($"RspLogin proto size: {bytes.Length} bytes (limit: 65535)");
Logger.Info($"RspLogin proto size: {bytes.Length} bytes");
SetData(bytes);
}