_upLevelHandler.cs 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. // ***************************************************************************
  10. // * 作者= 张君俊
  11. // * 创建时间= 2016-01-14
  12. // * 用途= 进阶处理器
  13. // ***************************************************************************
  14. // Generated from: upLevelHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpData")]
  20. public partial class UpData : global::ProtoBuf.IExtensible
  21. {
  22. public UpData() {}
  23. private int _level;
  24. /// <summary>
  25. /// 当前人物等级
  26. /// </summary>
  27. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  28. public int level
  29. {
  30. get { return _level; }
  31. set { _level = value; }
  32. }
  33. private int _upLevel;
  34. /// <summary>
  35. /// 当前进阶等级
  36. /// </summary>
  37. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"upLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  38. public int upLevel
  39. {
  40. get { return _upLevel; }
  41. set { _upLevel = value; }
  42. }
  43. private int _reqLevel;
  44. /// <summary>
  45. /// 要求人物等级
  46. /// </summary>
  47. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"reqLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  48. public int reqLevel
  49. {
  50. get { return _reqLevel; }
  51. set { _reqLevel = value; }
  52. }
  53. private int _downLevel;
  54. /// <summary>
  55. /// 进阶后的人物等级
  56. /// </summary>
  57. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"downLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  58. public int downLevel
  59. {
  60. get { return _downLevel; }
  61. set { _downLevel = value; }
  62. }
  63. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _attrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  64. /// <summary>
  65. /// 进阶前后属性
  66. /// </summary>
  67. [global::ProtoBuf.ProtoMember(5, Name=@"attrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  68. public global::System.Collections.Generic.List<pomelo.AttributeBase> attrs
  69. {
  70. get { return _attrs; }
  71. }
  72. private global::ProtoBuf.IExtension extensionObject;
  73. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  74. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  75. }
  76. //---------------------------------------------------------------------------------------
  77. /// <summary>
  78. /// 进阶界面
  79. /// </summary>
  80. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpInfoRequest")]
  81. public partial class UpInfoRequest : global::ProtoBuf.IExtensible
  82. {
  83. public UpInfoRequest() {}
  84. private global::ProtoBuf.IExtension extensionObject;
  85. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  86. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  87. }
  88. //---------------------------------------------------------------------------------------
  89. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpInfoResponse")]
  90. public partial class UpInfoResponse : global::ProtoBuf.IExtensible
  91. {
  92. public UpInfoResponse() {}
  93. private int _s2c_code;
  94. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  95. public int s2c_code
  96. {
  97. get { return _s2c_code; }
  98. set { _s2c_code = value; }
  99. }
  100. private string _s2c_msg = "";
  101. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  102. [global::System.ComponentModel.DefaultValue("")]
  103. public string s2c_msg
  104. {
  105. get { return _s2c_msg; }
  106. set { _s2c_msg = value; }
  107. }
  108. private pomelo.area.UpData _s2c_upData = null;
  109. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_upData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  110. [global::System.ComponentModel.DefaultValue(null)]
  111. public pomelo.area.UpData s2c_upData
  112. {
  113. get { return _s2c_upData; }
  114. set { _s2c_upData = value; }
  115. }
  116. private global::ProtoBuf.IExtension extensionObject;
  117. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  118. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  119. }
  120. //---------------------------------------------------------------------------------------
  121. /// <summary>
  122. /// 进阶
  123. /// </summary>
  124. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpLevelRequest")]
  125. public partial class UpLevelRequest : global::ProtoBuf.IExtensible
  126. {
  127. public UpLevelRequest() {}
  128. private global::ProtoBuf.IExtension extensionObject;
  129. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  130. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  131. }
  132. //---------------------------------------------------------------------------------------
  133. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpLevelResponse")]
  134. public partial class UpLevelResponse : global::ProtoBuf.IExtensible
  135. {
  136. public UpLevelResponse() {}
  137. private int _s2c_code;
  138. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  139. public int s2c_code
  140. {
  141. get { return _s2c_code; }
  142. set { _s2c_code = value; }
  143. }
  144. private string _s2c_msg = "";
  145. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  146. [global::System.ComponentModel.DefaultValue("")]
  147. public string s2c_msg
  148. {
  149. get { return _s2c_msg; }
  150. set { _s2c_msg = value; }
  151. }
  152. private int _s2c_hasNext = default(int);
  153. /// <summary>
  154. /// 是否有下一阶 0-无 1-有
  155. /// </summary>
  156. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_hasNext", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  157. [global::System.ComponentModel.DefaultValue(default(int))]
  158. public int s2c_hasNext
  159. {
  160. get { return _s2c_hasNext; }
  161. set { _s2c_hasNext = value; }
  162. }
  163. private pomelo.area.UpData _s2c_upData = null;
  164. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_upData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  165. [global::System.ComponentModel.DefaultValue(null)]
  166. public pomelo.area.UpData s2c_upData
  167. {
  168. get { return _s2c_upData; }
  169. set { _s2c_upData = value; }
  170. }
  171. private global::ProtoBuf.IExtension extensionObject;
  172. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  173. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  174. }
  175. }