73 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			1.8 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;
 | |
| using System.Collections.Generic;
 | |
| 
 | |
| 
 | |
| namespace Config.config
 | |
| {
 | |
| public sealed partial class Language :  Bright.Config.BeanBase 
 | |
| {
 | |
|     public Language(ByteBuf _buf) 
 | |
|     {
 | |
|         Id = _buf.ReadString();
 | |
|         Chinese = _buf.ReadString();
 | |
|         Japanese = _buf.ReadString();
 | |
|         English = _buf.ReadString();
 | |
|         PostInit();
 | |
|     }
 | |
| 
 | |
|     public static Language DeserializeLanguage(ByteBuf _buf)
 | |
|     {
 | |
|         return new config.Language(_buf);
 | |
|     }
 | |
| 
 | |
|     /// <summary>
 | |
|     /// id
 | |
|     /// </summary>
 | |
|     public string Id { get; private set; }
 | |
|     /// <summary>
 | |
|     /// 中文
 | |
|     /// </summary>
 | |
|     public string Chinese { get; private set; }
 | |
|     /// <summary>
 | |
|     /// 日文
 | |
|     /// </summary>
 | |
|     public string Japanese { get; private set; }
 | |
|     /// <summary>
 | |
|     /// 英文
 | |
|     /// </summary>
 | |
|     public string English { get; private set; }
 | |
| 
 | |
|     public const int __ID__ = -546574172;
 | |
|     public override int GetTypeId() => __ID__;
 | |
| 
 | |
|     public  void Resolve(Dictionary<string, object> _tables)
 | |
|     {
 | |
|         PostResolve();
 | |
|     }
 | |
| 
 | |
|     public  void TranslateText(System.Func<string, string, string> translator)
 | |
|     {
 | |
|     }
 | |
| 
 | |
|     public override string ToString()
 | |
|     {
 | |
|         return "{ "
 | |
|         + "Id:" + Id + ","
 | |
|         + "Chinese:" + Chinese + ","
 | |
|         + "Japanese:" + Japanese + ","
 | |
|         + "English:" + English + ","
 | |
|         + "}";
 | |
|     }
 | |
|     
 | |
|     partial void PostInit();
 | |
|     partial void PostResolve();
 | |
| }
 | |
| 
 | |
| } |