Files
DanhengServer-OpenSource/Common/Data/Excel/CocoonConfigExcel.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

24 lines
652 B
C#

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);
}
}