Persist playable regular sectors

This commit is contained in:
Meta Vens 2026-07-17 10:03:10 +01:00
commit 5e20a3f09a
14 changed files with 346 additions and 54 deletions

View file

@ -7,7 +7,10 @@ public sealed record AetheriaDaemonWrittenRun(
string RunId,
string RunKey,
string CurrentEntityKey,
bool IsTutorial);
bool IsTutorial)
{
public string SessionMode { get; init; } = AetheriaGameSessionState.AetheriaMode;
}
public static class AetheriaDaemonTutorialRunWriter
{
@ -88,6 +91,7 @@ public static class AetheriaDaemonTutorialRunWriter
CurrentEntityKey = playerEntityKey,
LifecyclePhase = AetheriaRuntimeRunLifecycle.Active,
TerminalFrameId = -1,
GameMode = AetheriaGameSessionState.AetheriaMode,
AgentTasks = materialized.Zones.Values
.OrderBy(zone => zone.Topology.ZoneIndex)
.SelectMany(zone => zone.AgentTasks)