Remove transitional inventory docking facade helpers

This commit is contained in:
Meta Vens 2026-06-27 18:15:41 +01:00
commit 4dcc7bfe58
3 changed files with 12 additions and 29 deletions

View file

@ -260,8 +260,9 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler
}
return;
case AetheriaRuntimeInventoryDropdownSelectionKind.DockingBay:
if (TryResolveCurrentDockingBayRow(out _) &&
TryGetTypedCurrentDockingBayFacade(out var dockingBay))
if (TryResolveObservedDockingIndex(out var dockingIndex) &&
dockingIndex.TryResolveCurrentDockingBayRow(out _) &&
dockingIndex.TryResolveCurrentDockingBay(out var dockingBay))
{
Display(dockingBay);
}
@ -1136,13 +1137,6 @@ private void Update()
dockingIndex.TryResolveCurrentEntityKey(out currentEntityKey);
}
private bool TryGetTypedCurrentDockingBayFacade(out EquippedDockingBay dockingBay)
{
dockingBay = null;
return TryResolveObservedDockingIndex(out var dockingIndex) &&
dockingIndex.TryResolveCurrentDockingBay(out dockingBay);
}
private bool TryResolveCurrentDockingBayRow(out AetheriaRuntimeStationDockingBayRow dockingBay)
{
dockingBay = null;