AkiraPixelWind/Assets/Scripts/Main/LubanTables/Tables.cs
2022-12-29 18:20:40 +08:00

38 lines
1.0 KiB
C#

//------------------------------------------------------------------------------
// <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 Game.Config
{
public partial class Tables
{
public Config.TbConstMap TbConstMap {get; }
public Tables(System.Func<string, ByteBuf> loader)
{
var tables = new System.Collections.Generic.Dictionary<string, object>();
TbConstMap = new Config.TbConstMap(loader("config_tbconstmap"));
tables.Add("Config.TbConstMap", TbConstMap);
PostInit();
TbConstMap.Resolve(tables);
PostResolve();
}
public void TranslateText(System.Func<string, string, string> translator)
{
TbConstMap.TranslateText(translator);
}
partial void PostInit();
partial void PostResolve();
}
}