mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
24 lines
529 B
C#
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);
|
|
}
|
|
} |