mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
27 lines
670 B
C#
27 lines
670 B
C#
using EggLink.DanhengServer.Enums.Scene;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("MazePlane.json", true)]
|
|
public class MazePlaneExcel : ExcelResource
|
|
{
|
|
public int PlaneID { get; set; }
|
|
public int WorldID { get; set; }
|
|
public int StartFloorID { get; set; }
|
|
public HashName PlaneName { get; set; } = new();
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public PlaneTypeEnum PlaneType { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return PlaneID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.MazePlaneData.Add(PlaneID, this);
|
|
}
|
|
} |