_fuwaHandler.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  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. // * 创建时间= 2020-07-16
  12. // * 用途= 福娃
  13. // ***************************************************************************
  14. // Generated from: fuwaHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// 小福娃兑换(id:901)
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaExchangeRequest")]
  23. public partial class FuwaExchangeRequest : global::ProtoBuf.IExtensible
  24. {
  25. public FuwaExchangeRequest() {}
  26. private string _code;
  27. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  28. public string code
  29. {
  30. get { return _code; }
  31. set { _code = value; }
  32. }
  33. private int _count;
  34. /// <summary>
  35. /// 兑换数量
  36. /// </summary>
  37. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  38. public int count
  39. {
  40. get { return _count; }
  41. set { _count = value; }
  42. }
  43. private global::ProtoBuf.IExtension extensionObject;
  44. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  45. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  46. }
  47. //---------------------------------------------------------------------------------------
  48. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaExchangeRespone")]
  49. public partial class FuwaExchangeRespone : global::ProtoBuf.IExtensible
  50. {
  51. public FuwaExchangeRespone() {}
  52. private int _s2c_code;
  53. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  54. public int s2c_code
  55. {
  56. get { return _s2c_code; }
  57. set { _s2c_code = value; }
  58. }
  59. private string _s2c_msg = "";
  60. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  61. [global::System.ComponentModel.DefaultValue("")]
  62. public string s2c_msg
  63. {
  64. get { return _s2c_msg; }
  65. set { _s2c_msg = value; }
  66. }
  67. private global::ProtoBuf.IExtension extensionObject;
  68. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  69. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  70. }
  71. //---------------------------------------------------------------------------------------
  72. /// <summary>
  73. /// 盖碗猜福信息(id:902)
  74. /// </summary>
  75. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaGameInfoRequest")]
  76. public partial class FuwaGameInfoRequest : global::ProtoBuf.IExtensible
  77. {
  78. public FuwaGameInfoRequest() {}
  79. private global::ProtoBuf.IExtension extensionObject;
  80. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  81. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  82. }
  83. //---------------------------------------------------------------------------------------
  84. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaGameInfoRespone")]
  85. public partial class FuwaGameInfoRespone : global::ProtoBuf.IExtensible
  86. {
  87. public FuwaGameInfoRespone() {}
  88. private int _s2c_code;
  89. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  90. public int s2c_code
  91. {
  92. get { return _s2c_code; }
  93. set { _s2c_code = value; }
  94. }
  95. private string _s2c_msg = "";
  96. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  97. [global::System.ComponentModel.DefaultValue("")]
  98. public string s2c_msg
  99. {
  100. get { return _s2c_msg; }
  101. set { _s2c_msg = value; }
  102. }
  103. private int _play_count = default(int);
  104. /// <summary>
  105. /// 已游戏次数
  106. /// </summary>
  107. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"play_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  108. [global::System.ComponentModel.DefaultValue(default(int))]
  109. public int play_count
  110. {
  111. get { return _play_count; }
  112. set { _play_count = value; }
  113. }
  114. private int _result = default(int);
  115. /// <summary>
  116. /// 结果(二进制表示,1猜中,0未猜中,0位表示第1次,1位表示第2次...)
  117. /// </summary>
  118. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  119. [global::System.ComponentModel.DefaultValue(default(int))]
  120. public int result
  121. {
  122. get { return _result; }
  123. set { _result = value; }
  124. }
  125. private int _max_continuous_win_times = default(int);
  126. /// <summary>
  127. /// 最大连续猜对次数
  128. /// </summary>
  129. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"max_continuous_win_times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  130. [global::System.ComponentModel.DefaultValue(default(int))]
  131. public int max_continuous_win_times
  132. {
  133. get { return _max_continuous_win_times; }
  134. set { _max_continuous_win_times = value; }
  135. }
  136. private global::ProtoBuf.IExtension extensionObject;
  137. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  138. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  139. }
  140. //---------------------------------------------------------------------------------------
  141. /// <summary>
  142. /// 盖碗猜福(id:903)
  143. /// </summary>
  144. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaGameRequest")]
  145. public partial class FuwaGameRequest : global::ProtoBuf.IExtensible
  146. {
  147. public FuwaGameRequest() {}
  148. private int _index;
  149. /// <summary>
  150. /// 碗索引(从1开始)
  151. /// </summary>
  152. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  153. public int index
  154. {
  155. get { return _index; }
  156. set { _index = value; }
  157. }
  158. private int _bet_index;
  159. /// <summary>
  160. /// 下注索引(从1开始)
  161. /// </summary>
  162. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"bet_index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  163. public int bet_index
  164. {
  165. get { return _bet_index; }
  166. set { _bet_index = value; }
  167. }
  168. private global::ProtoBuf.IExtension extensionObject;
  169. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  170. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  171. }
  172. //---------------------------------------------------------------------------------------
  173. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaGameRespone")]
  174. public partial class FuwaGameRespone : global::ProtoBuf.IExtensible
  175. {
  176. public FuwaGameRespone() {}
  177. private int _s2c_code;
  178. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  179. public int s2c_code
  180. {
  181. get { return _s2c_code; }
  182. set { _s2c_code = value; }
  183. }
  184. private string _s2c_msg = "";
  185. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  186. [global::System.ComponentModel.DefaultValue("")]
  187. public string s2c_msg
  188. {
  189. get { return _s2c_msg; }
  190. set { _s2c_msg = value; }
  191. }
  192. private int _play_count = default(int);
  193. /// <summary>
  194. /// 已游戏次数
  195. /// </summary>
  196. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"play_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  197. [global::System.ComponentModel.DefaultValue(default(int))]
  198. public int play_count
  199. {
  200. get { return _play_count; }
  201. set { _play_count = value; }
  202. }
  203. private int _result = default(int);
  204. /// <summary>
  205. /// 结果(二进制表示,1猜中,0未猜中,0位表示第1次,1位表示第2次...)
  206. /// </summary>
  207. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  208. [global::System.ComponentModel.DefaultValue(default(int))]
  209. public int result
  210. {
  211. get { return _result; }
  212. set { _result = value; }
  213. }
  214. private bool _win = default(bool);
  215. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"win", DataFormat = global::ProtoBuf.DataFormat.Default)]
  216. [global::System.ComponentModel.DefaultValue(default(bool))]
  217. public bool win
  218. {
  219. get { return _win; }
  220. set { _win = value; }
  221. }
  222. private int _max_continuous_win_times = default(int);
  223. /// <summary>
  224. /// 最大连续猜对次数
  225. /// </summary>
  226. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"max_continuous_win_times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  227. [global::System.ComponentModel.DefaultValue(default(int))]
  228. public int max_continuous_win_times
  229. {
  230. get { return _max_continuous_win_times; }
  231. set { _max_continuous_win_times = value; }
  232. }
  233. private global::ProtoBuf.IExtension extensionObject;
  234. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  235. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  236. }
  237. //---------------------------------------------------------------------------------------
  238. /// <summary>
  239. /// 奖励兑换信息(id:904)
  240. /// </summary>
  241. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaRewardExchangeInfoRequest")]
  242. public partial class FuwaRewardExchangeInfoRequest : global::ProtoBuf.IExtensible
  243. {
  244. public FuwaRewardExchangeInfoRequest() {}
  245. private global::ProtoBuf.IExtension extensionObject;
  246. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  247. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  248. }
  249. //---------------------------------------------------------------------------------------
  250. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaRewardExchangeInfoRespone")]
  251. public partial class FuwaRewardExchangeInfoRespone : global::ProtoBuf.IExtensible
  252. {
  253. public FuwaRewardExchangeInfoRespone() {}
  254. private int _s2c_code;
  255. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  256. public int s2c_code
  257. {
  258. get { return _s2c_code; }
  259. set { _s2c_code = value; }
  260. }
  261. private string _s2c_msg = "";
  262. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  263. [global::System.ComponentModel.DefaultValue("")]
  264. public string s2c_msg
  265. {
  266. get { return _s2c_msg; }
  267. set { _s2c_msg = value; }
  268. }
  269. private readonly global::System.Collections.Generic.List<int> _state = new global::System.Collections.Generic.List<int>();
  270. /// <summary>
  271. /// 0未领取,1已领取,2不可领取
  272. /// </summary>
  273. [global::ProtoBuf.ProtoMember(3, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  274. public global::System.Collections.Generic.List<int> state
  275. {
  276. get { return _state; }
  277. }
  278. private int _continuous_win_times = default(int);
  279. /// <summary>
  280. /// 连续猜对次数
  281. /// </summary>
  282. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"continuous_win_times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  283. [global::System.ComponentModel.DefaultValue(default(int))]
  284. public int continuous_win_times
  285. {
  286. get { return _continuous_win_times; }
  287. set { _continuous_win_times = value; }
  288. }
  289. private global::ProtoBuf.IExtension extensionObject;
  290. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  291. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  292. }
  293. //---------------------------------------------------------------------------------------
  294. /// <summary>
  295. /// 奖励兑换(id:905)
  296. /// </summary>
  297. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaRewardExchangeRequest")]
  298. public partial class FuwaRewardExchangeRequest : global::ProtoBuf.IExtensible
  299. {
  300. public FuwaRewardExchangeRequest() {}
  301. private int _index;
  302. /// <summary>
  303. /// 从0开始
  304. /// </summary>
  305. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  306. public int index
  307. {
  308. get { return _index; }
  309. set { _index = value; }
  310. }
  311. private global::ProtoBuf.IExtension extensionObject;
  312. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  313. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  314. }
  315. //---------------------------------------------------------------------------------------
  316. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaRewardExchangeRespone")]
  317. public partial class FuwaRewardExchangeRespone : global::ProtoBuf.IExtensible
  318. {
  319. public FuwaRewardExchangeRespone() {}
  320. private int _s2c_code;
  321. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  322. public int s2c_code
  323. {
  324. get { return _s2c_code; }
  325. set { _s2c_code = value; }
  326. }
  327. private string _s2c_msg = "";
  328. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  329. [global::System.ComponentModel.DefaultValue("")]
  330. public string s2c_msg
  331. {
  332. get { return _s2c_msg; }
  333. set { _s2c_msg = value; }
  334. }
  335. private string _code = "";
  336. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  337. [global::System.ComponentModel.DefaultValue("")]
  338. public string code
  339. {
  340. get { return _code; }
  341. set { _code = value; }
  342. }
  343. private int _amount = default(int);
  344. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"amount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  345. [global::System.ComponentModel.DefaultValue(default(int))]
  346. public int amount
  347. {
  348. get { return _amount; }
  349. set { _amount = value; }
  350. }
  351. private global::ProtoBuf.IExtension extensionObject;
  352. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  353. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  354. }
  355. //---------------------------------------------------------------------------------------
  356. /// <summary>
  357. /// 发现福娃推送(id:1600)
  358. /// </summary>
  359. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaFindPush")]
  360. public partial class FuwaFindPush : global::ProtoBuf.IExtensible
  361. {
  362. public FuwaFindPush() {}
  363. private int _count = default(int);
  364. /// <summary>
  365. /// 已发现福娃数量
  366. /// </summary>
  367. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  368. [global::System.ComponentModel.DefaultValue(default(int))]
  369. public int count
  370. {
  371. get { return _count; }
  372. set { _count = value; }
  373. }
  374. private bool _can_exchange_reward = default(bool);
  375. /// <summary>
  376. /// 是否可兑换奖励
  377. /// </summary>
  378. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"can_exchange_reward", DataFormat = global::ProtoBuf.DataFormat.Default)]
  379. [global::System.ComponentModel.DefaultValue(default(bool))]
  380. public bool can_exchange_reward
  381. {
  382. get { return _can_exchange_reward; }
  383. set { _can_exchange_reward = value; }
  384. }
  385. private global::ProtoBuf.IExtension extensionObject;
  386. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  387. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  388. }
  389. }