mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 06:43:57 +00:00
DreamCard can Enter
This commit is contained in:
20
Common/Data/Excel/DreamCardActivityExcel.cs
Normal file
20
Common/Data/Excel/DreamCardActivityExcel.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("dlc/DreamCard/activity.json")]
|
||||
public class DreamCardActivityExcel : ExcelResource
|
||||
{
|
||||
[JsonProperty("ID")] public uint ID { get; set; }
|
||||
[JsonProperty("StartTime")] public string StartTime { get; set; } = "";
|
||||
[JsonProperty("EndTime")] public string EndTime { get; set; } = "";
|
||||
[JsonProperty("Condition")] public string Condition { get; set; } = "";
|
||||
[JsonProperty("LevelListID")] public List<uint> LevelListID { get; set; } = [];
|
||||
|
||||
public override uint GetId() => ID;
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.DreamCardActivityData[ID] = this;
|
||||
}
|
||||
}
|
||||
@@ -58,6 +58,7 @@ public static class GameData
|
||||
public static Dictionary<ulong, MonsterCardExcel> MonsterCardData { get; private set; } = [];
|
||||
public static Dictionary<uint, FishingFoodExcel> FishingFoodData { get; private set; } = [];
|
||||
public static Dictionary<uint, VirCaptureTowerExcel> VirCaptureTowerData { get; private set; } = [];
|
||||
public static Dictionary<uint, DreamCardActivityExcel> DreamCardActivityData { get; private set; } = [];
|
||||
}
|
||||
|
||||
public static class GameResourceTemplateId
|
||||
|
||||
Reference in New Issue
Block a user