Minor style adjustments

master
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,5 +1,5 @@
namespace Gearsetter.GameData namespace Gearsetter.GameData;
{
internal enum EBaseParam : byte internal enum EBaseParam : byte
{ {
Strength = 1, Strength = 1,
@ -30,4 +30,3 @@
Gathering = 72, Gathering = 72,
Perception = 73, Perception = 73,
} }
}

View File

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

View File

@ -3,8 +3,8 @@ using System.Linq;
using Gearsetter.GameData; using Gearsetter.GameData;
using Lumina.Excel.GeneratedSheets; using Lumina.Excel.GeneratedSheets;
namespace Gearsetter.Model namespace Gearsetter.Model;
{
internal sealed class EquipmentStats internal sealed class EquipmentStats
{ {
private readonly Dictionary<EBaseParam, short> _values; private readonly Dictionary<EBaseParam, short> _values;
@ -32,4 +32,3 @@ namespace Gearsetter.Model
return v; return v;
} }
} }
}

View File

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