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);
|
||||
}
|
||||
}
|
||||
@@ -43,6 +43,7 @@ public class WordTextEN
|
||||
public string Banner => "Gacha";
|
||||
public string Activity => "Activity";
|
||||
public string Elf => "Elf";
|
||||
public string Dress => "Outfit";
|
||||
|
||||
// server info
|
||||
public string Config => "Config File";
|
||||
@@ -208,7 +209,9 @@ public class GiveAllTextEN
|
||||
|
||||
public string Usage =>
|
||||
"Usage: /giveall weapon\n\n" +
|
||||
"Usage: /giveall stigmata";
|
||||
"Usage: /giveall stigmata\n\n" +
|
||||
"Usage: /giveall material\n\n" +
|
||||
"Usage: /giveall dress\n";
|
||||
|
||||
public string GiveAllItems => "Granted all {0}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user