Restore Continue current entity from typed state

This commit is contained in:
Meta Vens 2026-06-16 06:41:35 +01:00
commit 8b8a86f6ae
7 changed files with 164 additions and 8 deletions

View file

@ -967,13 +967,23 @@ First Aetheria surfaces to publish:
`AetheriaRuntimeCatalogStore`, selects the newest run, regenerates the
galaxy from the saved generation seed, and passes the selected run to
`ActionGameManager` so boot enters the saved current zone and lowers typed
pickup rows. Entity/player reconstruction from `AetheriaEntitySnapshot`
remains future Continue work, not a fake restored ship.
pickup rows.
- Done: restore the current player entity from typed state during Continue
boot. Package entity readback now preserves `AetheriaEntitySnapshot` record
identity, and `ActionGameManager` resolves the exact
`RunId + ZoneIndex + CurrentZoneEntityIndex` entity record, lowers it
through the existing construction blueprint path, restores hull,
equipment, cargo, docking contents, weapon groups, position, direction,
velocity, shutdown override, and tractor power, then binds the lowered
entity as the current player ship.
- Remaining: add typed documents/mappers for runtime object graphs,
complete Continue/run entity reconstruction from typed state, typed
behavior factory construction, remaining behavior-private state not covered
by progress, weapon, sensor, radiator, reactor, or capacitor rows, and any
catalog fields not covered by the stable scalar/fingerprint/payload pass.
complete full Continue/run entity graph reconstruction from typed state
for non-current entities, child/docked entity activation, targets,
contacts, active consumables, behavior-private state not covered by
progress, weapon, sensor, radiator, reactor, or capacitor rows,
heatstroke/hypothermia runtime restore, typed behavior factory
construction, and any catalog fields not covered by the stable
scalar/fingerprint/payload pass.
4. Runtime cutover
- Done: add a Unity-facing typed catalog read facade and smoke proving it can