mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
26 lines
634 B
C#
26 lines
634 B
C#
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("StoryLineFloorData.json")]
|
|
public class StoryLineFloorDataExcel : ExcelResource
|
|
{
|
|
public int FloorID { get; set; }
|
|
public int StoryLineID { get; set; }
|
|
public int DimensionID { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return FloorID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.StoryLineFloorDataData.TryGetValue(StoryLineID, out var data);
|
|
if (data == null)
|
|
{
|
|
data = [];
|
|
GameData.StoryLineFloorDataData.Add(StoryLineID, data);
|
|
}
|
|
|
|
data.Add(FloorID, this);
|
|
}
|
|
} |