mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-12 13:04:33 +01:00
26 lines
841 B
C#
26 lines
841 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace KianaBH.Data.Excel;
|
|
|
|
[ResourceEntity("WeaponData.json")]
|
|
public class WeaponDataExcel : ExcelResource
|
|
{
|
|
public int ID { get; set; }
|
|
[JsonPropertyName("weaponMainID")] public int WeaponMainID { 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("protect")] public bool Protect { get; set; }
|
|
[JsonPropertyName("displayTitle")] public HashName DisplayTitle { get; set; } = new();
|
|
|
|
public override int GetId()
|
|
{
|
|
return ID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.WeaponData.Add(ID, this);
|
|
}
|
|
} |