//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
using AlicizaX.Config;
namespace Game.Config.Tables
{
public sealed partial class Localization : Luban.BeanBase
{
public Localization(string Key, string ChineseSimplified, string English, string Japanese)
{
this.Key = Key;
this.ChineseSimplified = ChineseSimplified;
this.English = English;
this.Japanese = Japanese;
PostInit();
}
public Localization(ByteBuf _buf)
{
Key = _buf.ReadString();
ChineseSimplified = _buf.ReadString();
English = _buf.ReadString();
Japanese = _buf.ReadString();
// Localization Key Begin
// Localization Key End
PostInit();
}
public static Localization DeserializeLocalization(ByteBuf _buf)
{
return new Tables.Localization(_buf);
}
///
/// ID
///
public string Key { private set; get; }
///
/// 简体中心
///
public string ChineseSimplified { private set; get; }
///
/// 英语
///
public string English { private set; get; }
///
/// 日语
///
public string Japanese { private set; get; }
public const int __ID__ = -1595794558;
public override int GetTypeId() => __ID__;
public void ResolveRef(TablesComponent tables)
{
PostResolveRef();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "key:" + Key + ","
+ "ChineseSimplified:" + ChineseSimplified + ","
+ "English:" + English + ","
+ "Japanese:" + Japanese + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}