Rename trade interaction surface models
This commit is contained in:
parent
14cbc92677
commit
ae9ddf43bd
3 changed files with 40 additions and 34 deletions
|
|
@ -5808,22 +5808,22 @@ static void RequireTradeFilterAndRowActionsUseEveSurface(string root)
|
|||
var requiredSymbols = new[]
|
||||
{
|
||||
"RenderFilterSurface(",
|
||||
"_filterSurfaceProjection = ProjectTradeFilterSurface();",
|
||||
"_filterSurfaceModel = ComposeTradeFilterSurface();",
|
||||
"HandleFilterSurfaceCommand(",
|
||||
"AetheriaEveUnitySurfaceHost.RenderRuntime(",
|
||||
"AetheriaEveUnitySurfaceHost.Hide(_filterSurfaceDocument)",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.BuildFilter(_filterSurfaceProjection.State)",
|
||||
"ProjectTradeFilterSurface(",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.ProjectFilters(",
|
||||
"_filterSurfaceProjection?.TryResolve(command.Command, out var selection) == true",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.BuildFilter(_filterSurfaceModel.State)",
|
||||
"ComposeTradeFilterSurface(",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.ComposeFilters(",
|
||||
"_filterSurfaceModel?.TryResolve(command.Command, out var selection) == true",
|
||||
"ExecuteTradeFilterSelection(",
|
||||
"new AetheriaRuntimeTradeFilterOption(",
|
||||
"RenderRowActionSurface(",
|
||||
"HandleRowActionSurfaceCommand(",
|
||||
"AetheriaEveUnitySurfaceHost.Hide(_rowActionSurfaceDocument)",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.ProjectRowActions(",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.BuildRowActions(_rowActionSurfaceProjection.State)",
|
||||
"_rowActionSurfaceProjection?.TryResolve(command.Command, out var selection) == true",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.ComposeRowActions(",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceBuilder.BuildRowActions(_rowActionSurfaceModel.State)",
|
||||
"_rowActionSurfaceModel?.TryResolve(command.Command, out var selection) == true",
|
||||
"new AetheriaRuntimeTradeRowActionOption(index, action.Label)",
|
||||
"ShowBuyQuantityDialog(",
|
||||
"AetheriaRuntimeTradeInteractionSurfaceCommands.TryReadFilter(request, out var command)",
|
||||
|
|
@ -5865,14 +5865,18 @@ static void RequireTradeFilterAndRowActionsUseEveSurface(string root)
|
|||
"string.Equals(request.Command, AetheriaRuntimeTradeInteractionSurfaceBuilder.CloseFilter",
|
||||
"string.Equals(request.Command, AetheriaRuntimeTradeInteractionSurfaceBuilder.CloseRowAction",
|
||||
"_filterSurfaceCommands.TryGetValue(request.Command",
|
||||
"_filterSurfaceProjection",
|
||||
"private readonly Dictionary<string, Action> _filterSurfaceCommands",
|
||||
"BuildFilterSurfaceCommands(",
|
||||
"ProjectTradeFilterSurfaceState(",
|
||||
"ProjectTradeFilterSurface(",
|
||||
"AddTradeFilterGroup(",
|
||||
"_rowActionSurfaceCommands.TryGetValue(request.Command",
|
||||
"_rowActionSurfaceProjection",
|
||||
"private readonly Dictionary<string, Action> _rowActionSurfaceCommands",
|
||||
"BuildRowActionSurfaceCommands(",
|
||||
"ProjectTradeRowActionSurfaceState("
|
||||
"ProjectTradeRowActionSurfaceState(",
|
||||
"ProjectRowActions("
|
||||
};
|
||||
|
||||
var hits = forbiddenSymbols
|
||||
|
|
@ -5902,22 +5906,24 @@ static void RequireTradeFilterAndRowActionsUseEveSurface(string root)
|
|||
"AetheriaRuntimeTradeFilterOption",
|
||||
"AetheriaRuntimeTradeFilterSelectionKind",
|
||||
"AetheriaRuntimeTradeFilterSelection",
|
||||
"AetheriaRuntimeTradeFilterSurfaceProjection",
|
||||
"AetheriaRuntimeTradeFilterSurfaceModel",
|
||||
"AetheriaRuntimeTradeRowActionSurfaceState",
|
||||
"AetheriaRuntimeTradeRowActionOption",
|
||||
"AetheriaRuntimeTradeRowActionSelection",
|
||||
"AetheriaRuntimeTradeRowActionSurfaceProjection",
|
||||
"AetheriaRuntimeTradeRowActionSurfaceModel",
|
||||
"AetheriaRuntimeTradeSurfaceGroup",
|
||||
"AetheriaRuntimeTradeSurfaceOption",
|
||||
"public static string HardpointFilterCommand(",
|
||||
"public static string RowActionCommand(",
|
||||
"public static AetheriaRuntimeTradeFilterSurfaceProjection ProjectFilters(",
|
||||
"public static AetheriaRuntimeTradeFilterSurfaceModel ComposeFilters(",
|
||||
"public bool TryResolve(string command, out AetheriaRuntimeTradeFilterSelection selection)",
|
||||
"public static AetheriaRuntimeTradeRowActionSurfaceProjection ProjectRowActions(",
|
||||
"public static AetheriaRuntimeTradeRowActionSurfaceModel ComposeRowActions(",
|
||||
"public bool TryResolve(string command, out AetheriaRuntimeTradeRowActionSelection selection)",
|
||||
"public static AetheriaRuntimeSurfaceDocument BuildFilter(",
|
||||
"public static AetheriaRuntimeSurfaceDocument BuildRowActions(",
|
||||
"providerKind: \"trade.menu\""
|
||||
"providerKind: \"trade.menu\"",
|
||||
"The observing client lists available trade filters; the shared runtime surface owns the filter selector contract.",
|
||||
"The observing client lists available row actions; the shared runtime surface owns the row action contract."
|
||||
};
|
||||
var missingBuilderSymbols = requiredBuilderSymbols
|
||||
.Where(symbol => !tradeInteractionSurfaceBuilder.Contains(symbol, StringComparison.Ordinal))
|
||||
|
|
|
|||
Loading…
Reference in a new issue