Read trade ship availability through daemon view

This commit is contained in:
Meta Vens 2026-06-21 18:19:42 +01:00
commit b864e1398f
2 changed files with 20 additions and 9 deletions

View file

@ -4365,7 +4365,9 @@ static void RequireTradeCargoSelectorUseEveSurface(string root)
"AetheriaRuntimeTradeCargoSelectorSurfaceBuilder.ShipBayCommand(",
"AetheriaRuntimeTradeCargoSelectorSurfaceCommands.TryRead(request, out var command)",
"AetheriaRuntimeTradeCargoSelectorCommandKind.Close",
"AetheriaRuntimeTradeCargoSelectorCommandKind.Select"
"AetheriaRuntimeTradeCargoSelectorCommandKind.Select",
"CountAvailablePlayerShips(",
"GameManager.AvailableEntities()"
};
var missingSymbols = requiredSymbols
@ -4391,7 +4393,9 @@ static void RequireTradeCargoSelectorUseEveSurface(string root)
"ContextMenu.AddOption(\"Docking Bay\"",
"ContextMenu.AddOption($\"{ship.Name} Bay {bay.index+1}\"",
"string.Equals(request.Command, AetheriaRuntimeTradeCargoSelectorSurfaceBuilder.Close",
"_cargoSelectionCommands.TryGetValue(request.Command"
"_cargoSelectionCommands.TryGetValue(request.Command",
"GameManager.DockedEntity.Children",
"GameManager.CurrentEntity.Parent.Children"
};
var hits = forbiddenSymbols