mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-12 13:04:33 +01:00
27 lines
774 B
C#
27 lines
774 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace KianaBH.Data.Excel;
|
|
|
|
[ResourceEntity("AvatarData.json")]
|
|
public class AvatarDataExcel : ExcelResource
|
|
{
|
|
[JsonPropertyName("avatarID")] public int AvatarID { get; set; }
|
|
[JsonPropertyName("unlockStar")] public int UnlockStar { get; set; }
|
|
[JsonPropertyName("initialWeapon")] public int InitialWeapon { get; set; }
|
|
[JsonPropertyName("skillList")] public List<int> SkillList { get; set; } = [];
|
|
public int DefaultDressId { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return AvatarID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
if (AvatarID != 316 && (AvatarID < 9000 || AvatarID > 20000))
|
|
{
|
|
GameData.AvatarData.Add(AvatarID, this);
|
|
}
|
|
|
|
}
|
|
} |