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

26 lines
581 B
C#

namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("ItemComposeConfig.json")]
public class ItemComposeConfigExcel : ExcelResource
{
public int ID { get; set; }
public int ItemID { get; set; }
public int CoinCost { get; set; }
public List<MaterialItem> MaterialCost { get; set; } = [];
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.ItemComposeConfigData[ID] = this;
}
}
public class MaterialItem
{
public int ItemID { get; set; }
public int ItemNum { get; set; }
}