mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
24 lines
652 B
C#
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);
|
|
}
|
|
} |