mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
27 lines
688 B
C#
27 lines
688 B
C#
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("EquipmentPromotionConfig.json")]
|
|
public class EquipmentPromotionConfigExcel : ExcelResource
|
|
{
|
|
public int EquipmentID { get; set; }
|
|
public int Promotion { get; set; }
|
|
public int MaxLevel { get; set; }
|
|
public int WorldLevelRequire { get; set; }
|
|
public List<ItemParam> PromotionCostList { get; set; } = [];
|
|
|
|
public override int GetId()
|
|
{
|
|
return EquipmentID * 10 + Promotion;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.EquipmentPromotionConfigData.Add(GetId(), this);
|
|
}
|
|
|
|
public class ItemParam
|
|
{
|
|
public int ItemID;
|
|
public int ItemNum;
|
|
}
|
|
} |