mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 13:54:43 +01:00
Init enter game
This commit is contained in:
26
Common/Data/Excel/StigmataDataExcel.cs
Normal file
26
Common/Data/Excel/StigmataDataExcel.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KianaBH.Data.Excel;
|
||||
|
||||
[ResourceEntity("StigmataData.json")]
|
||||
public class StigmataDataExcel : ExcelResource
|
||||
{
|
||||
public int ID { get; set; }
|
||||
[JsonPropertyName("maxLv")] public int MaxLv { get; set; }
|
||||
[JsonPropertyName("rarity")] public int Rarity { get; set; }
|
||||
[JsonPropertyName("maxRarity")] public int MaxRarity { get; set; }
|
||||
[JsonPropertyName("evoID")] public int EvoID { get; set; }
|
||||
[JsonPropertyName("quality")] public int Quality { get; set; }
|
||||
[JsonPropertyName("isSecurityProtect")] public bool IsSecurityProtect { get; set; }
|
||||
[JsonPropertyName("protect")] public bool Protect { get; set; }
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return ID;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.StigmataData.Add(ID, this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user