Use Aetheria state handles for docking UI reads

This commit is contained in:
Meta Vens 2026-06-27 14:01:41 +01:00
commit 7846c4d802
7 changed files with 60 additions and 20 deletions

View file

@ -805,7 +805,9 @@ public class InventoryMenu : MonoBehaviour
try
{
return ResolveClient()
.StationRefitAsync()
.Aetheria()
.StationRefit
.LatestAsync()
.GetAwaiter()
.GetResult();
}
@ -823,7 +825,10 @@ public class InventoryMenu : MonoBehaviour
try
{
docking = ResolveClient()
.CurrentDockingAsync()
.Aetheria()
.Current
.Docking
.LatestAsync()
.GetAwaiter()
.GetResult();
}
@ -883,7 +888,9 @@ public class InventoryMenu : MonoBehaviour
}
var refit = ResolveClient()
.StationRefitAsync()
.Aetheria()
.StationRefit
.LatestAsync()
.GetAwaiter()
.GetResult();
var entityIndex = -1;