mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 06:14:35 +01:00
Init enter game
This commit is contained in:
21
Common/Data/Excel/ThemeDataAvatarExcel.cs
Normal file
21
Common/Data/Excel/ThemeDataAvatarExcel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KianaBH.Data.Excel;
|
||||
|
||||
[ResourceEntity("ThemeData_Avatar.json")]
|
||||
public class ThemeDataAvatarExcel : ExcelResource
|
||||
{
|
||||
public uint AvatarData { get; set; }
|
||||
public List<uint> BuffList { get; set; } = [];
|
||||
[JsonPropertyName("avatarIDList")] public List<uint> AvatarIDList { get; set; } = [];
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return (int)AvatarData;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.ThemeDataAvatar.Add(GetId(), this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user