mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
23 lines
620 B
C#
23 lines
620 B
C#
using EggLink.DanhengServer.Enums.GridFight;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("GridFightAffixConfig.json")]
|
|
public class GridFightAffixConfigExcel : ExcelResource
|
|
{
|
|
public uint ID { get; set; }
|
|
public List<uint> RuleParamList { get; set; } = [];
|
|
[JsonConverter(typeof(StringEnumConverter))] public GridFightAffixRuleEnum AffixRule { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)ID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.GridFightAffixConfigData.TryAdd(ID, this);
|
|
}
|
|
} |