Remove dead save JSON residue
This commit is contained in:
parent
7a2cc28c57
commit
fc6eca6a93
5 changed files with 7 additions and 23 deletions
Binary file not shown.
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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<BodyData> Planets = new List<BodyData>();
|
||||
|
||||
[Key(1)]
|
||||
public List<OrbitData> Orbits = new List<OrbitData>();
|
||||
|
||||
[Key(2)]
|
||||
public List<EntityPack> Entities = new List<EntityPack>();
|
||||
|
||||
[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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue