_guildBlessHandler.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  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. // 作者= jjr
  11. // 创建时间 = 2017-04-27
  12. // 用途= 公会祈福处理器
  13. // *************************************************************************
  14. // Generated from: guildBlessHandler.proto
  15. // Note: requires additional types generated from: item.proto
  16. // Note: requires additional types generated from: common.proto
  17. namespace pomelo.area
  18. {
  19. //---------------------------------------------------------------------------------------
  20. /// <summary>
  21. /// 祈福道具
  22. /// </summary>
  23. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BlessItem")]
  24. public partial class BlessItem : global::ProtoBuf.IExtensible
  25. {
  26. public BlessItem() {}
  27. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _item = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  28. /// <summary>
  29. /// 祈福获得道具
  30. /// </summary>
  31. [global::ProtoBuf.ProtoMember(1, Name=@"item", DataFormat = global::ProtoBuf.DataFormat.Default)]
  32. public global::System.Collections.Generic.List<pomelo.item.MiniItem> item
  33. {
  34. get { return _item; }
  35. }
  36. private global::ProtoBuf.IExtension extensionObject;
  37. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  38. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  39. }
  40. //---------------------------------------------------------------------------------------
  41. /// <summary>
  42. /// 个人祈福信息 (请求)
  43. /// </summary>
  44. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMyBlessInfoRequest")]
  45. public partial class GetMyBlessInfoRequest : global::ProtoBuf.IExtensible
  46. {
  47. public GetMyBlessInfoRequest() {}
  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. /// <summary>
  54. /// 请求祈福
  55. /// </summary>
  56. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BlessActionRequest")]
  57. public partial class BlessActionRequest : global::ProtoBuf.IExtensible
  58. {
  59. public BlessActionRequest() {}
  60. private int _id = default(int);
  61. /// <summary>
  62. /// 祈福道具配置id
  63. /// </summary>
  64. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  65. [global::System.ComponentModel.DefaultValue(default(int))]
  66. public int id
  67. {
  68. get { return _id; }
  69. set { _id = value; }
  70. }
  71. private global::ProtoBuf.IExtension extensionObject;
  72. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  73. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  74. }
  75. //---------------------------------------------------------------------------------------
  76. /// <summary>
  77. /// 请求领取礼包
  78. /// </summary>
  79. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveBlessGiftRequest")]
  80. public partial class ReceiveBlessGiftRequest : global::ProtoBuf.IExtensible
  81. {
  82. public ReceiveBlessGiftRequest() {}
  83. private int _index;
  84. /// <summary>
  85. /// 0 : 30% 1:60% 2:100%
  86. /// </summary>
  87. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  88. public int index
  89. {
  90. get { return _index; }
  91. set { _index = value; }
  92. }
  93. private global::ProtoBuf.IExtension extensionObject;
  94. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  95. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  96. }
  97. //---------------------------------------------------------------------------------------
  98. /// <summary>
  99. /// 升级
  100. /// </summary>
  101. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeBlessRequest")]
  102. public partial class UpgradeBlessRequest : global::ProtoBuf.IExtensible
  103. {
  104. public UpgradeBlessRequest() {}
  105. private global::ProtoBuf.IExtension extensionObject;
  106. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  107. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  108. }
  109. //---------------------------------------------------------------------------------------
  110. /// <summary>
  111. /// 返回开始
  112. /// </summary>
  113. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MyBlessInfo")]
  114. public partial class MyBlessInfo : global::ProtoBuf.IExtensible
  115. {
  116. public MyBlessInfo() {}
  117. private int _blessCount = default(int);
  118. /// <summary>
  119. /// 今日已祈福次数
  120. /// </summary>
  121. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"blessCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  122. [global::System.ComponentModel.DefaultValue(default(int))]
  123. public int blessCount
  124. {
  125. get { return _blessCount; }
  126. set { _blessCount = value; }
  127. }
  128. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _blessAttrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  129. /// <summary>
  130. /// 加成属性
  131. /// </summary>
  132. [global::ProtoBuf.ProtoMember(2, Name=@"blessAttrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  133. public global::System.Collections.Generic.List<pomelo.AttributeBase> blessAttrs
  134. {
  135. get { return _blessAttrs; }
  136. }
  137. private int _buffTime = default(int);
  138. /// <summary>
  139. /// 祈福有效时间
  140. /// </summary>
  141. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"buffTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  142. [global::System.ComponentModel.DefaultValue(default(int))]
  143. public int buffTime
  144. {
  145. get { return _buffTime; }
  146. set { _buffTime = value; }
  147. }
  148. private readonly global::System.Collections.Generic.List<int> _receiveState = new global::System.Collections.Generic.List<int>();
  149. /// <summary>
  150. /// 领取状态 0:未领取 2:已领取
  151. /// </summary>
  152. [global::ProtoBuf.ProtoMember(4, Name=@"receiveState", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  153. public global::System.Collections.Generic.List<int> receiveState
  154. {
  155. get { return _receiveState; }
  156. }
  157. private readonly global::System.Collections.Generic.List<pomelo.area.BlessItem> _itemList = new global::System.Collections.Generic.List<pomelo.area.BlessItem>();
  158. /// <summary>
  159. /// 祈福获得道具
  160. /// </summary>
  161. [global::ProtoBuf.ProtoMember(5, Name=@"itemList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  162. public global::System.Collections.Generic.List<pomelo.area.BlessItem> itemList
  163. {
  164. get { return _itemList; }
  165. }
  166. private global::ProtoBuf.IExtension extensionObject;
  167. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  168. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  169. }
  170. //---------------------------------------------------------------------------------------
  171. /// <summary>
  172. /// 个人祈福信息
  173. /// </summary>
  174. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMyBlessInfoResponse")]
  175. public partial class GetMyBlessInfoResponse : global::ProtoBuf.IExtensible
  176. {
  177. public GetMyBlessInfoResponse() {}
  178. private int _s2c_code;
  179. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  180. public int s2c_code
  181. {
  182. get { return _s2c_code; }
  183. set { _s2c_code = value; }
  184. }
  185. private string _s2c_msg = "";
  186. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  187. [global::System.ComponentModel.DefaultValue("")]
  188. public string s2c_msg
  189. {
  190. get { return _s2c_msg; }
  191. set { _s2c_msg = value; }
  192. }
  193. private pomelo.area.MyBlessInfo _s2c_blessInfo = null;
  194. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_blessInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  195. [global::System.ComponentModel.DefaultValue(null)]
  196. public pomelo.area.MyBlessInfo s2c_blessInfo
  197. {
  198. get { return _s2c_blessInfo; }
  199. set { _s2c_blessInfo = value; }
  200. }
  201. private global::ProtoBuf.IExtension extensionObject;
  202. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  203. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  204. }
  205. //---------------------------------------------------------------------------------------
  206. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BlessResult")]
  207. public partial class BlessResult : global::ProtoBuf.IExtensible
  208. {
  209. public BlessResult() {}
  210. private int _blessCount = default(int);
  211. /// <summary>
  212. /// 今日祈福次数
  213. /// </summary>
  214. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"blessCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  215. [global::System.ComponentModel.DefaultValue(default(int))]
  216. public int blessCount
  217. {
  218. get { return _blessCount; }
  219. set { _blessCount = value; }
  220. }
  221. private int _blessValue = default(int);
  222. /// <summary>
  223. /// 当前祈福值(总进度)
  224. /// </summary>
  225. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"blessValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  226. [global::System.ComponentModel.DefaultValue(default(int))]
  227. public int blessValue
  228. {
  229. get { return _blessValue; }
  230. set { _blessValue = value; }
  231. }
  232. private int _id = default(int);
  233. /// <summary>
  234. /// 祈福道具id
  235. /// </summary>
  236. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  237. [global::System.ComponentModel.DefaultValue(default(int))]
  238. public int id
  239. {
  240. get { return _id; }
  241. set { _id = value; }
  242. }
  243. private int _finishNum = default(int);
  244. /// <summary>
  245. /// 道具进度
  246. /// </summary>
  247. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"finishNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  248. [global::System.ComponentModel.DefaultValue(default(int))]
  249. public int finishNum
  250. {
  251. get { return _finishNum; }
  252. set { _finishNum = value; }
  253. }
  254. private readonly global::System.Collections.Generic.List<int> _finishState = new global::System.Collections.Generic.List<int>();
  255. /// <summary>
  256. /// 总完成状态 0:未完成 1:已完成
  257. /// </summary>
  258. [global::ProtoBuf.ProtoMember(5, Name=@"finishState", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  259. public global::System.Collections.Generic.List<int> finishState
  260. {
  261. get { return _finishState; }
  262. }
  263. private global::ProtoBuf.IExtension extensionObject;
  264. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  265. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  266. }
  267. //---------------------------------------------------------------------------------------
  268. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BlessActionResponse")]
  269. public partial class BlessActionResponse : global::ProtoBuf.IExtensible
  270. {
  271. public BlessActionResponse() {}
  272. private int _s2c_code;
  273. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  274. public int s2c_code
  275. {
  276. get { return _s2c_code; }
  277. set { _s2c_code = value; }
  278. }
  279. private string _s2c_msg = "";
  280. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  281. [global::System.ComponentModel.DefaultValue("")]
  282. public string s2c_msg
  283. {
  284. get { return _s2c_msg; }
  285. set { _s2c_msg = value; }
  286. }
  287. private pomelo.area.BlessResult _s2c_result = null;
  288. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_result", DataFormat = global::ProtoBuf.DataFormat.Default)]
  289. [global::System.ComponentModel.DefaultValue(null)]
  290. public pomelo.area.BlessResult s2c_result
  291. {
  292. get { return _s2c_result; }
  293. set { _s2c_result = value; }
  294. }
  295. private global::ProtoBuf.IExtension extensionObject;
  296. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  297. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  298. }
  299. //---------------------------------------------------------------------------------------
  300. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveResult")]
  301. public partial class ReceiveResult : global::ProtoBuf.IExtensible
  302. {
  303. public ReceiveResult() {}
  304. private int _receiveState = default(int);
  305. /// <summary>
  306. /// 状态0:未领取 2:已领取
  307. /// </summary>
  308. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"receiveState", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  309. [global::System.ComponentModel.DefaultValue(default(int))]
  310. public int receiveState
  311. {
  312. get { return _receiveState; }
  313. set { _receiveState = value; }
  314. }
  315. private global::ProtoBuf.IExtension extensionObject;
  316. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  317. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  318. }
  319. //---------------------------------------------------------------------------------------
  320. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveBlessGiftResponse")]
  321. public partial class ReceiveBlessGiftResponse : global::ProtoBuf.IExtensible
  322. {
  323. public ReceiveBlessGiftResponse() {}
  324. private int _s2c_code;
  325. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  326. public int s2c_code
  327. {
  328. get { return _s2c_code; }
  329. set { _s2c_code = value; }
  330. }
  331. private string _s2c_msg = "";
  332. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  333. [global::System.ComponentModel.DefaultValue("")]
  334. public string s2c_msg
  335. {
  336. get { return _s2c_msg; }
  337. set { _s2c_msg = value; }
  338. }
  339. private pomelo.area.ReceiveResult _s2c_result = null;
  340. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_result", DataFormat = global::ProtoBuf.DataFormat.Default)]
  341. [global::System.ComponentModel.DefaultValue(null)]
  342. public pomelo.area.ReceiveResult s2c_result
  343. {
  344. get { return _s2c_result; }
  345. set { _s2c_result = value; }
  346. }
  347. private global::ProtoBuf.IExtension extensionObject;
  348. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  349. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  350. }
  351. //---------------------------------------------------------------------------------------
  352. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeBlessResponse")]
  353. public partial class UpgradeBlessResponse : global::ProtoBuf.IExtensible
  354. {
  355. public UpgradeBlessResponse() {}
  356. private int _s2c_code;
  357. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  358. public int s2c_code
  359. {
  360. get { return _s2c_code; }
  361. set { _s2c_code = value; }
  362. }
  363. private string _s2c_msg = "";
  364. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  365. [global::System.ComponentModel.DefaultValue("")]
  366. public string s2c_msg
  367. {
  368. get { return _s2c_msg; }
  369. set { _s2c_msg = value; }
  370. }
  371. private int _s2c_level = default(int);
  372. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  373. [global::System.ComponentModel.DefaultValue(default(int))]
  374. public int s2c_level
  375. {
  376. get { return _s2c_level; }
  377. set { _s2c_level = value; }
  378. }
  379. private int _s2c_fund = default(int);
  380. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_fund", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  381. [global::System.ComponentModel.DefaultValue(default(int))]
  382. public int s2c_fund
  383. {
  384. get { return _s2c_fund; }
  385. set { _s2c_fund = value; }
  386. }
  387. private global::ProtoBuf.IExtension extensionObject;
  388. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  389. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  390. }
  391. //---------------------------------------------------------------------------------------
  392. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BlessRefreshPush")]
  393. public partial class BlessRefreshPush : global::ProtoBuf.IExtensible
  394. {
  395. public BlessRefreshPush() {}
  396. private int _s2c_code;
  397. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  398. public int s2c_code
  399. {
  400. get { return _s2c_code; }
  401. set { _s2c_code = value; }
  402. }
  403. private string _s2c_msg = "";
  404. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  405. [global::System.ComponentModel.DefaultValue("")]
  406. public string s2c_msg
  407. {
  408. get { return _s2c_msg; }
  409. set { _s2c_msg = value; }
  410. }
  411. private int _type = default(int);
  412. /// <summary>
  413. /// 1:状态(附带进度) 2:0点道具刷新(需重新请求)
  414. /// </summary>
  415. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  416. [global::System.ComponentModel.DefaultValue(default(int))]
  417. public int type
  418. {
  419. get { return _type; }
  420. set { _type = value; }
  421. }
  422. private int _blessValue = default(int);
  423. /// <summary>
  424. /// 总进度值
  425. /// </summary>
  426. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"blessValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  427. [global::System.ComponentModel.DefaultValue(default(int))]
  428. public int blessValue
  429. {
  430. get { return _blessValue; }
  431. set { _blessValue = value; }
  432. }
  433. private readonly global::System.Collections.Generic.List<int> _finishState = new global::System.Collections.Generic.List<int>();
  434. /// <summary>
  435. /// 0:未完成 1:已完成
  436. /// </summary>
  437. [global::ProtoBuf.ProtoMember(5, Name=@"finishState", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  438. public global::System.Collections.Generic.List<int> finishState
  439. {
  440. get { return _finishState; }
  441. }
  442. private global::ProtoBuf.IExtension extensionObject;
  443. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  444. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  445. }
  446. }