From a45c704f43decbc337c8376cdbb4adaa0b11eef8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 29 Jun 2026 04:21:43 +0100 Subject: [PATCH] Rename daemon client documents for native state access --- Aetheria.State.Verify/Program.cs | 8 +++++--- .../Scripts/Tests/DaemonRuntimeDocumentTests.cs | 4 ++-- .../Runtime/AetheriaClientState.cs | 16 ++++++++-------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Aetheria.State.Verify/Program.cs b/Aetheria.State.Verify/Program.cs index 9d3224db1..7dd59db93 100644 --- a/Aetheria.State.Verify/Program.cs +++ b/Aetheria.State.Verify/Program.cs @@ -16189,8 +16189,8 @@ static void RequireRuntimeStateReaderOwnsUnityStateAcquisition(string root) "public CultMeshDocumentHandle Health { get; }", "public CultMeshDocumentHandle CommandBoundary { get; }", "public CultMeshDocumentHandle AuthorityPolicy { get; }", - "public CultMeshDocumentHandle LatestFrame { get; }", - "public CultMeshDocumentHandle LatestSoaView { get; }", + "public CultMeshDocumentHandle DaemonFrame { get; }", + "public CultMeshDocumentHandle DaemonSoaView { get; }", "public CultMeshDocumentHandle GameSurface { get; }", "public CultMeshDocumentHandle GameTuiSurface { get; }", "public CultMeshDocumentHandle EditorSurface { get; }", @@ -16215,7 +16215,9 @@ static void RequireRuntimeStateReaderOwnsUnityStateAcquisition(string root) "public AetheriaClientDaemonState Daemon { get; }", "public sealed class AetheriaClientDaemonState", "public AetheriaClientSettingsState Settings { get; }", - "public sealed class AetheriaClientSettingsState" + "public sealed class AetheriaClientSettingsState", + "public CultMeshDocumentHandle LatestFrame { get; }", + "public CultMeshDocumentHandle LatestSoaView { get; }" }; var survivingDaemonStateFacadeSymbols = forbiddenDaemonStateFacadeSymbols .Where(symbol => aetheriaClientState.Contains(symbol, StringComparison.Ordinal)) diff --git a/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs b/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs index 6e86da8d3..e9bd80a88 100644 --- a/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs +++ b/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs @@ -255,8 +255,8 @@ public class DaemonRuntimeDocumentTests Assert.AreSame( client.State.StarbridgeSummary, client.State.Document()); - Assert.AreSame(client.State.LatestFrame, client.State.Document()); - Assert.AreSame(client.State.LatestSoaView, client.State.Document()); + Assert.AreSame(client.State.DaemonFrame, client.State.Document()); + Assert.AreSame(client.State.DaemonSoaView, client.State.Document()); Assert.IsNotNull(ReadLatest(client.State.Document())); Assert.IsNotNull(ReadLatest(client.State.Document())); Assert.IsNotNull(ReadLatest(client.State.Document())); diff --git a/Packages/org.gamecult.aetheria.state/Runtime/AetheriaClientState.cs b/Packages/org.gamecult.aetheria.state/Runtime/AetheriaClientState.cs index ba96824e0..14358a69a 100644 --- a/Packages/org.gamecult.aetheria.state/Runtime/AetheriaClientState.cs +++ b/Packages/org.gamecult.aetheria.state/Runtime/AetheriaClientState.cs @@ -34,8 +34,8 @@ namespace GameCult.Aetheria.State.Verse CultMeshDocumentHandle health, CultMeshDocumentHandle commandBoundary, CultMeshDocumentHandle authorityPolicy, - CultMeshDocumentHandle latestFrame, - CultMeshDocumentHandle latestSoaView, + CultMeshDocumentHandle daemonFrame, + CultMeshDocumentHandle daemonSoaView, CultMeshDocumentHandle gameSurface, CultMeshDocumentHandle gameTuiSurface, CultMeshDocumentHandle editorSurface, @@ -67,8 +67,8 @@ namespace GameCult.Aetheria.State.Verse Health = health ?? throw new ArgumentNullException(nameof(health)); CommandBoundary = commandBoundary ?? throw new ArgumentNullException(nameof(commandBoundary)); AuthorityPolicy = authorityPolicy ?? throw new ArgumentNullException(nameof(authorityPolicy)); - LatestFrame = latestFrame ?? throw new ArgumentNullException(nameof(latestFrame)); - LatestSoaView = latestSoaView ?? throw new ArgumentNullException(nameof(latestSoaView)); + DaemonFrame = daemonFrame ?? throw new ArgumentNullException(nameof(daemonFrame)); + DaemonSoaView = daemonSoaView ?? throw new ArgumentNullException(nameof(daemonSoaView)); GameSurface = gameSurface ?? throw new ArgumentNullException(nameof(gameSurface)); GameTuiSurface = gameTuiSurface ?? throw new ArgumentNullException(nameof(gameTuiSurface)); EditorSurface = editorSurface ?? throw new ArgumentNullException(nameof(editorSurface)); @@ -104,8 +104,8 @@ namespace GameCult.Aetheria.State.Verse GameTuiSurface, EditorSurface, EditorTuiSurface, - LatestFrame, - LatestSoaView, + DaemonFrame, + DaemonSoaView, Catalog, LoadoutTemplates, PlayerSettings, @@ -130,9 +130,9 @@ namespace GameCult.Aetheria.State.Verse public CultMeshDocumentHandle AuthorityPolicy { get; } - public CultMeshDocumentHandle LatestFrame { get; } + public CultMeshDocumentHandle DaemonFrame { get; } - public CultMeshDocumentHandle LatestSoaView { get; } + public CultMeshDocumentHandle DaemonSoaView { get; } public CultMeshDocumentHandle Catalog { get; }