mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
using EggLink.DanhengServer.Enums.Mission;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel
|
|
{
|
|
[ResourceEntity("StoryLine.json")]
|
|
public class StoryLineExcel : ExcelResource
|
|
{
|
|
public int StoryLineID { get; set; }
|
|
public StoryLineCondition EndCondition { get; set; } = new();
|
|
public int InitEntranceID { get; set; }
|
|
public int InitGroupID { get; set; }
|
|
public int InitAnchorID { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return StoryLineID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.StoryLineData[StoryLineID] = this;
|
|
}
|
|
}
|
|
|
|
public class StoryLineCondition
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public StoryLineConditionTypeEnum Type { get; set; } = new();
|
|
public int Param { get; set; }
|
|
}
|
|
}
|