mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
30 lines
873 B
C#
30 lines
873 B
C#
using EggLink.DanhengServer.Enums.Mission;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("HeartDialScript.json")]
|
|
public class HeartDialScriptExcel : ExcelResource
|
|
{
|
|
public int ScriptID { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public HeartDialEmoTypeEnum DefaultEmoType { get; set; } = HeartDialEmoTypeEnum.Peace;
|
|
|
|
[JsonProperty(ItemConverterType = typeof(StringEnumConverter))]
|
|
public List<HeartDialStepTypeEnum> StepList { get; set; } = [];
|
|
|
|
[JsonProperty(ItemConverterType = typeof(StringEnumConverter))]
|
|
public List<HeartDialEmoTypeEnum> MissingEmoList { get; set; } = [];
|
|
|
|
public override int GetId()
|
|
{
|
|
return ScriptID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.HeartDialScriptData[ScriptID] = this;
|
|
}
|
|
} |