mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
36 lines
933 B
C#
36 lines
933 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel
|
|
{
|
|
[ResourceEntity("AvatarPromotionConfig.json")]
|
|
public class AvatarPromotionConfigExcel : ExcelResource
|
|
{
|
|
public int AvatarID { get; set; }
|
|
public int Promotion { get; set; }
|
|
public int MaxLevel { get; set; }
|
|
public int PlayerLevelRequire { get; set; }
|
|
public int WorldLevelRequire { get; set; }
|
|
public List<ItemParam> PromotionCostList { get; set; } = [];
|
|
|
|
public override int GetId()
|
|
{
|
|
return AvatarID * 10 + Promotion;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.AvatarPromotionConfigData.Add(GetId(), this);
|
|
}
|
|
|
|
public class ItemParam
|
|
{
|
|
public int ItemID;
|
|
public int ItemNum;
|
|
}
|
|
}
|
|
}
|