_payGiftHandler.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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-14
  12. // * 用途= 充值奖励处理器
  13. // ***************************************************************************
  14. // Generated from: payGiftHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FirstPayGiftInfoRequest")]
  19. public partial class FirstPayGiftInfoRequest : global::ProtoBuf.IExtensible
  20. {
  21. public FirstPayGiftInfoRequest() {}
  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=@"FirstPayGiftData")]
  28. public partial class FirstPayGiftData : global::ProtoBuf.IExtensible
  29. {
  30. public FirstPayGiftData() {}
  31. private int _isGet;
  32. /// <summary>
  33. /// 1 已经领取 0 可以领取没有领取 -1 不能领取
  34. /// </summary>
  35. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"isGet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  36. public int isGet
  37. {
  38. get { return _isGet; }
  39. set { _isGet = value; }
  40. }
  41. private global::ProtoBuf.IExtension extensionObject;
  42. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  43. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  44. }
  45. //---------------------------------------------------------------------------------------
  46. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FirstPayGiftInfoResponse")]
  47. public partial class FirstPayGiftInfoResponse : global::ProtoBuf.IExtensible
  48. {
  49. public FirstPayGiftInfoResponse() {}
  50. private int _s2c_code;
  51. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  52. public int s2c_code
  53. {
  54. get { return _s2c_code; }
  55. set { _s2c_code = value; }
  56. }
  57. private string _s2c_msg = "";
  58. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  59. [global::System.ComponentModel.DefaultValue("")]
  60. public string s2c_msg
  61. {
  62. get { return _s2c_msg; }
  63. set { _s2c_msg = value; }
  64. }
  65. private pomelo.area.FirstPayGiftData _s2c_data = null;
  66. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  67. [global::System.ComponentModel.DefaultValue(null)]
  68. public pomelo.area.FirstPayGiftData s2c_data
  69. {
  70. get { return _s2c_data; }
  71. set { _s2c_data = value; }
  72. }
  73. private global::ProtoBuf.IExtension extensionObject;
  74. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  75. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  76. }
  77. //---------------------------------------------------------------------------------------
  78. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetFirstPayGiftRequest")]
  79. public partial class GetFirstPayGiftRequest : global::ProtoBuf.IExtensible
  80. {
  81. public GetFirstPayGiftRequest() {}
  82. private global::ProtoBuf.IExtension extensionObject;
  83. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  84. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  85. }
  86. //---------------------------------------------------------------------------------------
  87. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetFirstPayGiftResponse")]
  88. public partial class GetFirstPayGiftResponse : global::ProtoBuf.IExtensible
  89. {
  90. public GetFirstPayGiftResponse() {}
  91. private int _s2c_code;
  92. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  93. public int s2c_code
  94. {
  95. get { return _s2c_code; }
  96. set { _s2c_code = value; }
  97. }
  98. private string _s2c_msg = "";
  99. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  100. [global::System.ComponentModel.DefaultValue("")]
  101. public string s2c_msg
  102. {
  103. get { return _s2c_msg; }
  104. set { _s2c_msg = value; }
  105. }
  106. private global::ProtoBuf.IExtension extensionObject;
  107. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  108. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  109. }
  110. //---------------------------------------------------------------------------------------
  111. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyPayGiftInfoRequest")]
  112. public partial class DailyPayGiftInfoRequest : global::ProtoBuf.IExtensible
  113. {
  114. public DailyPayGiftInfoRequest() {}
  115. private global::ProtoBuf.IExtension extensionObject;
  116. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  117. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  118. }
  119. //---------------------------------------------------------------------------------------
  120. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyPayGiftData")]
  121. public partial class DailyPayGiftData : global::ProtoBuf.IExtensible
  122. {
  123. public DailyPayGiftData() {}
  124. private int _giftId;
  125. /// <summary>
  126. /// 奖励Id
  127. /// </summary>
  128. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"giftId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  129. public int giftId
  130. {
  131. get { return _giftId; }
  132. set { _giftId = value; }
  133. }
  134. private int _isGet;
  135. /// <summary>
  136. /// 1 已经领取 0 可以领取没有领取 -1 不能领取
  137. /// </summary>
  138. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"isGet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  139. public int isGet
  140. {
  141. get { return _isGet; }
  142. set { _isGet = value; }
  143. }
  144. private global::ProtoBuf.IExtension extensionObject;
  145. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  146. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  147. }
  148. //---------------------------------------------------------------------------------------
  149. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyPayGiftInfoResponse")]
  150. public partial class DailyPayGiftInfoResponse : global::ProtoBuf.IExtensible
  151. {
  152. public DailyPayGiftInfoResponse() {}
  153. private int _s2c_code;
  154. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  155. public int s2c_code
  156. {
  157. get { return _s2c_code; }
  158. set { _s2c_code = value; }
  159. }
  160. private string _s2c_msg = "";
  161. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  162. [global::System.ComponentModel.DefaultValue("")]
  163. public string s2c_msg
  164. {
  165. get { return _s2c_msg; }
  166. set { _s2c_msg = value; }
  167. }
  168. private int _s2c_dayIndex = default(int);
  169. /// <summary>
  170. /// 第几天 1表示第一天......
  171. /// </summary>
  172. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_dayIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  173. [global::System.ComponentModel.DefaultValue(default(int))]
  174. public int s2c_dayIndex
  175. {
  176. get { return _s2c_dayIndex; }
  177. set { _s2c_dayIndex = value; }
  178. }
  179. private int _s2c_dailyDiamondCount = default(int);
  180. /// <summary>
  181. /// 当日充值钻石数量
  182. /// </summary>
  183. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_dailyDiamondCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  184. [global::System.ComponentModel.DefaultValue(default(int))]
  185. public int s2c_dailyDiamondCount
  186. {
  187. get { return _s2c_dailyDiamondCount; }
  188. set { _s2c_dailyDiamondCount = value; }
  189. }
  190. private int _s2c_dailyMoneyCount = default(int);
  191. /// <summary>
  192. /// 当日充值money数量
  193. /// </summary>
  194. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_dailyMoneyCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  195. [global::System.ComponentModel.DefaultValue(default(int))]
  196. public int s2c_dailyMoneyCount
  197. {
  198. get { return _s2c_dailyMoneyCount; }
  199. set { _s2c_dailyMoneyCount = value; }
  200. }
  201. private readonly global::System.Collections.Generic.List<pomelo.area.DailyPayGiftData> _s2c_data = new global::System.Collections.Generic.List<pomelo.area.DailyPayGiftData>();
  202. [global::ProtoBuf.ProtoMember(6, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  203. public global::System.Collections.Generic.List<pomelo.area.DailyPayGiftData> s2c_data
  204. {
  205. get { return _s2c_data; }
  206. }
  207. private global::ProtoBuf.IExtension extensionObject;
  208. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  209. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  210. }
  211. //---------------------------------------------------------------------------------------
  212. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDailyPayGiftRequest")]
  213. public partial class GetDailyPayGiftRequest : global::ProtoBuf.IExtensible
  214. {
  215. public GetDailyPayGiftRequest() {}
  216. private int _c2s_giftId;
  217. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_giftId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  218. public int c2s_giftId
  219. {
  220. get { return _c2s_giftId; }
  221. set { _c2s_giftId = value; }
  222. }
  223. private global::ProtoBuf.IExtension extensionObject;
  224. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  225. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  226. }
  227. //---------------------------------------------------------------------------------------
  228. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDailyPayGiftResponse")]
  229. public partial class GetDailyPayGiftResponse : global::ProtoBuf.IExtensible
  230. {
  231. public GetDailyPayGiftResponse() {}
  232. private int _s2c_code;
  233. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  234. public int s2c_code
  235. {
  236. get { return _s2c_code; }
  237. set { _s2c_code = value; }
  238. }
  239. private string _s2c_msg = "";
  240. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  241. [global::System.ComponentModel.DefaultValue("")]
  242. public string s2c_msg
  243. {
  244. get { return _s2c_msg; }
  245. set { _s2c_msg = value; }
  246. }
  247. private global::ProtoBuf.IExtension extensionObject;
  248. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  249. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  250. }
  251. }