Remove Aetheria client state alias

This commit is contained in:
Meta Vens 2026-06-28 13:13:07 +01:00
commit a035a55fc3
22 changed files with 98 additions and 100 deletions

View file

@ -95,7 +95,7 @@ public abstract class ActionBarBinding : IDisposable
try
{
_catalog ??= Client.Aetheria().ReactiveCatalog();
_catalog ??= Client.State.ReactiveCatalog();
return _catalog?.Current?.FindItem(item, x => x.ItemKey);
}
catch (Exception ex)

View file

@ -142,7 +142,7 @@ public sealed class AetheriaDaemonObserver : MonoBehaviour
private bool TryResolveReactiveObservedDaemonDocuments()
{
var state = ResolveClient()?.Aetheria();
var state = ResolveClient()?.State;
if (state == null)
return false;

View file

@ -35,7 +35,7 @@ public sealed class AetheriaUnityGameplayBootShell
}
var aetheria = AetheriaUnityRuntimeClientProvider.ResolveClient(stateBoot.StateFilePath, stateBoot.RuntimeId)
.Aetheria();
.State;
using var runtimeCatalogDocument = aetheria.ReactiveCatalog();
var runtimeCatalog = runtimeCatalogDocument.Current;
if (runtimeCatalog == null)

View file

@ -182,7 +182,7 @@ public sealed class AetheriaUnityObservedDockingIndex : IDisposable
{
try
{
var state = _resolveClient()?.Aetheria();
var state = _ResolveClient()?.State;
if (state == null)
return false;

View file

@ -99,7 +99,7 @@ public sealed class AetheriaUnityObservedTargetQuery : IDisposable
try
{
_zoneContacts = _resolveClient()
?.Aetheria()
?.State
.ReactiveZoneContacts();
return _zoneContacts?.Current;
}

View file

@ -117,7 +117,7 @@ public sealed class AetheriaUnityRenderSplatViewportSource : MonoBehaviour
try
{
var nextRenderSplatsViewport = ResolveClient()
.Aetheria()
.State
.Viewports
.ReactiveRenderSplats(viewport);
ClearViewportDocument();

View file

@ -95,7 +95,7 @@ public static class AetheriaUnityRuntimeClientProvider
try
{
_playerSettingsDocument ??= ResolveClient(AetheriaUnityRuntimePaths.RuntimeStateFilePath)
.Aetheria()
.State
.Settings
.ReactivePlayer();