mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 13:24:34 +01:00
Init enter game
This commit is contained in:
25
Common/Data/Excel/ChapterGroupConfigExcel.cs
Normal file
25
Common/Data/Excel/ChapterGroupConfigExcel.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using KianaBH.Data.Config;
|
||||
|
||||
namespace KianaBH.Data.Excel;
|
||||
|
||||
[ResourceEntity("ChapterGroupConfig.json")]
|
||||
public class ChapterGroupConfigExcel : ExcelResource
|
||||
{
|
||||
public uint ID { get; set; }
|
||||
public uint GroupType { get; set; }
|
||||
public TimestampConfig? BeginShowTime { get; set; }
|
||||
public TimestampConfig? BeginTime { get; set; }
|
||||
public uint BeginShowLevel { get; set; }
|
||||
public List<uint> SiteList { get; set; } = [];
|
||||
public uint UnlockLevel { get; set; }
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return (int)ID;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.ChapterGroupConfigData.Add(GetId(), this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user