88 lines
2.4 KiB
C#
88 lines
2.4 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 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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
public string Key { private set; get; }
|
|
/// <summary>
|
|
/// 简体中心
|
|
/// </summary>
|
|
public string ChineseSimplified { private set; get; }
|
|
/// <summary>
|
|
/// 英语
|
|
/// </summary>
|
|
public string English { private set; get; }
|
|
/// <summary>
|
|
/// 日语
|
|
/// </summary>
|
|
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<string, string, string> translator)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "key:" + Key + ","
|
|
+ "ChineseSimplified:" + ChineseSimplified + ","
|
|
+ "English:" + English + ","
|
|
+ "Japanese:" + Japanese + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolveRef();
|
|
}
|
|
}
|