mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 04:03:58 +00:00
BattlePass
This commit is contained in:
23
Common/Data/Excel/BattlePassTimeExcel.cs
Normal file
23
Common/Data/Excel/BattlePassTimeExcel.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("battlepass/timelist.json")]
|
||||
public class BattlePassTimeExcel : ExcelResource
|
||||
{
|
||||
[JsonProperty("ID")] public uint Id { get; set; }
|
||||
[JsonProperty("StartTime")] public string StartTime { get; set; } = "";
|
||||
[JsonProperty("EndTime")] public string EndTime { get; set; } = "";
|
||||
[JsonProperty("BuyStartTime")] public string BuyStartTime { get; set; } = "";
|
||||
[JsonProperty("BuyEndTime")] public string BuyEndTime { get; set; } = "";
|
||||
[JsonProperty("Condition")] public string Condition { get; set; } = "";
|
||||
[JsonProperty("ExpStep")] public uint ExpStep { get; set; }
|
||||
[JsonProperty("MaxExPerWeek")] public uint MaxExPerWeek { get; set; }
|
||||
|
||||
public override uint GetId() => Id;
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.BattlePassTimeData[Id] = this;
|
||||
}
|
||||
}
|
||||
@@ -60,6 +60,7 @@ public static class GameData
|
||||
public static Dictionary<uint, VirCaptureTowerExcel> VirCaptureTowerData { get; private set; } = [];
|
||||
public static Dictionary<uint, DreamCardActivityExcel> DreamCardActivityData { get; private set; } = [];
|
||||
public static Dictionary<uint, DlcActivityExcel> DlcActivityData { get; private set; } = [];
|
||||
public static Dictionary<uint, BattlePassTimeExcel> BattlePassTimeData { get; private set; } = [];
|
||||
}
|
||||
|
||||
public static class GameResourceTemplateId
|
||||
|
||||
Reference in New Issue
Block a user