_vitalityHandler.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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-09-08
  12. // * 用途= 活跃度处理器
  13. // ***************************************************************************
  14. // Generated from: vitalityHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetVitalityListRequest")]
  19. public partial class GetVitalityListRequest : global::ProtoBuf.IExtensible
  20. {
  21. public GetVitalityListRequest() {}
  22. private global::ProtoBuf.IExtension extensionObject;
  23. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  24. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  25. }
  26. //---------------------------------------------------------------------------------------
  27. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VitalityInfo")]
  28. public partial class VitalityInfo : global::ProtoBuf.IExtensible
  29. {
  30. public VitalityInfo() {}
  31. private int _id;
  32. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  33. public int id
  34. {
  35. get { return _id; }
  36. set { _id = value; }
  37. }
  38. private int _currCount;
  39. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"currCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. public int currCount
  41. {
  42. get { return _currCount; }
  43. set { _currCount = value; }
  44. }
  45. private int _maxCount;
  46. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"maxCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  47. public int maxCount
  48. {
  49. get { return _maxCount; }
  50. set { _maxCount = value; }
  51. }
  52. private global::ProtoBuf.IExtension extensionObject;
  53. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  54. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  55. }
  56. //---------------------------------------------------------------------------------------
  57. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AwardInfo")]
  58. public partial class AwardInfo : global::ProtoBuf.IExtensible
  59. {
  60. public AwardInfo() {}
  61. private int _id;
  62. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  63. public int id
  64. {
  65. get { return _id; }
  66. set { _id = value; }
  67. }
  68. private int _state;
  69. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  70. public int state
  71. {
  72. get { return _state; }
  73. set { _state = value; }
  74. }
  75. private global::ProtoBuf.IExtension extensionObject;
  76. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  77. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  78. }
  79. //---------------------------------------------------------------------------------------
  80. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetVitalityListResponse")]
  81. public partial class GetVitalityListResponse : global::ProtoBuf.IExtensible
  82. {
  83. public GetVitalityListResponse() {}
  84. private int _s2c_code;
  85. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  86. public int s2c_code
  87. {
  88. get { return _s2c_code; }
  89. set { _s2c_code = value; }
  90. }
  91. private int _s2c_totalCurrCount;
  92. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"s2c_totalCurrCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  93. public int s2c_totalCurrCount
  94. {
  95. get { return _s2c_totalCurrCount; }
  96. set { _s2c_totalCurrCount = value; }
  97. }
  98. private int _s2c_totalMaxCount;
  99. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"s2c_totalMaxCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  100. public int s2c_totalMaxCount
  101. {
  102. get { return _s2c_totalMaxCount; }
  103. set { _s2c_totalMaxCount = value; }
  104. }
  105. private string _s2c_msg = "";
  106. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  107. [global::System.ComponentModel.DefaultValue("")]
  108. public string s2c_msg
  109. {
  110. get { return _s2c_msg; }
  111. set { _s2c_msg = value; }
  112. }
  113. private readonly global::System.Collections.Generic.List<pomelo.area.VitalityInfo> _s2c_vitalityList = new global::System.Collections.Generic.List<pomelo.area.VitalityInfo>();
  114. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_vitalityList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  115. public global::System.Collections.Generic.List<pomelo.area.VitalityInfo> s2c_vitalityList
  116. {
  117. get { return _s2c_vitalityList; }
  118. }
  119. private readonly global::System.Collections.Generic.List<pomelo.area.AwardInfo> _s2c_awardList = new global::System.Collections.Generic.List<pomelo.area.AwardInfo>();
  120. [global::ProtoBuf.ProtoMember(6, Name=@"s2c_awardList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  121. public global::System.Collections.Generic.List<pomelo.area.AwardInfo> s2c_awardList
  122. {
  123. get { return _s2c_awardList; }
  124. }
  125. private global::ProtoBuf.IExtension extensionObject;
  126. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  127. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  128. }
  129. //---------------------------------------------------------------------------------------
  130. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetVitalityRewardRequest")]
  131. public partial class GetVitalityRewardRequest : global::ProtoBuf.IExtensible
  132. {
  133. public GetVitalityRewardRequest() {}
  134. private int _c2s_rewardId;
  135. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_rewardId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  136. public int c2s_rewardId
  137. {
  138. get { return _c2s_rewardId; }
  139. set { _c2s_rewardId = value; }
  140. }
  141. private global::ProtoBuf.IExtension extensionObject;
  142. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  143. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  144. }
  145. //---------------------------------------------------------------------------------------
  146. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetVitalityRewardResponse")]
  147. public partial class GetVitalityRewardResponse : global::ProtoBuf.IExtensible
  148. {
  149. public GetVitalityRewardResponse() {}
  150. private int _s2c_code;
  151. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  152. public int s2c_code
  153. {
  154. get { return _s2c_code; }
  155. set { _s2c_code = value; }
  156. }
  157. private string _s2c_msg = "";
  158. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  159. [global::System.ComponentModel.DefaultValue("")]
  160. public string s2c_msg
  161. {
  162. get { return _s2c_msg; }
  163. set { _s2c_msg = value; }
  164. }
  165. private global::ProtoBuf.IExtension extensionObject;
  166. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  167. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  168. }
  169. //---------------------------------------------------------------------------------------
  170. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetRecommendPlayListRequest")]
  171. public partial class GetRecommendPlayListRequest : global::ProtoBuf.IExtensible
  172. {
  173. public GetRecommendPlayListRequest() {}
  174. private global::ProtoBuf.IExtension extensionObject;
  175. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  176. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  177. }
  178. //---------------------------------------------------------------------------------------
  179. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RecommendPlayInfo")]
  180. public partial class RecommendPlayInfo : global::ProtoBuf.IExtensible
  181. {
  182. public RecommendPlayInfo() {}
  183. private int _id;
  184. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  185. public int id
  186. {
  187. get { return _id; }
  188. set { _id = value; }
  189. }
  190. private int _maxTime;
  191. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"maxTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  192. public int maxTime
  193. {
  194. get { return _maxTime; }
  195. set { _maxTime = value; }
  196. }
  197. private int _remainTime;
  198. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"remainTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  199. public int remainTime
  200. {
  201. get { return _remainTime; }
  202. set { _remainTime = 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. //---------------------------------------------------------------------------------------
  209. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetRecommendPlayListResponse")]
  210. public partial class GetRecommendPlayListResponse : global::ProtoBuf.IExtensible
  211. {
  212. public GetRecommendPlayListResponse() {}
  213. private int _s2c_code;
  214. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  215. public int s2c_code
  216. {
  217. get { return _s2c_code; }
  218. set { _s2c_code = value; }
  219. }
  220. private string _s2c_msg = "";
  221. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  222. [global::System.ComponentModel.DefaultValue("")]
  223. public string s2c_msg
  224. {
  225. get { return _s2c_msg; }
  226. set { _s2c_msg = value; }
  227. }
  228. private readonly global::System.Collections.Generic.List<pomelo.area.RecommendPlayInfo> _s2c_recommendPlayList = new global::System.Collections.Generic.List<pomelo.area.RecommendPlayInfo>();
  229. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_recommendPlayList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  230. public global::System.Collections.Generic.List<pomelo.area.RecommendPlayInfo> s2c_recommendPlayList
  231. {
  232. get { return _s2c_recommendPlayList; }
  233. }
  234. private global::ProtoBuf.IExtension extensionObject;
  235. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  236. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  237. }
  238. }