mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 17:04:13 +00:00
ClimbTowerLogic_CheckCycleLevel TowerLevel_EnterLevel
This commit is contained in:
18
Common/Data/Excel/ClimbTowerTimeExcel.cs
Normal file
18
Common/Data/Excel/ClimbTowerTimeExcel.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("challenge/climbtower/climb_tower_time.json")]
|
||||
public class ClimbTowerTimeExcel : ExcelResource
|
||||
{
|
||||
[JsonProperty("ID")] public uint ID { get; set; }
|
||||
[JsonProperty("StartTime")] public string StartTime { get; set; } = "";
|
||||
[JsonProperty("EndTime")] public string EndTime { get; set; } = "";
|
||||
|
||||
public override uint GetId() => ID;
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.ClimbTowerTimeData[ID] = this;
|
||||
}
|
||||
}
|
||||
20
Common/Data/Excel/TowerLevelExcel.cs
Normal file
20
Common/Data/Excel/TowerLevelExcel.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("challenge/climbtower/level.json")]
|
||||
public class TowerLevelExcel : ExcelResource
|
||||
{
|
||||
[JsonProperty("ID")] public uint ID { get; set; }
|
||||
[JsonProperty("MapID")] public uint MapID { get; set; }
|
||||
[JsonProperty("FightID")] public uint FightID { get; set; }
|
||||
[JsonProperty("TaskPath")] public string TaskPath { get; set; } = "";
|
||||
[JsonProperty("ConsumeVigor")] public List<int> ConsumeVigor { get; set; } = [];
|
||||
|
||||
public override uint GetId() => ID;
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.TowerLevelData[ID] = this;
|
||||
}
|
||||
}
|
||||
@@ -33,6 +33,8 @@ public static class GameData
|
||||
public static Dictionary<uint, BossPvpBossChallengeExcel> BossPvpBossChallengeData { get; private set; } = [];
|
||||
public static Dictionary<uint, BossPvpBossExcel> BossPvpBossData { get; private set; } = [];
|
||||
public static Dictionary<uint, BossPvpNumExcel> BossPvpNumData { get; private set; } = [];
|
||||
public static Dictionary<uint, ClimbTowerTimeExcel> ClimbTowerTimeData { get; private set; } = [];
|
||||
public static Dictionary<uint, TowerLevelExcel> TowerLevelData { get; private set; } = [];
|
||||
public static Dictionary<uint, ProfileExcel> ProfileData { get; private set; } = [];
|
||||
public static Dictionary<uint, CardSkinPartsExcel> CardSkinPartsData { get; private set; } = [];
|
||||
public static Dictionary<uint, CallItemExcel> CallItemData { get; private set; } = [];
|
||||
|
||||
Reference in New Issue
Block a user