You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			56 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
		
		
			
		
	
	
			56 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
| 
											2 years ago
										 | 
 | ||
|  | //------------------------------------------------------------------------------ | ||
|  | // <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; | ||
|  | 
 | ||
|  | 
 | ||
|  | namespace cfg | ||
|  | { | ||
|  | public sealed partial class ItemExchange : Luban.BeanBase | ||
|  | { | ||
|  |     public ItemExchange(ByteBuf _buf)  | ||
|  |     { | ||
|  |         Id = _buf.ReadInt(); | ||
|  |         Num = _buf.ReadInt(); | ||
|  |     } | ||
|  | 
 | ||
|  |     public static ItemExchange DeserializeItemExchange(ByteBuf _buf) | ||
|  |     { | ||
|  |         return new ItemExchange(_buf); | ||
|  |     } | ||
|  | 
 | ||
|  |     /// <summary> | ||
|  |     /// 道具id | ||
|  |     /// </summary> | ||
|  |     public readonly int Id; | ||
|  |     /// <summary> | ||
|  |     /// 道具数量 | ||
|  |     /// </summary> | ||
|  |     public readonly int Num; | ||
|  |     | ||
|  |     public const int __ID__ = -1512440202; | ||
|  |     public override int GetTypeId() => __ID__; | ||
|  | 
 | ||
|  |     public  void ResolveRef(Tables tables) | ||
|  |     { | ||
|  |          | ||
|  |          | ||
|  |     } | ||
|  | 
 | ||
|  |     public override string ToString() | ||
|  |     { | ||
|  |         return "{ " | ||
|  |         + "id:" + Id + "," | ||
|  |         + "num:" + Num + "," | ||
|  |         + "}"; | ||
|  |     } | ||
|  | } | ||
|  | 
 | ||
|  | } |