mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 13:24:34 +01:00
Init enter game
This commit is contained in:
22
Common/Data/Excel/AvatarSubSkillDataExcel.cs
Normal file
22
Common/Data/Excel/AvatarSubSkillDataExcel.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KianaBH.Data.Excel;
|
||||
|
||||
[ResourceEntity("AvatarSubSkillData.json")]
|
||||
public class AvatarSubSkillDataExcel : ExcelResource
|
||||
{
|
||||
[JsonPropertyName("skillId")] public int SkillId { get; set; }
|
||||
[JsonPropertyName("unlockScoin")] public int UnlockScoin { get; set; }
|
||||
[JsonPropertyName("maxLv")] public int MaxLv { get; set; }
|
||||
[JsonPropertyName("avatarSubSkillId")] public int AvatarSubSkillId { get; set; }
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return AvatarSubSkillId;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.AvatarSubSkillData.Add(AvatarSubSkillId, this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user