diff --git a/GatheringPathRenderer/RendererPlugin.cs b/GatheringPathRenderer/RendererPlugin.cs index f3c52afcf..b1ec75612 100644 --- a/GatheringPathRenderer/RendererPlugin.cs +++ b/GatheringPathRenderer/RendererPlugin.cs @@ -238,8 +238,10 @@ public sealed class RendererPlugin : IDalamudPlugin maximumAngle = x.MaximumAngle.GetValueOrDefault(); } +#if false var a = GatheringMath.CalculateLandingLocation(x, 0, 0); var b = GatheringMath.CalculateLandingLocation(x, 1, 1); +#endif return new List { new Element(isCone diff --git a/Questionable/Controller/GameUi/InteractionUiController.cs b/Questionable/Controller/GameUi/InteractionUiController.cs index a6f110608..64c178328 100644 --- a/Questionable/Controller/GameUi/InteractionUiController.cs +++ b/Questionable/Controller/GameUi/InteractionUiController.cs @@ -63,7 +63,6 @@ internal sealed class InteractionUiController : IDisposable QuestData questData, IGameGui gameGui, ITargetManager targetManager, - IFramework framework, IPluginLog pluginLog, IClientState clientState, ILogger logger) diff --git a/Questionable/Controller/GameUi/LeveUiController.cs b/Questionable/Controller/GameUi/LeveUiController.cs index 533d5d3c9..5dbedc72b 100644 --- a/Questionable/Controller/GameUi/LeveUiController.cs +++ b/Questionable/Controller/GameUi/LeveUiController.cs @@ -76,7 +76,7 @@ internal sealed class LeveUiController : IDisposable } } - private unsafe void GuildLevePostSetup(AddonEvent type, AddonArgs args) + private void GuildLevePostSetup(AddonEvent type, AddonArgs args) { var target = _targetManager.Target; if (target == null) @@ -85,8 +85,8 @@ internal sealed class LeveUiController : IDisposable if (_questController is { IsRunning: true, NextQuest: { Quest.Id: LeveId } nextQuest } && _questFunctions.IsReadyToAcceptQuest(nextQuest.Quest.Id)) { - var addon = (AddonGuildLeve*)args.Addon; /* + var addon = (AddonGuildLeve*)args.Addon; var atkValues = addon->AtkValues; var availableLeves = _questData.GetAllByIssuerDataId(target.DataId); diff --git a/Questionable/Controller/GatheringController.cs b/Questionable/Controller/GatheringController.cs index 4dfae6672..36a09a9fc 100644 --- a/Questionable/Controller/GatheringController.cs +++ b/Questionable/Controller/GatheringController.cs @@ -39,7 +39,6 @@ internal sealed unsafe class GatheringController : MiniTaskController logger, - IServiceProvider serviceProvider, ICondition condition, IDataManager dataManager, ILoggerFactory loggerFactory, @@ -76,7 +74,6 @@ internal sealed unsafe class GatheringController : MiniTaskController GetNextActions(NodeCondition nodeCondition, List slots) { - uint gp = clientState.LocalPlayer!.CurrentGp; + //uint gp = clientState.LocalPlayer!.CurrentGp; Queue actions = new(); if (!gameFunctions.HasStatus(StatusGatheringRateUp)) @@ -236,8 +236,10 @@ internal sealed class DoGather( public override string ToString() => $"DoGather{(revisitRequired ? " if revist" : "")}"; + [SuppressMessage("ReSharper", "NotAccessedPositionalProperty.Local")] private sealed record SlotInfo(int Index, uint ItemId, int GatheringChance, int BoonChance, int Quantity); + [SuppressMessage("ReSharper", "NotAccessedPositionalProperty.Local")] private sealed record NodeCondition( uint CurrentIntegrity, uint MaxIntegrity);