mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-16 06:44:41 +01:00
Init enter game
This commit is contained in:
19
Common/Data/Excel/FrameDataExcel.cs
Normal file
19
Common/Data/Excel/FrameDataExcel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KianaBH.Data.Excel;
|
||||
|
||||
[ResourceEntity("FrameData.json")]
|
||||
public class FrameDataExcel : ExcelResource
|
||||
{
|
||||
[JsonPropertyName("id")] public uint Id { get; set; }
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return (int)Id;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.FrameData.Add(GetId(), this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user