Remove Aetheria client state alias
This commit is contained in:
parent
a8f35a8f95
commit
a035a55fc3
22 changed files with 98 additions and 100 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ public sealed class AetheriaUnityObservedDockingIndex : IDisposable
|
|||
{
|
||||
try
|
||||
{
|
||||
var state = _resolveClient()?.Aetheria();
|
||||
var state = _ResolveClient()?.State;
|
||||
if (state == null)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ public sealed class AetheriaUnityObservedTargetQuery : IDisposable
|
|||
try
|
||||
{
|
||||
_zoneContacts = _resolveClient()
|
||||
?.Aetheria()
|
||||
?.State
|
||||
.ReactiveZoneContacts();
|
||||
return _zoneContacts?.Current;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ public sealed class AetheriaUnityRenderSplatViewportSource : MonoBehaviour
|
|||
try
|
||||
{
|
||||
var nextRenderSplatsViewport = ResolveClient()
|
||||
.Aetheria()
|
||||
.State
|
||||
.Viewports
|
||||
.ReactiveRenderSplats(viewport);
|
||||
ClearViewportDocument();
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public static class AetheriaUnityRuntimeClientProvider
|
|||
try
|
||||
{
|
||||
_playerSettingsDocument ??= ResolveClient(AetheriaUnityRuntimePaths.RuntimeStateFilePath)
|
||||
.Aetheria()
|
||||
.State
|
||||
.Settings
|
||||
.ReactivePlayer();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue