Minor style adjustments

This commit is contained in:
Liza 2024-06-18 01:06:37 +02:00
parent 85349573d9
commit c60c929502
Signed by: liza
GPG Key ID: 7199F8D727D55F67
4 changed files with 48 additions and 49 deletions

View File

@ -1,7 +1,7 @@
namespace Gearsetter.GameData
namespace Gearsetter.GameData;
internal enum EBaseParam : byte
{
internal enum EBaseParam : byte
{
Strength = 1,
Dexterity = 2,
Vitality = 3,
@ -29,5 +29,4 @@
Control = 71,
Gathering = 72,
Perception = 73,
}
}

View File

@ -264,7 +264,7 @@ public sealed class GearsetterPlugin : IDalamudPlugin
})
.Take(gearsetItem.Length)
.ToList();
_pluginLog.Information(
_pluginLog.Debug(
$"{equipSlotCategory}: {string.Join(" ", currentItems.Select(x => $"{x?.ItemId}|{x?.Hq}"))}");
foreach (var currentItem in currentItems)
{

View File

@ -3,10 +3,10 @@ using System.Linq;
using Gearsetter.GameData;
using Lumina.Excel.GeneratedSheets;
namespace Gearsetter.Model
namespace Gearsetter.Model;
internal sealed class EquipmentStats
{
internal sealed class EquipmentStats
{
private readonly Dictionary<EBaseParam, short> _values;
public EquipmentStats(Item item, bool hq)
@ -31,5 +31,4 @@ namespace Gearsetter.Model
_values.TryGetValue(param, out short v);
return v;
}
}
}

View File

@ -154,6 +154,7 @@ internal sealed class EquipmentBrowserWindow : Window
2 => ImGuiColors.ParsedGreen,
3 => ImGuiColors.ParsedBlue,
4 => ImGuiColors.ParsedPurple,
7 => ImGuiColors.ParsedPink,
_ => null,
};