mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-12 21:04:41 +01:00
19 lines
402 B
C#
19 lines
402 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace KianaBH.Data.Excel;
|
|
|
|
[ResourceEntity("CustomHeadData.json")]
|
|
public class CustomHeadDataExcel : ExcelResource
|
|
{
|
|
[JsonPropertyName("headID")] public uint HeadID { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)HeadID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.CustomHeadData.Add(GetId(), this);
|
|
}
|
|
} |