Add consumable items

This commit is contained in:
Kei-Luna
2026-04-27 08:02:37 +09:00
parent 4ee9fd6908
commit a67e139eb1
3 changed files with 32 additions and 0 deletions

View File

@@ -13,10 +13,12 @@ public class SuppliesExcel : ExcelResource
[JsonProperty("Color")] public JToken? ColorRaw { get; set; }
[JsonProperty("ProvideExp")] public JToken? ProvideExpRaw { get; set; }
[JsonProperty("ConsumeGold")] public JToken? ConsumeGoldRaw { get; set; }
[JsonProperty("GMnum")] public JToken? GMnumRaw { get; set; }
[JsonIgnore] public int Color => ReadInt(ColorRaw);
[JsonIgnore] public uint ProvideExp => ReadUInt(ProvideExpRaw);
[JsonIgnore] public uint ConsumeGold => ReadUInt(ConsumeGoldRaw);
[JsonIgnore] public uint GMnum => ReadUInt(GMnumRaw);
public override uint GetId()
{