Remove transitional inventory docking facade helpers
This commit is contained in:
parent
5257967eb0
commit
4dcc7bfe58
3 changed files with 12 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue