Route catalog reads through managed document
This commit is contained in:
parent
943a210bc5
commit
03b1e082ea
15 changed files with 43 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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.");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue