mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
24 lines
662 B
C#
24 lines
662 B
C#
using EggLink.DanhengServer.Enums.GridFight;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("GridFightAugment.json")]
|
|
public class GridFightAugmentExcel : ExcelResource
|
|
{
|
|
public uint ID { get; set; }
|
|
public uint CategoryID { get; set; }
|
|
public List<string> AugmentSavedValueList { get; set; } = [];
|
|
[JsonConverter(typeof(StringEnumConverter))] public GridFightAugmentQualityEnum Quality { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)ID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.GridFightAugmentData.TryAdd(ID, this);
|
|
}
|
|
} |