//------------------------------------------------------------------------------
// <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();
}

}