mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
34 lines
920 B
C#
34 lines
920 B
C#
using EggLink.DanhengServer.Enums.GridFight;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("GridFightEquipment.json")]
|
|
public class GridFightEquipmentExcel : ExcelResource
|
|
{
|
|
public uint ID { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public GridFightEquipCategoryEnum EquipCategory { get; set; }
|
|
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public GridFightEquipDressTypeEnum DressRule { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public GridFightEquipFuncTypeEnum EquipFunc { get; set; }
|
|
|
|
public List<uint> EquipFuncParamList { get; set; } = [];
|
|
public List<uint> DressRuleParamList { get; set; } = [];
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)ID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.GridFightEquipmentData.TryAdd(ID, this);
|
|
}
|
|
} |