Persist run generation seed in typed state
This commit is contained in:
parent
39ebe5b931
commit
9ca3de2ed6
12 changed files with 53 additions and 13 deletions
|
|
@ -227,7 +227,8 @@ public static class AetheriaRuntimeCommitLogApplier
|
|||
DiscoveredZoneIndices = ToIntArray(checkpoint.DiscoveredZoneIndices),
|
||||
ActionBarBindings = ToActionBarBindings(checkpoint.ActionBarBindings),
|
||||
FactionRelationships = ToFactionRelationships(checkpoint.FactionRelationships),
|
||||
UpdatedAtUtc = updatedAtUtc
|
||||
UpdatedAtUtc = updatedAtUtc,
|
||||
GenerationSeed = checkpoint.GenerationSeed
|
||||
};
|
||||
|
||||
var zoneKeys = new List<string>();
|
||||
|
|
|
|||
|
|
@ -225,6 +225,9 @@ public sealed class AetheriaRunState
|
|||
|
||||
[Key(10)]
|
||||
public string UpdatedAtUtc { get; set; } = "";
|
||||
|
||||
[Key(11)]
|
||||
public uint GenerationSeed { get; set; }
|
||||
}
|
||||
|
||||
[CultDocument("aetheria.zone_state", "aetheria.zone_state.v1")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue