Route catalog reads through managed document

This commit is contained in:
Meta Vens 2026-06-28 01:58:58 +01:00
commit 03b1e082ea
15 changed files with 43 additions and 15 deletions

View file

@ -85,7 +85,7 @@ public abstract class ActionBarBinding
try
{
_catalog ??= Client.OpenRuntimeCatalog();
_catalog ??= Client.Aetheria().Catalog.Latest();
return _catalog?.FindItem(item.ItemKey);
}
catch (Exception ex)

View file

@ -35,7 +35,9 @@ public sealed class AetheriaUnityGameplayBootShell
}
var runtimeCatalog = AetheriaUnityRuntimeClientProvider.ResolveClient(stateBoot.StateFilePath, stateBoot.RuntimeId)
.OpenRuntimeCatalog();
.Aetheria()
.Catalog
.Latest();
if (runtimeCatalog == null)
throw new InvalidOperationException("Aetheria typed runtime catalog is required before gameplay boot.");