mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 16:03:59 +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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user