Use named managed shared state accessors

This commit is contained in:
Meta Vens 2026-06-28 08:02:16 +01:00
commit 68fc0b0aa1
15 changed files with 144 additions and 56 deletions

View file

@ -163,11 +163,8 @@ public sealed class AetheriaUnityObservedDockingIndex
snapshot = null;
try
{
snapshot = _resolveClient()
?.Aetheria()
.DockingState
.Latest();
return snapshot != null;
var client = _resolveClient();
return client?.Aetheria().DockingState.TryLatest(out snapshot) == true;
}
catch
{