diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 5ec343c6b..9adf39115 100644 Binary files a/.voidbot/state/aetheria.cc and b/.voidbot/state/aetheria.cc differ diff --git a/Aetheria.State/README.md b/Aetheria.State/README.md index 5fca5dfab..eff5e630f 100644 --- a/Aetheria.State/README.md +++ b/Aetheria.State/README.md @@ -26,6 +26,9 @@ state spine is being rebuilt. The old `SavedGame`/`SavedZone` DTOs and `Galaxy` loader constructor have also been deleted; the new document family is live Verse run/zone state, not a bespoke save-file format. +The dead `SavedStory` JSON DTO is gone. `ZonePack` remains an in-memory zone +construction snapshot for Unity runtime code, but no longer carries MessagePack +persistence attributes. Keyboard layout rendering now reads the checked-in Unity text asset directly. The old generated `GameData/KeyboardLayouts/*.msgpack` cache was deleted; layout diff --git a/Assets/Scripts/ServerShared/EntitySerializer.cs b/Assets/Scripts/ServerShared/EntitySerializer.cs index 0ff28d171..99ab1bf8c 100644 --- a/Assets/Scripts/ServerShared/EntitySerializer.cs +++ b/Assets/Scripts/ServerShared/EntitySerializer.cs @@ -147,13 +147,6 @@ public static class EntitySerializer } } -[MessagePackObject] -public class SavedStory -{ - [Key(0)] public string StoryJson; - [Key(1)] public string StateJson; -} - [MessagePackObject] public class ShipPack : EntityPack { diff --git a/Assets/Scripts/ServerShared/ZoneData.cs b/Assets/Scripts/ServerShared/ZoneData.cs index 7941ec9b3..6d7190c84 100644 --- a/Assets/Scripts/ServerShared/ZoneData.cs +++ b/Assets/Scripts/ServerShared/ZoneData.cs @@ -12,28 +12,14 @@ using static Unity.Mathematics.math; using float2 = Unity.Mathematics.float2; using float3 = Unity.Mathematics.float3; -[MessagePackObject] public class ZonePack { - [Key(0)] public List Planets = new List(); - - [Key(1)] public List Orbits = new List(); - - [Key(2)] public List Entities = new List(); - - [Key(3)] public float Radius = 2000; - - [Key(4)] public float Mass = 10000; - - [Key(5)] public double Time; - - } // [LegacyCatalogGroup("Galaxy"), MessagePackObject] @@ -207,4 +193,4 @@ public class OrbitData : DatabaseEntry phase *= PI * 2; return new float2(cos(phase), sin(phase)); } -} \ No newline at end of file +} diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 550b35161..61307969f 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -31,7 +31,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. `PlayerSettings.msgpack`, `.loadout`, `.zone`, and `GameData/KeyboardLayouts/*.msgpack` authority paths are disabled or deleted. The old `SavedGame`/`SavedZone` DTOs and `Galaxy` save-loader constructor are - deleted. + deleted. The dead `SavedStory` JSON DTO is deleted. `ZonePack` remains as a + runtime zone construction snapshot, but no longer declares itself as a + MessagePack persistence document. - `LegacyCatalogBoundary` opens `LegacyCatalogCache` as the only concrete pull-only catalog cache. Runtime consumers receive `ILegacyCatalogReader`, so old MessagePack backing stores may hydrate in-memory domain objects for