Ejemplo n.º 1
0
 public static bool ShouldBeActivePermanent(this Sanderling.Accumulation.IShipUiModule module, Bot bot) =>
 new[]
 {
     module?.TooltipLast?.Value?.IsHardener,
     bot?.ConfigSerialAndStruct.Value?.ModuleActivePermanentSetTitlePattern
     ?.Any(activePermanentTitlePattern => module?.TooltipLast?.Value?.TitleElementText()?.Text?.RegexMatchSuccessIgnoreCase(activePermanentTitlePattern) ?? false),
 }
 .Any(sufficientCondition => sufficientCondition ?? false);
Ejemplo n.º 2
0
 public Int64?ToggleLastAgeStepCountFromModule(Sanderling.Accumulation.IShipUiModule module) =>
 module == null ? null :
 stepIndex - ToggleLastStepIndexFromModule?.TryGetValueNullable(module);
Ejemplo n.º 3
0
 public long?ToggleLastAgeStepCountFromModule(IShipUiModule module)
 {
     return(stepIndex - ToggleLastStepIndexFromModule?.TryGetValueNullable(module));
 }