_wingHandler.cs 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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-07
  12. // * 用途= 翅膀处理器
  13. // ***************************************************************************
  14. // Generated from: wingHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"WingData")]
  20. public partial class WingData : global::ProtoBuf.IExtensible
  21. {
  22. public WingData() {}
  23. private int _currLevel;
  24. /// <summary>
  25. /// 当前品阶
  26. /// </summary>
  27. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"currLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  28. public int currLevel
  29. {
  30. get { return _currLevel; }
  31. set { _currLevel = value; }
  32. }
  33. private int _currStar;
  34. /// <summary>
  35. /// 当前星数
  36. /// </summary>
  37. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"currStar", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  38. public int currStar
  39. {
  40. get { return _currStar; }
  41. set { _currStar = value; }
  42. }
  43. private int _currExp;
  44. /// <summary>
  45. /// 当前经验
  46. /// </summary>
  47. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"currExp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  48. public int currExp
  49. {
  50. get { return _currExp; }
  51. set { _currExp = value; }
  52. }
  53. private int _currReiki;
  54. /// <summary>
  55. /// 当前灵气
  56. /// </summary>
  57. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"currReiki", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  58. public int currReiki
  59. {
  60. get { return _currReiki; }
  61. set { _currReiki = value; }
  62. }
  63. private int _fightPower;
  64. /// <summary>
  65. /// 当前战力
  66. /// </summary>
  67. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"fightPower", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  68. public int fightPower
  69. {
  70. get { return _fightPower; }
  71. set { _fightPower = value; }
  72. }
  73. private int _savedLevel = default(int);
  74. /// <summary>
  75. /// 保存品阶
  76. /// </summary>
  77. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"savedLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  78. [global::System.ComponentModel.DefaultValue(default(int))]
  79. public int savedLevel
  80. {
  81. get { return _savedLevel; }
  82. set { _savedLevel = value; }
  83. }
  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. /// <summary>
  90. /// 获取翅膀信息
  91. /// </summary>
  92. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetWingInfoRequest")]
  93. public partial class GetWingInfoRequest : global::ProtoBuf.IExtensible
  94. {
  95. public GetWingInfoRequest() {}
  96. private global::ProtoBuf.IExtension extensionObject;
  97. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  98. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  99. }
  100. //---------------------------------------------------------------------------------------
  101. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetWingInfoResponse")]
  102. public partial class GetWingInfoResponse : global::ProtoBuf.IExtensible
  103. {
  104. public GetWingInfoResponse() {}
  105. private int _s2c_code;
  106. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  107. public int s2c_code
  108. {
  109. get { return _s2c_code; }
  110. set { _s2c_code = value; }
  111. }
  112. private string _s2c_msg = "";
  113. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  114. [global::System.ComponentModel.DefaultValue("")]
  115. public string s2c_msg
  116. {
  117. get { return _s2c_msg; }
  118. set { _s2c_msg = value; }
  119. }
  120. private pomelo.area.WingData _s2c_wingData = null;
  121. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_wingData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  122. [global::System.ComponentModel.DefaultValue(null)]
  123. public pomelo.area.WingData s2c_wingData
  124. {
  125. get { return _s2c_wingData; }
  126. set { _s2c_wingData = value; }
  127. }
  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. /// <summary>
  134. /// 培养翅膀
  135. /// </summary>
  136. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TrainingWingRequest")]
  137. public partial class TrainingWingRequest : global::ProtoBuf.IExtensible
  138. {
  139. public TrainingWingRequest() {}
  140. private int _c2s_type;
  141. /// <summary>
  142. /// 1.灵气培养 2.道具培养
  143. /// </summary>
  144. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  145. public int c2s_type
  146. {
  147. get { return _c2s_type; }
  148. set { _c2s_type = value; }
  149. }
  150. private global::ProtoBuf.IExtension extensionObject;
  151. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  152. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  153. }
  154. //---------------------------------------------------------------------------------------
  155. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TrainingWingResponse")]
  156. public partial class TrainingWingResponse : global::ProtoBuf.IExtensible
  157. {
  158. public TrainingWingResponse() {}
  159. private int _s2c_code;
  160. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  161. public int s2c_code
  162. {
  163. get { return _s2c_code; }
  164. set { _s2c_code = value; }
  165. }
  166. private string _s2c_msg = "";
  167. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  168. [global::System.ComponentModel.DefaultValue("")]
  169. public string s2c_msg
  170. {
  171. get { return _s2c_msg; }
  172. set { _s2c_msg = value; }
  173. }
  174. private pomelo.area.WingData _s2c_wingData = null;
  175. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_wingData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  176. [global::System.ComponentModel.DefaultValue(null)]
  177. public pomelo.area.WingData s2c_wingData
  178. {
  179. get { return _s2c_wingData; }
  180. set { _s2c_wingData = value; }
  181. }
  182. private global::ProtoBuf.IExtension extensionObject;
  183. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  184. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  185. }
  186. //---------------------------------------------------------------------------------------
  187. /// <summary>
  188. /// 保存翅膀
  189. /// </summary>
  190. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SaveWingNotify")]
  191. public partial class SaveWingNotify : global::ProtoBuf.IExtensible
  192. {
  193. public SaveWingNotify() {}
  194. private int _c2s_wingLevel;
  195. /// <summary>
  196. /// 翅膀品阶
  197. /// </summary>
  198. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_wingLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  199. public int c2s_wingLevel
  200. {
  201. get { return _c2s_wingLevel; }
  202. set { _c2s_wingLevel = value; }
  203. }
  204. private global::ProtoBuf.IExtension extensionObject;
  205. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  206. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  207. }
  208. }