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