mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
34 lines
975 B
C#
34 lines
975 B
C#
using EggLink.DanhengServer.Enums.Avatar;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("AvatarRelicRecommend.json")]
|
|
public class AvatarRelicRecommendExcel : ExcelResource
|
|
{
|
|
public uint AvatarID { get; set; }
|
|
public List<uint> Set4IDList { get; set; } = [];
|
|
public List<uint> Set2IDList { get; set; } = [];
|
|
public List<uint> ScoreRankList { get; set; } = [];
|
|
public List<AvatarRelicRecommendMainAffix> PropertyList { get; set; } = [];
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)AvatarID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.AvatarRelicRecommendData.TryAdd(AvatarID, this);
|
|
}
|
|
}
|
|
|
|
public class AvatarRelicRecommendMainAffix
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public RelicTypeEnum RelicType { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public AvatarPropertyTypeEnum PropertyType { get; set; }
|
|
} |