mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-12 13:04:33 +01:00
20 lines
449 B
C#
20 lines
449 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace KianaBH.Data.Excel;
|
|
|
|
[ResourceEntity("TutorialData.json")]
|
|
public class TutorialDataExcel : ExcelResource
|
|
{
|
|
[JsonPropertyName("id")] public uint Id { get; set; }
|
|
[JsonPropertyName("index")] public uint Index { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)Id;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.TutorialData.Add(GetId(), this);
|
|
}
|
|
} |