mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 10:43:59 +00:00
add interactable scene but cant switch yet
This commit is contained in:
24
Common/Data/Excel/ManifestationExcel.cs
Normal file
24
Common/Data/Excel/ManifestationExcel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("manifestation.json")]
|
||||
public class ManifestationExcel : ExcelResource
|
||||
{
|
||||
public uint Genre { get; set; }
|
||||
public uint Detail { get; set; }
|
||||
public uint Particular { get; set; }
|
||||
public uint Level { get; set; }
|
||||
public string I18n { get; set; } = "";
|
||||
[JsonProperty("profile")]public List<int> Profile { get; set; } = [];
|
||||
|
||||
public override uint GetId()
|
||||
{
|
||||
return (Genre << 24) | (Detail << 16) | (Particular << 8) | Level;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.ManifestationData.Add(GetId(), this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user