Minor style adjustments
This commit is contained in:
parent
85349573d9
commit
c60c929502
@ -1,7 +1,7 @@
|
|||||||
namespace Gearsetter.GameData
|
namespace Gearsetter.GameData;
|
||||||
|
|
||||||
|
internal enum EBaseParam : byte
|
||||||
{
|
{
|
||||||
internal enum EBaseParam : byte
|
|
||||||
{
|
|
||||||
Strength = 1,
|
Strength = 1,
|
||||||
Dexterity = 2,
|
Dexterity = 2,
|
||||||
Vitality = 3,
|
Vitality = 3,
|
||||||
@ -29,5 +29,4 @@
|
|||||||
Control = 71,
|
Control = 71,
|
||||||
Gathering = 72,
|
Gathering = 72,
|
||||||
Perception = 73,
|
Perception = 73,
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -3,10 +3,10 @@ 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;
|
||||||
|
|
||||||
public EquipmentStats(Item item, bool hq)
|
public EquipmentStats(Item item, bool hq)
|
||||||
@ -31,5 +31,4 @@ namespace Gearsetter.Model
|
|||||||
_values.TryGetValue(param, out short v);
|
_values.TryGetValue(param, out short v);
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user