Files
DanhengServer-OpenSource/Common/Data/Excel/ChallengePeakBossConfigExcel.cs
2025-08-15 20:17:39 +08:00

30 lines
788 B
C#

using EggLink.DanhengServer.Data.Custom;
using Newtonsoft.Json;
namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("ChallengePeakBossConfig.json")]
public class ChallengePeakBossConfigExcel : ExcelResource
{
public int ID { get; set; }
public int HardTarget { get; set; }
public int ColorMedalTarget { get; set; }
public List<int> HardEventIDList { get; set; } = [];
public List<int> HardTagList { get; set; } = [];
public List<int> BuffList { get; set; } = [];
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.ChallengePeakBossConfigData.TryAdd(ID, this);
}
public override void AfterAllDone()
{
GameData.ChallengePeakConfigData[ID].BossExcel = this;
}
}