Files
DanhengServer-OpenSource/Common/Data/Excel/AvatarConfigExcel.cs
2024-03-23 22:17:00 +08:00

24 lines
588 B
C#

using Newtonsoft.Json;
namespace EggLink.DanhengServer.Data.Excel
{
[ResourceEntity("AvatarConfig.json", true)]
public class AvatarConfigExcel : ExcelResource
{
public int AvatarID { get; set; } = 0;
public HashName AvatarName { get; set; } = new();
[JsonIgnore()]
public List<AvatarSkillTreeConfigExcel> DefaultSkillTree = [];
public override int GetId()
{
return AvatarID;
}
public override void Loaded()
{
GameData.AvatarConfigData.Add(AvatarID, this);
}
}
}