Basic functionality of VirCapture has been implemented.

This commit is contained in:
Kei-Luna
2026-05-24 09:17:32 +09:00
parent a50b0563be
commit 6b48c90783
8 changed files with 399 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
using Newtonsoft.Json;
namespace MikuSB.Data.Excel;
[ResourceEntity("item/templates/monster_card.json")]
public class MonsterCardExcel : ExcelResource
{
[JsonProperty("Genre")] public uint Genre { get; set; }
[JsonProperty("Detail")] public uint Detail { get; set; }
[JsonProperty("Particular")] public uint Particular { get; set; }
[JsonProperty("Level")] public uint Level { get; set; }
[JsonProperty("Color")] public uint Color { get; set; }
[JsonProperty("RikiId")] public uint RikiId { get; set; }
[JsonProperty("CostValue")] public uint CostValue { get; set; }
[JsonIgnore]
public ulong TemplateId => GameResourceTemplateId.FromGdpl(Genre, Detail, Particular, Level);
public override uint GetId() => Particular;
public override void Loaded()
{
GameData.MonsterCardData[TemplateId] = this;
}
}