mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 13:24:34 +01:00
Init enter game
This commit is contained in:
20
Common/Data/Excel/TutorialDataExcel.cs
Normal file
20
Common/Data/Excel/TutorialDataExcel.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user