mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
19 lines
497 B
C#
19 lines
497 B
C#
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("RogueMagicLayerRoom.json")]
|
|
public class RogueMagicLayerRoomExcel : ExcelResource
|
|
{
|
|
public int LayerID { get; set; }
|
|
public int RoomIndex { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return LayerID * 100 + RoomIndex;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
if (!GameData.RogueMagicLayerIdRoomCountDict.TryAdd(LayerID, 1))
|
|
GameData.RogueMagicLayerIdRoomCountDict[LayerID]++;
|
|
}
|
|
} |