mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 09:03:58 +00:00
Implement TowerEvent
This commit is contained in:
20
Common/Data/Excel/TowerEventLevelExcel.cs
Normal file
20
Common/Data/Excel/TowerEventLevelExcel.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("challenge/tower_event/level.json")]
|
||||
public class TowerEventLevelExcel : 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.TowerEventLevelData[ID] = this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user