Files
DanhengServer-OpenSource/Common/Data/Excel/RogueMazeBuffExcel.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

24 lines
529 B
C#

using Newtonsoft.Json;
namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("RogueMazeBuff.json")]
public class RogueMazeBuffExcel : ExcelResource
{
[JsonIgnore] public string? Name;
public int ID { get; set; }
public int Lv { get; set; }
public int LvMax { get; set; }
public HashName BuffName { get; set; } = new();
public override int GetId()
{
return ID * 100 + Lv;
}
public override void Loaded()
{
GameData.RogueMazeBuffData.Add(GetId(), this);
}
}