Move inventory dropdown projection into runtime
This commit is contained in:
parent
8e8d680a31
commit
48c794de21
3 changed files with 360 additions and 197 deletions
|
|
@ -5022,18 +5022,22 @@ static void RequireInventoryDropdownUseEveSurface(string root)
|
|||
var requiredSymbols = new[]
|
||||
{
|
||||
"RenderDropdownSurface(",
|
||||
"BuildDropdownCommands(",
|
||||
"ProjectDropdownSurface(",
|
||||
"_dropdownSurfaceProjection = ProjectDropdownSurface();",
|
||||
"HandleDropdownSurfaceCommand(",
|
||||
"ExecuteDropdownSelection(",
|
||||
"AetheriaEveUnitySurfaceHost.RenderRuntime(",
|
||||
"AetheriaEveUnitySurfaceHost.Hide(_dropdownSurfaceDocument)",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceBuilder.Build(ProjectDropdownSurfaceState(",
|
||||
"ProjectDropdownSurfaceState(",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceBuilder.SaveLoadout",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceBuilder.Build(_dropdownSurfaceProjection.State)",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceBuilder.Project(",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceCommands.TryRead(request, out var command)",
|
||||
"AetheriaRuntimeInventoryDropdownCommandKind.Close",
|
||||
"AetheriaRuntimeInventoryDropdownCommandKind.Select",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceBuilder.EntityEquipmentCommand(",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceBuilder.LoadoutCommand(",
|
||||
"_dropdownSurfaceProjection?.TryResolve(command.Command, out var selection) == true",
|
||||
"AetheriaRuntimeInventoryDropdownSelectionKind.EntityBay",
|
||||
"AetheriaRuntimeInventoryDropdownSelectionKind.Loadout",
|
||||
"new AetheriaRuntimeInventoryDropdownEntityOption(",
|
||||
"new AetheriaRuntimeInventoryDropdownLoadoutOption(",
|
||||
"GameManager.TryGetObservedDockingBay(out var dockingBay)",
|
||||
"GameManager.ObservedAvailableEntities()",
|
||||
"GameManager.ObservedLoadoutTemplates()"
|
||||
|
|
@ -5067,6 +5071,9 @@ static void RequireInventoryDropdownUseEveSurface(string root)
|
|||
"ContextMenu.Show();",
|
||||
"string.Equals(request.Command, AetheriaRuntimeInventoryDropdownSurfaceBuilder.Close",
|
||||
"_dropdownCommands.TryGetValue(request.Command",
|
||||
"private readonly Dictionary<string, Action> _dropdownCommands",
|
||||
"BuildDropdownCommands(",
|
||||
"ProjectDropdownSurfaceState(",
|
||||
"GameManager.DockingBay",
|
||||
"GameManager.AvailableEntities()",
|
||||
"GameManager.LoadoutTemplates"
|
||||
|
|
@ -5104,6 +5111,13 @@ static void RequireInventoryDropdownUseEveSurface(string root)
|
|||
"AetheriaRuntimeInventoryDropdownSurfaceState",
|
||||
"AetheriaRuntimeInventoryDropdownGroup",
|
||||
"AetheriaRuntimeInventoryDropdownOption",
|
||||
"AetheriaRuntimeInventoryDropdownEntityOption",
|
||||
"AetheriaRuntimeInventoryDropdownBayOption",
|
||||
"AetheriaRuntimeInventoryDropdownLoadoutOption",
|
||||
"AetheriaRuntimeInventoryDropdownSelectionKind",
|
||||
"AetheriaRuntimeInventoryDropdownSurfaceProjection",
|
||||
"public static AetheriaRuntimeInventoryDropdownSurfaceProjection Project(",
|
||||
"public bool TryResolve(",
|
||||
"public static string EntityEquipmentCommand(",
|
||||
"public static string EntityBayCommand(",
|
||||
"public static string EntityCommand(",
|
||||
|
|
|
|||
Loading…
Reference in a new issue