mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
25 lines
652 B
C#
25 lines
652 B
C#
using EggLink.DanhengServer.Enums.Avatar;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("UpgradeAvatarEquipment.json")]
|
|
public class UpgradeAvatarEquipmentExcel : ExcelResource
|
|
{
|
|
[JsonProperty("ELADHEIOONA")] public uint EquipmentId { get; set; }
|
|
|
|
[JsonProperty("FJIFJPGEJID")]
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public AvatarBaseTypeEnum BaseType { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)BaseType;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.UpgradeAvatarEquipmentData.TryAdd(BaseType, this);
|
|
}
|
|
} |