TheInitialProject/Assets/Scripts/LubanTables/Tables.cs

38 lines
1.0 KiB
C#
Raw Normal View History

2024-10-23 16:59:02 +08:00
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Bright.Serialization;
namespace Cfg
{
public partial class Tables
{
public Config.TbTestMap TbTestMap {get; }
public Tables(System.Func<string, ByteBuf> loader)
{
var tables = new System.Collections.Generic.Dictionary<string, object>();
TbTestMap = new Config.TbTestMap(loader("config_tbtestmap"));
tables.Add("Config.TbTestMap", TbTestMap);
PostInit();
TbTestMap.Resolve(tables);
PostResolve();
}
public void TranslateText(System.Func<string, string, string> translator)
{
TbTestMap.TranslateText(translator);
}
partial void PostInit();
partial void PostResolve();
}
}