diff --git a/Aetheria.State.Verify/Program.cs b/Aetheria.State.Verify/Program.cs index 443470c17..6da6c4713 100644 --- a/Aetheria.State.Verify/Program.cs +++ b/Aetheria.State.Verify/Program.cs @@ -9921,12 +9921,6 @@ static void RequireMainMenuVerseHostProjection(string root) string.Join(", ", missingStoreSymbols)); } - if (!runtimeStateReader.Contains("ReadVerseHostSettings", StringComparison.Ordinal)) - { - throw new InvalidOperationException( - "Shared runtime state reader no longer exposes typed verse-host settings."); - } - var requiredMainMenuSymbols = new[] { "LatestVerseHostSettings(AetheriaRuntimeStateBootReport stateBoot)", @@ -12780,9 +12774,6 @@ static void RequireRuntimeStateReaderOwnsUnityStateAcquisition(string root) "public static class AetheriaRuntimeStateReader", "public static class AetheriaRuntimeStateRefResolver", "OpenRuntimeCatalog", - "ReadPlayerSettings", - "ReadVerseHostSettings", - "ReadLoadoutTemplates", "ReadEveSurface", "TryReadDaemonGameSurface", "TryReadDaemonGameTuiSurface", @@ -12840,6 +12831,15 @@ static void RequireRuntimeStateReaderOwnsUnityStateAcquisition(string root) "Shared runtime state reader still exposes file-backed run/zone snapshot reads; use managed daemon frame and zone-render documents."); } + if (runtimeStateReader.Contains("ReadPlayerSettings", StringComparison.Ordinal) || + runtimeStateReader.Contains("ReadVerseHostSettings", StringComparison.Ordinal) || + runtimeStateReader.Contains("ReadLoadoutTemplates", StringComparison.Ordinal) || + runtimeStateReader.Contains("ReadTradeValuePolicy", StringComparison.Ordinal)) + { + throw new InvalidOperationException( + "Shared runtime state reader still exposes file-backed catalog/settings reads; use AetheriaClient managed document handles."); + } + var runtimeCatalogStorePath = Path.Combine(root, "Packages", "org.gamecult.aetheria.state", "Runtime", "AetheriaRuntimeCatalogStore.cs"); var runtimeCatalogStore = File.Exists(runtimeCatalogStorePath) ? File.ReadAllText(runtimeCatalogStorePath) diff --git a/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeStateReader.cs b/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeStateReader.cs index e6821bad3..32fa94924 100644 --- a/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeStateReader.cs +++ b/Packages/org.gamecult.aetheria.state/Runtime/AetheriaRuntimeStateReader.cs @@ -17,26 +17,6 @@ namespace GameCult.Aetheria.State.Verse return AetheriaRuntimeCatalogStore.OpenReadOnly(stateFilePath); } - public static AetheriaRuntimePlayerSettingsSnapshot? ReadPlayerSettings(string stateFilePath) - { - return AetheriaRuntimeCatalogStore.ReadPlayerSettings(stateFilePath); - } - - public static AetheriaRuntimeTradeValueSettings ReadTradeValuePolicy(string stateFilePath) - { - return AetheriaRuntimeCatalogStore.ReadTradeValuePolicy(stateFilePath); - } - - public static AetheriaRuntimeVerseHostSettingsSnapshot? ReadVerseHostSettings(string stateFilePath) - { - return AetheriaRuntimeCatalogStore.ReadVerseHostSettings(stateFilePath); - } - - public static IReadOnlyList ReadLoadoutTemplates(string stateFilePath) - { - return AetheriaRuntimeCatalogStore.ReadLoadoutTemplates(stateFilePath); - } - public static bool TryReadDaemonFrame(string stateFilePath, out AetheriaRuntimeDaemonFrameDocument frame) { return AetheriaRuntimeDaemonFrameStore.TryReadFrame(stateFilePath, out frame);