mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
25 lines
634 B
C#
25 lines
634 B
C#
using EggLink.DanhengServer.Enums.Rogue;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("RogueMagicAdventureRoom.json")]
|
|
public class RogueMagicAdventureRoomExcel : ExcelResource
|
|
{
|
|
public int ParamGroupID { get; set; }
|
|
public int RoomID { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public RogueAdventureGameplayTypeEnum AdventureType { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return RoomID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.RogueMagicAdventureRoomData.Add(RoomID, this);
|
|
}
|
|
} |