Demote current entity slot from canonical run state
This commit is contained in:
parent
4ee0628a5a
commit
9bc8ec125d
11 changed files with 60 additions and 26 deletions
|
|
@ -237,7 +237,6 @@ public static class AetheriaRuntimeCommitLogApplier
|
|||
EntranceZoneIndex = checkpoint.EntranceZoneIndex,
|
||||
ExitZoneIndex = checkpoint.ExitZoneIndex,
|
||||
CurrentZoneIndex = checkpoint.CurrentZoneIndex,
|
||||
CurrentZoneEntityIndex = checkpoint.CurrentZoneEntityIndex,
|
||||
DiscoveredZoneIndices = ToIntArray(checkpoint.DiscoveredZoneIndices),
|
||||
ActionBarBindings = ToActionBarBindings(checkpoint.ActionBarBindings),
|
||||
FactionRelationships = ToFactionRelationships(checkpoint.FactionRelationships),
|
||||
|
|
|
|||
|
|
@ -213,9 +213,6 @@ public sealed class AetheriaRunState
|
|||
[Key(4)]
|
||||
public int CurrentZoneIndex { get; set; }
|
||||
|
||||
[Key(5)]
|
||||
public int CurrentZoneEntityIndex { get; set; }
|
||||
|
||||
[Key(6)]
|
||||
public int[] DiscoveredZoneIndices { get; set; } = [];
|
||||
|
||||
|
|
|
|||
|
|
@ -327,7 +327,9 @@ preserve equipment slots, weapon groups, and simulation stat grids without
|
|||
reviving `PlayerSettings.msgpack`, `.loadout`, or `.zone` serialization.
|
||||
The run document also carries `CurrentEntityKey`, so Continue restore binds the
|
||||
saved player entity by exact typed record identity instead of reconstructing it
|
||||
from a transient entity-slot index.
|
||||
from a transient entity-slot index. Canonical typed run state no longer stores
|
||||
`CurrentZoneEntityIndex`; older stored runs are translated through the package
|
||||
reader into `CurrentEntityKey` when that compatibility seam is needed.
|
||||
|
||||
`Aetheria.State.Verify` opens a materialized state file and checks that the
|
||||
typed migration ledger matches the actual item, corporation, and name-file
|
||||
|
|
|
|||
Loading…
Reference in a new issue