SocketFix

This commit is contained in:
dingo
2026-01-09 14:48:44 -05:00
parent fd4d31e5e6
commit 05c0990625
4 changed files with 3109 additions and 2 deletions
+3 -2
View File
@@ -45,11 +45,12 @@ public class DungeonGeneratorV3
/// JSON options for case-insensitive deserialization.
/// JavaScript saves with lowercase: {"sheetId":3,"frameIndex":273}
/// C# classes use PascalCase: SheetId, FrameIndex
/// Without this option, all values deserialize to 0!
/// Also handles enum serialization as strings (Open, Closed, Custom)
/// </summary>
private static readonly JsonSerializerOptions _jsonOptions = new()
{
PropertyNameCaseInsensitive = true
PropertyNameCaseInsensitive = true,
Converters = { new System.Text.Json.Serialization.JsonStringEnumConverter() }
};
// ============================================================