mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 05:44:34 +01:00
feat: add dress system
This commit is contained in:
@@ -5,16 +5,16 @@ namespace KianaBH.Data.Excel;
|
||||
[ResourceEntity("DressData.json")]
|
||||
public class DressDataExcel : ExcelResource
|
||||
{
|
||||
[JsonPropertyName("dressID")] public uint DressID { get; set; }
|
||||
[JsonPropertyName("avatarIDList")] public List<uint> AvatarIDList { get; set; } = [];
|
||||
[JsonPropertyName("dressID")] public int DressID { get; set; }
|
||||
[JsonPropertyName("avatarIDList")] public List<int> AvatarIDList { get; set; } = [];
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return (int)DressID;
|
||||
return DressID;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.DressData.Add(GetId(), this);
|
||||
GameData.DressData.Add(DressID, this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user