mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
30 lines
739 B
C#
30 lines
739 B
C#
using EggLink.DanhengServer.Data.Config;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("SubMission.json")]
|
|
public class SubMissionExcel : ExcelResource
|
|
{
|
|
public int SubMissionID { get; set; }
|
|
|
|
public HashName TargetText { get; set; } = new();
|
|
|
|
[JsonIgnore] public int MainMissionID { get; set; }
|
|
|
|
[JsonIgnore] public MissionInfo? MainMissionInfo { get; set; }
|
|
|
|
[JsonIgnore] public SubMissionInfo? SubMissionInfo { get; set; }
|
|
|
|
[JsonIgnore] public LevelGraphConfigInfo? SubMissionTaskInfo { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return SubMissionID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.SubMissionData[GetId()] = this;
|
|
}
|
|
} |