mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
34 lines
785 B
C#
34 lines
785 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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; }
|
|
}
|
|
}
|