diff --git a/Questionable/Controller/Steps/Common/NextQuest.cs b/Questionable/Controller/Steps/Common/NextQuest.cs index 32aa7ad90..2c889375c 100644 --- a/Questionable/Controller/Steps/Common/NextQuest.cs +++ b/Questionable/Controller/Steps/Common/NextQuest.cs @@ -33,11 +33,11 @@ internal static class NextQuest public override string ToString() => $"SetNextQuest({NextQuestId})"; } - internal sealed class Executor( + internal sealed class NextQuestExecutor( QuestRegistry questRegistry, QuestController questController, QuestFunctions questFunctions, - ILogger logger) : TaskExecutor + ILogger logger) : TaskExecutor { protected override bool Start() { diff --git a/Questionable/Controller/Steps/Common/WaitConditionTask.cs b/Questionable/Controller/Steps/Common/WaitConditionTask.cs index 9389bfb23..367fdfec0 100644 --- a/Questionable/Controller/Steps/Common/WaitConditionTask.cs +++ b/Questionable/Controller/Steps/Common/WaitConditionTask.cs @@ -9,7 +9,7 @@ internal static class WaitCondition public override string ToString() => Description; } - internal sealed class Executor : TaskExecutor + internal sealed class WaitConditionExecutor : TaskExecutor { private DateTime _continueAt = DateTime.MaxValue; diff --git a/Questionable/Controller/Steps/Gathering/DoGather.cs b/Questionable/Controller/Steps/Gathering/DoGather.cs index e0e05a94a..169b0b7c6 100644 --- a/Questionable/Controller/Steps/Gathering/DoGather.cs +++ b/Questionable/Controller/Steps/Gathering/DoGather.cs @@ -29,13 +29,13 @@ internal static class DoGather public override string ToString() => $"DoGather{(RevisitRequired ? " if revist" : "")}"; } - internal sealed class Executor( + internal sealed class GatherExecutor( GatheringController gatheringController, GameFunctions gameFunctions, IGameGui gameGui, IClientState clientState, ICondition condition, - ILogger logger) : TaskExecutor + ILogger logger) : TaskExecutor { private const uint StatusGatheringRateUp = 218; diff --git a/Questionable/Controller/Steps/Gathering/DoGatherCollectable.cs b/Questionable/Controller/Steps/Gathering/DoGatherCollectable.cs index 17376e10a..167409434 100644 --- a/Questionable/Controller/Steps/Gathering/DoGatherCollectable.cs +++ b/Questionable/Controller/Steps/Gathering/DoGatherCollectable.cs @@ -27,12 +27,12 @@ internal static class DoGatherCollectable $"DoGatherCollectable({SeIconChar.Collectible.ToIconString()}/{Request.Collectability}){(RevisitRequired ? " if revist" : "")}"; } - internal sealed class Executor( + internal sealed class GatherCollectableExecutor( GatheringController gatheringController, GameFunctions gameFunctions, IClientState clientState, IGameGui gameGui, - ILogger logger) : TaskExecutor + ILogger logger) : TaskExecutor { private Queue? _actionQueue; diff --git a/Questionable/Controller/Steps/Gathering/MoveToLandingLocation.cs b/Questionable/Controller/Steps/Gathering/MoveToLandingLocation.cs index cc9f4d979..048bd2080 100644 --- a/Questionable/Controller/Steps/Gathering/MoveToLandingLocation.cs +++ b/Questionable/Controller/Steps/Gathering/MoveToLandingLocation.cs @@ -21,11 +21,11 @@ internal static class MoveToLandingLocation public override string ToString() => $"Land/{FlyBetweenNodes}"; } - internal sealed class Executor( + internal sealed class MoveToLandingLocationExecutor( MoveTo.MoveExecutor moveExecutor, GameFunctions gameFunctions, IObjectTable objectTable, - ILogger logger) : TaskExecutor + ILogger logger) : TaskExecutor { private ITask _moveTask = null!; diff --git a/Questionable/Controller/Steps/Interactions/Duty.cs b/Questionable/Controller/Steps/Interactions/Duty.cs index 172eb961a..42c94d87b 100644 --- a/Questionable/Controller/Steps/Interactions/Duty.cs +++ b/Questionable/Controller/Steps/Interactions/Duty.cs @@ -26,7 +26,7 @@ internal static class Duty public override string ToString() => $"OpenDutyFinder({ContentFinderConditionId})"; } - internal sealed class Executor( + internal sealed class OpenDutyWindowExecutor( GameFunctions gameFunctions, ICondition condition) : TaskExecutor { diff --git a/Questionable/Controller/Steps/Interactions/EquipItem.cs b/Questionable/Controller/Steps/Interactions/EquipItem.cs index d9cd3971c..9e424f652 100644 --- a/Questionable/Controller/Steps/Interactions/EquipItem.cs +++ b/Questionable/Controller/Steps/Interactions/EquipItem.cs @@ -33,9 +33,9 @@ internal static class EquipItem public override string ToString() => $"Equip({ItemId})"; } - internal sealed class Executor( + internal sealed class DoEquip( IDataManager dataManager, - ILogger logger) : TaskExecutor, IToastAware + ILogger logger) : TaskExecutor, IToastAware { private const int MaxAttempts = 3; diff --git a/Questionable/Controller/Steps/Shared/StepDisabled.cs b/Questionable/Controller/Steps/Shared/StepDisabled.cs index 917951f8f..f70653592 100644 --- a/Questionable/Controller/Steps/Shared/StepDisabled.cs +++ b/Questionable/Controller/Steps/Shared/StepDisabled.cs @@ -22,7 +22,7 @@ internal static class StepDisabled public override string ToString() => "StepDisabled"; } - internal sealed class Executor(ILogger logger) : TaskExecutor + internal sealed class SkipDisabledStepsExecutor(ILogger logger) : TaskExecutor { protected override bool Start() => true; diff --git a/Questionable/Controller/Steps/Shared/SwitchClassJob.cs b/Questionable/Controller/Steps/Shared/SwitchClassJob.cs index 880aac693..37ddf1eeb 100644 --- a/Questionable/Controller/Steps/Shared/SwitchClassJob.cs +++ b/Questionable/Controller/Steps/Shared/SwitchClassJob.cs @@ -13,7 +13,7 @@ internal static class SwitchClassJob public override string ToString() => $"SwitchJob({ClassJob})"; } - internal sealed class Executor(IClientState clientState) : AbstractDelayedTaskExecutor + internal sealed class SwitchClassJobExecutor(IClientState clientState) : AbstractDelayedTaskExecutor { protected override unsafe bool StartInternal() { diff --git a/Questionable/Controller/Utils/QuestWorkUtils.cs b/Questionable/Controller/Utils/QuestWorkUtils.cs index 56484ecc7..5315aa9eb 100644 --- a/Questionable/Controller/Utils/QuestWorkUtils.cs +++ b/Questionable/Controller/Utils/QuestWorkUtils.cs @@ -63,7 +63,7 @@ internal static class QuestWorkUtils { if (requiredQuestVariables.Count != 6 || requiredQuestVariables.All(x => x == null || x.Count == 0)) { - logger.LogDebug("No RQW defined"); + logger.LogDebug("No RequiredQW defined"); return true; } @@ -71,7 +71,7 @@ internal static class QuestWorkUtils { if (requiredQuestVariables[i] == null) { - logger.LogInformation("No RQW {Index} defined", i); + logger.LogDebug("No RequiredQW {Index} defined", i); continue; } diff --git a/Questionable/QuestionablePlugin.cs b/Questionable/QuestionablePlugin.cs index 98f357f16..47b5cb96c 100644 --- a/Questionable/QuestionablePlugin.cs +++ b/Questionable/QuestionablePlugin.cs @@ -129,16 +129,16 @@ public sealed class QuestionablePlugin : IDalamudPlugin private static void AddTaskFactories(ServiceCollection serviceCollection) { // individual tasks - serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); // task factories serviceCollection - .AddTaskFactoryAndExecutor(); + .AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactory(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskExecutor(); @@ -156,14 +156,14 @@ public sealed class QuestionablePlugin : IDalamudPlugin serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection .AddTaskFactoryAndExecutor(); serviceCollection .AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactoryAndExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection.AddTaskFactory(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); @@ -179,7 +179,7 @@ public sealed class QuestionablePlugin : IDalamudPlugin serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskFactoryAndExecutor(); + serviceCollection.AddTaskFactoryAndExecutor(); serviceCollection .AddTaskFactoryAndExecutor(); @@ -194,7 +194,7 @@ public sealed class QuestionablePlugin : IDalamudPlugin serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor(); - serviceCollection.AddTaskExecutor(); + serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskFactory(); serviceCollection.AddTaskExecutor(); serviceCollection.AddTaskExecutor();