mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
31 lines
871 B
C#
31 lines
871 B
C#
using EggLink.DanhengServer.Enums.RogueMagic;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("RogueMagicArea.json")]
|
|
public class RogueMagicAreaExcel : ExcelResource
|
|
{
|
|
public int AreaID { get; set; }
|
|
public int ExtraLayerID { get; set; }
|
|
public List<int> LayerIDList { get; set; } = [];
|
|
public List<int> DifficultyIDList { get; set; } = [];
|
|
public int FirstReward { get; set; }
|
|
public int AreaIndex { get; set; }
|
|
public int UnlockID { get; set; }
|
|
public bool IsHard { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public RogueMagicAreaGroupIDEnum AreaGroupID { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return AreaID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.RogueMagicAreaData.Add(AreaID, this);
|
|
}
|
|
} |