qstbak/LLib/LLib.Inventory/CofferHelper.cs
2026-08-17 20:29:32 +10:00

21 lines
422 B
C#

using Lumina.Excel.Sheets;
namespace LLib.Inventory;
public static class CofferHelper
{
public static bool IsGearCoffer(Item item)
{
ItemAction? valueNullable = item.ItemAction.ValueNullable;
if (!valueNullable.HasValue)
{
return false;
}
uint rowId = valueNullable.Value.RowId;
if ((rowId == 388 || rowId == 1085) ? true : false)
{
return item.ItemUICategory.RowId == 61;
}
return false;
}
}