Files
DanhengServer-OpenSource/Common/Data/Excel/PlaneEventExcel.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

21 lines
518 B
C#

namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("PlaneEvent.json")]
public class PlaneEventExcel : ExcelResource
{
public int EventID { get; set; }
public int WorldLevel { get; set; }
public int Reward { get; set; }
public List<int> DropList { get; set; } = [];
public int StageID { get; set; }
public override int GetId()
{
return EventID * 10 + WorldLevel;
}
public override void Loaded()
{
GameData.PlaneEventData.Add(GetId(), this);
}
}