提交修改

This commit is contained in:
2025-10-20 00:00:56 +08:00
parent 983203f603
commit 4ee5d0885c
292 changed files with 14032 additions and 78 deletions

View File

@@ -7,4 +7,13 @@
{
public uint Key { get; }
}
public interface IConfigItemTable
{
public string Model { get; }
public string Quality { get; }
public string Icon { get; }
}
}

View File

@@ -21,6 +21,17 @@ namespace NBC
}
public static ILanguage Text => Inst.GetLanguageModule((int)LanguageModuleType.Text);
public static string Get(string key)
{
return Text.Get(key);
}
public static string Get(string key, params object[] args)
{
var format = string.Format(Text.Get(key), args);
return format;
}
public static void SetLanguage(this GObject child, string key, params object[] args)
{

View File

@@ -227,6 +227,10 @@ namespace FairyGUI
{
if (index >= 0 && index <= _children.Count)
{
if (child == null)
{
}
if (child.parent == this)
{
SetChildIndex(child, index);