_vipHandler.cs 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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. // * 创建时间= 2015-08-27
  12. // * 用途= 时装处理器
  13. // ***************************************************************************
  14. // Generated from: vipHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VipRequest")]
  19. public partial class VipRequest : global::ProtoBuf.IExtensible
  20. {
  21. public VipRequest() {}
  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=@"VipGiftInfo")]
  28. public partial class VipGiftInfo : global::ProtoBuf.IExtensible
  29. {
  30. public VipGiftInfo() {}
  31. private int _type;
  32. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  33. public int type
  34. {
  35. get { return _type; }
  36. set { _type = value; }
  37. }
  38. private int _flag;
  39. /// <summary>
  40. /// 0表示没有领取过,1表示领取过了
  41. /// </summary>
  42. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"flag", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  43. public int flag
  44. {
  45. get { return _flag; }
  46. set { _flag = value; }
  47. }
  48. private global::ProtoBuf.IExtension extensionObject;
  49. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  50. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  51. }
  52. //---------------------------------------------------------------------------------------
  53. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VipGetGiftData")]
  54. public partial class VipGetGiftData : global::ProtoBuf.IExtensible
  55. {
  56. public VipGetGiftData() {}
  57. private readonly global::System.Collections.Generic.List<pomelo.area.VipGiftInfo> _datas = new global::System.Collections.Generic.List<pomelo.area.VipGiftInfo>();
  58. [global::ProtoBuf.ProtoMember(1, Name=@"datas", DataFormat = global::ProtoBuf.DataFormat.Default)]
  59. public global::System.Collections.Generic.List<pomelo.area.VipGiftInfo> datas
  60. {
  61. get { return _datas; }
  62. }
  63. private global::ProtoBuf.IExtension extensionObject;
  64. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  65. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  66. }
  67. //---------------------------------------------------------------------------------------
  68. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VipBuyGiftData")]
  69. public partial class VipBuyGiftData : global::ProtoBuf.IExtensible
  70. {
  71. public VipBuyGiftData() {}
  72. private int _vipLevel;
  73. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"vipLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  74. public int vipLevel
  75. {
  76. get { return _vipLevel; }
  77. set { _vipLevel = value; }
  78. }
  79. private int _dailyBuyCount;
  80. /// <summary>
  81. /// 当天购买次数
  82. /// </summary>
  83. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"dailyBuyCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  84. public int dailyBuyCount
  85. {
  86. get { return _dailyBuyCount; }
  87. set { _dailyBuyCount = value; }
  88. }
  89. private global::ProtoBuf.IExtension extensionObject;
  90. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  91. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  92. }
  93. //---------------------------------------------------------------------------------------
  94. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VipResponse")]
  95. public partial class VipResponse : global::ProtoBuf.IExtensible
  96. {
  97. public VipResponse() {}
  98. private int _s2c_code;
  99. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  100. public int s2c_code
  101. {
  102. get { return _s2c_code; }
  103. set { _s2c_code = value; }
  104. }
  105. private string _s2c_msg = "";
  106. [global::ProtoBuf.ProtoMember(2, 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.VipGiftInfo> _datas = new global::System.Collections.Generic.List<pomelo.area.VipGiftInfo>();
  114. [global::ProtoBuf.ProtoMember(3, Name=@"datas", DataFormat = global::ProtoBuf.DataFormat.Default)]
  115. public global::System.Collections.Generic.List<pomelo.area.VipGiftInfo> datas
  116. {
  117. get { return _datas; }
  118. }
  119. private long _s2c_remainTime = default(long);
  120. /// <summary>
  121. /// 月卡1 - vip剩余时间,秒
  122. /// </summary>
  123. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_remainTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  124. [global::System.ComponentModel.DefaultValue(default(long))]
  125. public long s2c_remainTime
  126. {
  127. get { return _s2c_remainTime; }
  128. set { _s2c_remainTime = value; }
  129. }
  130. private long _s2c_remainTime1 = default(long);
  131. /// <summary>
  132. /// 月卡2 - vip剩余时间,秒
  133. /// </summary>
  134. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_remainTime1", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  135. [global::System.ComponentModel.DefaultValue(default(long))]
  136. public long s2c_remainTime1
  137. {
  138. get { return _s2c_remainTime1; }
  139. set { _s2c_remainTime1 = 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=@"GetEveryDayGiftRequest")]
  147. public partial class GetEveryDayGiftRequest : global::ProtoBuf.IExtensible
  148. {
  149. public GetEveryDayGiftRequest() {}
  150. private int _c2s_type;
  151. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  152. public int c2s_type
  153. {
  154. get { return _c2s_type; }
  155. set { _c2s_type = value; }
  156. }
  157. private global::ProtoBuf.IExtension extensionObject;
  158. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  159. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  160. }
  161. //---------------------------------------------------------------------------------------
  162. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetEveryDayGiftResponse")]
  163. public partial class GetEveryDayGiftResponse : global::ProtoBuf.IExtensible
  164. {
  165. public GetEveryDayGiftResponse() {}
  166. private int _s2c_code;
  167. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  168. public int s2c_code
  169. {
  170. get { return _s2c_code; }
  171. set { _s2c_code = value; }
  172. }
  173. private string _s2c_msg = "";
  174. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  175. [global::System.ComponentModel.DefaultValue("")]
  176. public string s2c_msg
  177. {
  178. get { return _s2c_msg; }
  179. set { _s2c_msg = value; }
  180. }
  181. private global::ProtoBuf.IExtension extensionObject;
  182. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  183. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  184. }
  185. //---------------------------------------------------------------------------------------
  186. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyEveryDayGiftRequest")]
  187. public partial class BuyEveryDayGiftRequest : global::ProtoBuf.IExtensible
  188. {
  189. public BuyEveryDayGiftRequest() {}
  190. private int _c2s_vipLevel;
  191. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_vipLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  192. public int c2s_vipLevel
  193. {
  194. get { return _c2s_vipLevel; }
  195. set { _c2s_vipLevel = value; }
  196. }
  197. private global::ProtoBuf.IExtension extensionObject;
  198. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  199. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  200. }
  201. //---------------------------------------------------------------------------------------
  202. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyEveryDayGiftResponse")]
  203. public partial class BuyEveryDayGiftResponse : global::ProtoBuf.IExtensible
  204. {
  205. public BuyEveryDayGiftResponse() {}
  206. private int _s2c_code;
  207. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  208. public int s2c_code
  209. {
  210. get { return _s2c_code; }
  211. set { _s2c_code = value; }
  212. }
  213. private string _s2c_msg = "";
  214. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  215. [global::System.ComponentModel.DefaultValue("")]
  216. public string s2c_msg
  217. {
  218. get { return _s2c_msg; }
  219. set { _s2c_msg = value; }
  220. }
  221. private global::ProtoBuf.IExtension extensionObject;
  222. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  223. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  224. }
  225. //---------------------------------------------------------------------------------------
  226. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyVipCardRequest")]
  227. public partial class BuyVipCardRequest : global::ProtoBuf.IExtensible
  228. {
  229. public BuyVipCardRequest() {}
  230. private int _c2s_typeId;
  231. /// <summary>
  232. /// 分类ID
  233. /// </summary>
  234. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_typeId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  235. public int c2s_typeId
  236. {
  237. get { return _c2s_typeId; }
  238. set { _c2s_typeId = value; }
  239. }
  240. private int _c2s_itemId;
  241. /// <summary>
  242. /// 编号ID
  243. /// </summary>
  244. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_itemId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  245. public int c2s_itemId
  246. {
  247. get { return _c2s_itemId; }
  248. set { _c2s_itemId = value; }
  249. }
  250. private int _c2s_type;
  251. /// <summary>
  252. /// 1 购买并使用 2 购买不使用
  253. /// </summary>
  254. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  255. public int c2s_type
  256. {
  257. get { return _c2s_type; }
  258. set { _c2s_type = value; }
  259. }
  260. private global::ProtoBuf.IExtension extensionObject;
  261. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  262. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  263. }
  264. //---------------------------------------------------------------------------------------
  265. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BuyVipCardResponse")]
  266. public partial class BuyVipCardResponse : global::ProtoBuf.IExtensible
  267. {
  268. public BuyVipCardResponse() {}
  269. private int _s2c_code;
  270. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  271. public int s2c_code
  272. {
  273. get { return _s2c_code; }
  274. set { _s2c_code = value; }
  275. }
  276. private string _s2c_msg = "";
  277. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  278. [global::System.ComponentModel.DefaultValue("")]
  279. public string s2c_msg
  280. {
  281. get { return _s2c_msg; }
  282. set { _s2c_msg = value; }
  283. }
  284. private long _s2c_remainTime = default(long);
  285. /// <summary>
  286. /// 月卡1 - vip剩余时间,秒
  287. /// </summary>
  288. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_remainTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  289. [global::System.ComponentModel.DefaultValue(default(long))]
  290. public long s2c_remainTime
  291. {
  292. get { return _s2c_remainTime; }
  293. set { _s2c_remainTime = value; }
  294. }
  295. private readonly global::System.Collections.Generic.List<pomelo.area.VipGetGiftData> _s2c_getData = new global::System.Collections.Generic.List<pomelo.area.VipGetGiftData>();
  296. /// <summary>
  297. /// 月卡1--领取状态
  298. /// </summary>
  299. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_getData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  300. public global::System.Collections.Generic.List<pomelo.area.VipGetGiftData> s2c_getData
  301. {
  302. get { return _s2c_getData; }
  303. }
  304. private readonly global::System.Collections.Generic.List<pomelo.area.VipBuyGiftData> _s2c_buyData = new global::System.Collections.Generic.List<pomelo.area.VipBuyGiftData>();
  305. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_buyData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  306. public global::System.Collections.Generic.List<pomelo.area.VipBuyGiftData> s2c_buyData
  307. {
  308. get { return _s2c_buyData; }
  309. }
  310. private global::ProtoBuf.IExtension extensionObject;
  311. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  312. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  313. }
  314. }