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