Code clean up

This commit is contained in:
Liza 2025-01-03 11:19:04 +01:00
parent e73d04ce2d
commit be3f22230b
Signed by: liza
GPG Key ID: 2C41B84815CF6445
2 changed files with 4 additions and 7 deletions

View File

@ -14,16 +14,16 @@ namespace Questionable.Controller.CombatModules;
internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable
{ {
private readonly ILogger<RotationSolverRebornModule> _logger; private readonly ILogger<RotationSolverRebornModule> _logger;
private readonly IClientState _clientState;
private readonly Configuration _configuration; private readonly Configuration _configuration;
private readonly ICallGateSubscriber<string, object> _test; private readonly ICallGateSubscriber<string, object> _test;
private readonly ICallGateSubscriber<StateCommandType, object> _changeOperationMode; private readonly ICallGateSubscriber<StateCommandType, object> _changeOperationMode;
public RotationSolverRebornModule(ILogger<RotationSolverRebornModule> logger, MovementController movementController, public RotationSolverRebornModule(
IClientState clientState, IDalamudPluginInterface pluginInterface, Configuration configuration) ILogger<RotationSolverRebornModule> logger,
IDalamudPluginInterface pluginInterface,
Configuration configuration)
{ {
_logger = logger; _logger = logger;
_clientState = clientState;
_configuration = configuration; _configuration = configuration;
_test = pluginInterface.GetIpcSubscriber<string, object>("RotationSolverReborn.Test"); _test = pluginInterface.GetIpcSubscriber<string, object>("RotationSolverReborn.Test");
_changeOperationMode = _changeOperationMode =

View File

@ -17,7 +17,6 @@ internal sealed class AlliedSocietyJournalComponent
private static readonly string[] RankNames = private static readonly string[] RankNames =
["Neutral", "Recognized", "Friendly", "Trusted", "Respected", "Honored", "Sworn", "Allied"]; ["Neutral", "Recognized", "Friendly", "Trusted", "Respected", "Honored", "Sworn", "Allied"];
private readonly QuestFunctions _questFunctions;
private readonly AlliedSocietyQuestFunctions _alliedSocietyQuestFunctions; private readonly AlliedSocietyQuestFunctions _alliedSocietyQuestFunctions;
private readonly QuestData _questData; private readonly QuestData _questData;
private readonly QuestRegistry _questRegistry; private readonly QuestRegistry _questRegistry;
@ -26,7 +25,6 @@ internal sealed class AlliedSocietyJournalComponent
private readonly UiUtils _uiUtils; private readonly UiUtils _uiUtils;
public AlliedSocietyJournalComponent( public AlliedSocietyJournalComponent(
QuestFunctions questFunctions,
AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, AlliedSocietyQuestFunctions alliedSocietyQuestFunctions,
QuestData questData, QuestData questData,
QuestRegistry questRegistry, QuestRegistry questRegistry,
@ -34,7 +32,6 @@ internal sealed class AlliedSocietyJournalComponent
QuestTooltipComponent questTooltipComponent, QuestTooltipComponent questTooltipComponent,
UiUtils uiUtils) UiUtils uiUtils)
{ {
_questFunctions = questFunctions;
_alliedSocietyQuestFunctions = alliedSocietyQuestFunctions; _alliedSocietyQuestFunctions = alliedSocietyQuestFunctions;
_questData = questData; _questData = questData;
_questRegistry = questRegistry; _questRegistry = questRegistry;