//------------------------------------------------------------------------------ // // 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 { /// /// 用于保存中文原content以及对应的国际化Key /// public sealed partial class TranslateCKBean : Luban.BeanBase { public TranslateCKBean(string Content, string Key) { this.Content = Content; this.Key = Key; PostInit(); } public TranslateCKBean(ByteBuf _buf) { Content = _buf.ReadString(); Key = _buf.ReadString(); // Localization Key Begin // Localization Key End PostInit(); } public static TranslateCKBean DeserializeTranslateCKBean(ByteBuf _buf) { return new TranslateCKBean(_buf); } /// /// 内容 /// public string Content { private set; get; } /// /// 对应Key /// public string Key { private set; get; } public const int __ID__ = 1171657446; public override int GetTypeId() => __ID__; public void ResolveRef(TablesComponent tables) { PostResolveRef(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "content:" + Content + "," + "key:" + Key + "," + "}"; } partial void PostInit(); partial void PostResolveRef(); } }