Files
DanhengServer-OpenSource/Common/Data/Excel/CocoonConfigExcel.cs
2024-03-10 16:55:50 +08:00

28 lines
772 B
C#

using EggLink.DanhengServer.Util;
namespace EggLink.DanhengServer.Data.Excel
{
[ResourceEntity("CocoonConfig.json")]
public class CocoonConfigExcel : ExcelResource
{
public int ID { get; set; }
public int MappingInfoID { get; set; }
public int WorldLevel { get; set; }
public int PropID { get; set; }
public int StaminaCost { get; set; }
public int MaxWave { get; set; }
public List<int> StageIDList { get; set; } = [];
public List<int> DropList { get; set; } = [];
public override int GetId()
{
return (ID * 100) + WorldLevel;
}
public override void Loaded()
{
GameData.CocoonConfigData.Add(GetId(), this);
}
}
}