mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
25 lines
585 B
C#
25 lines
585 B
C#
using EggLink.DanhengServer.Enums.GridFight;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("GridFightOrb.json")]
|
|
public class GridFightOrbExcel : ExcelResource
|
|
{
|
|
public uint BonusID { get; set; }
|
|
public uint OrbID { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public GridFightOrbTypeEnum Type { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return (int)OrbID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.GridFightOrbData.TryAdd(OrbID, this);
|
|
}
|
|
} |