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

27 lines
653 B
C#

using Newtonsoft.Json;
namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("SpecialAvatarRelic.json")]
public class SpecialAvatarRelicExcel : ExcelResource
{
public int RelicPropertyType { get; set; }
public List<SpecialAvatarRelicInfo> RelicIDList { get; set; } = [];
public override int GetId()
{
return RelicPropertyType;
}
public override void Loaded()
{
GameData.SpecialAvatarRelicData[GetId()] = this;
}
}
public class SpecialAvatarRelicInfo
{
[JsonProperty("BDHIKPAMCJF")] public int RelicID { get; set; }
[JsonProperty("PKAFFFBFJII")] public int RelicLevel { get; set; }
}