_activityRevelryHandler.cs 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  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. // * 创建时间= 2017-12-14
  12. // * 用途= 冲榜处理器
  13. // ***************************************************************************/
  14. // Generated from: activityRevelryHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.revelry
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// 每一天中的小栏目
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryColumnInfo")]
  23. public partial class RevelryColumnInfo : global::ProtoBuf.IExtensible
  24. {
  25. public RevelryColumnInfo() {}
  26. private string _id;
  27. /// <summary>
  28. /// 编号,用这个编号来取对应的排行数据
  29. /// </summary>
  30. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  31. public string id
  32. {
  33. get { return _id; }
  34. set { _id = value; }
  35. }
  36. private string _name;
  37. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  38. public string name
  39. {
  40. get { return _name; }
  41. set { _name = value; }
  42. }
  43. private string _label;
  44. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"label", DataFormat = global::ProtoBuf.DataFormat.Default)]
  45. public string label
  46. {
  47. get { return _label; }
  48. set { _label = value; }
  49. }
  50. private string _goto1 = "";
  51. /// <summary>
  52. /// 查看榜单
  53. /// </summary>
  54. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"goto1", DataFormat = global::ProtoBuf.DataFormat.Default)]
  55. [global::System.ComponentModel.DefaultValue("")]
  56. public string goto1
  57. {
  58. get { return _goto1; }
  59. set { _goto1 = value; }
  60. }
  61. private string _goto2 = "";
  62. /// <summary>
  63. /// 我要变强
  64. /// </summary>
  65. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"goto2", DataFormat = global::ProtoBuf.DataFormat.Default)]
  66. [global::System.ComponentModel.DefaultValue("")]
  67. public string goto2
  68. {
  69. get { return _goto2; }
  70. set { _goto2 = value; }
  71. }
  72. private string _tip = "";
  73. /// <summary>
  74. /// 提示
  75. /// </summary>
  76. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"tip", DataFormat = global::ProtoBuf.DataFormat.Default)]
  77. [global::System.ComponentModel.DefaultValue("")]
  78. public string tip
  79. {
  80. get { return _tip; }
  81. set { _tip = value; }
  82. }
  83. private global::ProtoBuf.IExtension extensionObject;
  84. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  85. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  86. }
  87. //---------------------------------------------------------------------------------------
  88. /// <summary>
  89. /// 冲榜大类中的每一天
  90. /// </summary>
  91. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryTodayInfo")]
  92. public partial class RevelryTodayInfo : global::ProtoBuf.IExtensible
  93. {
  94. public RevelryTodayInfo() {}
  95. private string _name;
  96. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  97. public string name
  98. {
  99. get { return _name; }
  100. set { _name = value; }
  101. }
  102. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryColumnInfo> _column = new global::System.Collections.Generic.List<pomelo.revelry.RevelryColumnInfo>();
  103. [global::ProtoBuf.ProtoMember(2, Name=@"column", DataFormat = global::ProtoBuf.DataFormat.Default)]
  104. public global::System.Collections.Generic.List<pomelo.revelry.RevelryColumnInfo> column
  105. {
  106. get { return _column; }
  107. }
  108. private global::ProtoBuf.IExtension extensionObject;
  109. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  110. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  111. }
  112. //---------------------------------------------------------------------------------------
  113. /// <summary>
  114. /// 冲榜大类
  115. /// </summary>
  116. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryTabInfo")]
  117. public partial class RevelryTabInfo : global::ProtoBuf.IExtensible
  118. {
  119. public RevelryTabInfo() {}
  120. private string _name;
  121. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  122. public string name
  123. {
  124. get { return _name; }
  125. set { _name = value; }
  126. }
  127. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryTodayInfo> _today = new global::System.Collections.Generic.List<pomelo.revelry.RevelryTodayInfo>();
  128. [global::ProtoBuf.ProtoMember(2, Name=@"today", DataFormat = global::ProtoBuf.DataFormat.Default)]
  129. public global::System.Collections.Generic.List<pomelo.revelry.RevelryTodayInfo> today
  130. {
  131. get { return _today; }
  132. }
  133. private global::ProtoBuf.IExtension extensionObject;
  134. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  135. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  136. }
  137. //---------------------------------------------------------------------------------------
  138. /// <summary>
  139. /// 兑换配置
  140. /// </summary>
  141. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"KingExchange")]
  142. public partial class KingExchange : global::ProtoBuf.IExtensible
  143. {
  144. public KingExchange() {}
  145. private int _tabId;
  146. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"tabId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  147. public int tabId
  148. {
  149. get { return _tabId; }
  150. set { _tabId = value; }
  151. }
  152. private string _tabName;
  153. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"tabName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  154. public string tabName
  155. {
  156. get { return _tabName; }
  157. set { _tabName = value; }
  158. }
  159. private string _item1code;
  160. /// <summary>
  161. /// 兑换获得物品
  162. /// </summary>
  163. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"item1code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  164. public string item1code
  165. {
  166. get { return _item1code; }
  167. set { _item1code = value; }
  168. }
  169. private int _item1num;
  170. /// <summary>
  171. /// 兑换获得数量
  172. /// </summary>
  173. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"item1num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  174. public int item1num
  175. {
  176. get { return _item1num; }
  177. set { _item1num = value; }
  178. }
  179. private string _item2code;
  180. /// <summary>
  181. /// 兑换消耗物品
  182. /// </summary>
  183. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"item2code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  184. public string item2code
  185. {
  186. get { return _item2code; }
  187. set { _item2code = value; }
  188. }
  189. private int _item2num;
  190. /// <summary>
  191. /// 兑换消耗数量
  192. /// </summary>
  193. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"item2num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. public int item2num
  195. {
  196. get { return _item2num; }
  197. set { _item2num = value; }
  198. }
  199. private string _avatarId;
  200. /// <summary>
  201. /// 展示模型
  202. /// </summary>
  203. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"avatarId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  204. public string avatarId
  205. {
  206. get { return _avatarId; }
  207. set { _avatarId = value; }
  208. }
  209. private string _tip = "";
  210. /// <summary>
  211. /// 提示
  212. /// </summary>
  213. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"tip", DataFormat = global::ProtoBuf.DataFormat.Default)]
  214. [global::System.ComponentModel.DefaultValue("")]
  215. public string tip
  216. {
  217. get { return _tip; }
  218. set { _tip = value; }
  219. }
  220. private int _showType = default(int);
  221. /// <summary>
  222. /// 显示类型
  223. /// </summary>
  224. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"showType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  225. [global::System.ComponentModel.DefaultValue(default(int))]
  226. public int showType
  227. {
  228. get { return _showType; }
  229. set { _showType = value; }
  230. }
  231. private global::ProtoBuf.IExtension extensionObject;
  232. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  233. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  234. }
  235. //---------------------------------------------------------------------------------------
  236. /// <summary>
  237. /// 拉取冲榜栏目请求
  238. /// </summary>
  239. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryGetColumnRequest")]
  240. public partial class RevelryGetColumnRequest : global::ProtoBuf.IExtensible
  241. {
  242. public RevelryGetColumnRequest() {}
  243. private global::ProtoBuf.IExtension extensionObject;
  244. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  245. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  246. }
  247. //---------------------------------------------------------------------------------------
  248. /// <summary>
  249. /// 拉取冲榜栏目响应
  250. /// </summary>
  251. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryGetColumnResponse")]
  252. public partial class RevelryGetColumnResponse : global::ProtoBuf.IExtensible
  253. {
  254. public RevelryGetColumnResponse() {}
  255. private int _s2c_code;
  256. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  257. public int s2c_code
  258. {
  259. get { return _s2c_code; }
  260. set { _s2c_code = value; }
  261. }
  262. private string _s2c_msg = "";
  263. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  264. [global::System.ComponentModel.DefaultValue("")]
  265. public string s2c_msg
  266. {
  267. get { return _s2c_msg; }
  268. set { _s2c_msg = value; }
  269. }
  270. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryTabInfo> _info = new global::System.Collections.Generic.List<pomelo.revelry.RevelryTabInfo>();
  271. [global::ProtoBuf.ProtoMember(3, Name=@"info", DataFormat = global::ProtoBuf.DataFormat.Default)]
  272. public global::System.Collections.Generic.List<pomelo.revelry.RevelryTabInfo> info
  273. {
  274. get { return _info; }
  275. }
  276. private readonly global::System.Collections.Generic.List<pomelo.revelry.KingExchange> _exchange = new global::System.Collections.Generic.List<pomelo.revelry.KingExchange>();
  277. /// <summary>
  278. /// 兑换展示(如果数组为空,则不显示)
  279. /// </summary>
  280. [global::ProtoBuf.ProtoMember(4, Name=@"exchange", DataFormat = global::ProtoBuf.DataFormat.Default)]
  281. public global::System.Collections.Generic.List<pomelo.revelry.KingExchange> exchange
  282. {
  283. get { return _exchange; }
  284. }
  285. private int _selectedIndex = default(int);
  286. /// <summary>
  287. /// 默认选中的info字段的下标,从0开始
  288. /// </summary>
  289. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"selectedIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  290. [global::System.ComponentModel.DefaultValue(default(int))]
  291. public int selectedIndex
  292. {
  293. get { return _selectedIndex; }
  294. set { _selectedIndex = value; }
  295. }
  296. private global::ProtoBuf.IExtension extensionObject;
  297. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  298. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  299. }
  300. //---------------------------------------------------------------------------------------
  301. /// <summary>
  302. /// 冲榜排行信息(数组内容参考排行榜)
  303. /// </summary>
  304. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRankInfo")]
  305. public partial class RevelryRankInfo : global::ProtoBuf.IExtensible
  306. {
  307. public RevelryRankInfo() {}
  308. private readonly global::System.Collections.Generic.List<string> _contents = new global::System.Collections.Generic.List<string>();
  309. /// <summary>
  310. /// 玩家或公会的信息数组
  311. /// </summary>
  312. [global::ProtoBuf.ProtoMember(1, Name=@"contents", DataFormat = global::ProtoBuf.DataFormat.Default)]
  313. public global::System.Collections.Generic.List<string> contents
  314. {
  315. get { return _contents; }
  316. }
  317. private readonly global::System.Collections.Generic.List<pomelo.Avatar> _avatars = new global::System.Collections.Generic.List<pomelo.Avatar>();
  318. /// <summary>
  319. /// 只有第一名才有此属性
  320. /// </summary>
  321. [global::ProtoBuf.ProtoMember(2, Name=@"avatars", DataFormat = global::ProtoBuf.DataFormat.Default)]
  322. public global::System.Collections.Generic.List<pomelo.Avatar> avatars
  323. {
  324. get { return _avatars; }
  325. }
  326. private global::ProtoBuf.IExtension extensionObject;
  327. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  328. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  329. }
  330. //---------------------------------------------------------------------------------------
  331. /// <summary>
  332. /// 排行奖励信息
  333. /// </summary>
  334. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryAwardInfo")]
  335. public partial class RevelryAwardInfo : global::ProtoBuf.IExtensible
  336. {
  337. public RevelryAwardInfo() {}
  338. private string _itemcode;
  339. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"itemcode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  340. public string itemcode
  341. {
  342. get { return _itemcode; }
  343. set { _itemcode = value; }
  344. }
  345. private int _itemcount;
  346. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"itemcount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  347. public int itemcount
  348. {
  349. get { return _itemcount; }
  350. set { _itemcount = value; }
  351. }
  352. private global::ProtoBuf.IExtension extensionObject;
  353. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  354. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  355. }
  356. //---------------------------------------------------------------------------------------
  357. /// <summary>
  358. /// 排行配置信息
  359. /// </summary>
  360. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryConfigInfo")]
  361. public partial class RevelryConfigInfo : global::ProtoBuf.IExtensible
  362. {
  363. public RevelryConfigInfo() {}
  364. private int _minRank;
  365. /// <summary>
  366. /// 最小排名
  367. /// </summary>
  368. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"minRank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  369. public int minRank
  370. {
  371. get { return _minRank; }
  372. set { _minRank = value; }
  373. }
  374. private int _maxRank;
  375. /// <summary>
  376. /// 最大排名
  377. /// </summary>
  378. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"maxRank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  379. public int maxRank
  380. {
  381. get { return _maxRank; }
  382. set { _maxRank = value; }
  383. }
  384. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryAwardInfo> _award = new global::System.Collections.Generic.List<pomelo.revelry.RevelryAwardInfo>();
  385. /// <summary>
  386. /// 奖励
  387. /// </summary>
  388. [global::ProtoBuf.ProtoMember(3, Name=@"award", DataFormat = global::ProtoBuf.DataFormat.Default)]
  389. public global::System.Collections.Generic.List<pomelo.revelry.RevelryAwardInfo> award
  390. {
  391. get { return _award; }
  392. }
  393. private pomelo.revelry.RevelryRankInfo _player = null;
  394. /// <summary>
  395. /// 上榜玩家
  396. /// </summary>
  397. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"player", DataFormat = global::ProtoBuf.DataFormat.Default)]
  398. [global::System.ComponentModel.DefaultValue(null)]
  399. public pomelo.revelry.RevelryRankInfo player
  400. {
  401. get { return _player; }
  402. set { _player = value; }
  403. }
  404. private global::ProtoBuf.IExtension extensionObject;
  405. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  406. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  407. }
  408. //---------------------------------------------------------------------------------------
  409. /// <summary>
  410. /// 拉取栏目中排行信息请求
  411. /// </summary>
  412. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryGetRankInfoRequest")]
  413. public partial class RevelryGetRankInfoRequest : global::ProtoBuf.IExtensible
  414. {
  415. public RevelryGetRankInfoRequest() {}
  416. private string _id;
  417. /// <summary>
  418. /// 编号
  419. /// </summary>
  420. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  421. public string id
  422. {
  423. get { return _id; }
  424. set { _id = value; }
  425. }
  426. private global::ProtoBuf.IExtension extensionObject;
  427. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  428. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  429. }
  430. //---------------------------------------------------------------------------------------
  431. /// <summary>
  432. /// 拉取栏目中排行信息响应
  433. /// </summary>
  434. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryGetRankInfoResponse")]
  435. public partial class RevelryGetRankInfoResponse : global::ProtoBuf.IExtensible
  436. {
  437. public RevelryGetRankInfoResponse() {}
  438. private int _s2c_code;
  439. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  440. public int s2c_code
  441. {
  442. get { return _s2c_code; }
  443. set { _s2c_code = value; }
  444. }
  445. private string _s2c_msg = "";
  446. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  447. [global::System.ComponentModel.DefaultValue("")]
  448. public string s2c_msg
  449. {
  450. get { return _s2c_msg; }
  451. set { _s2c_msg = value; }
  452. }
  453. private int _rankKey;
  454. /// <summary>
  455. /// 冲榜专用属性,用来标识是哪个排行榜
  456. /// </summary>
  457. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"rankKey", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  458. public int rankKey
  459. {
  460. get { return _rankKey; }
  461. set { _rankKey = value; }
  462. }
  463. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryConfigInfo> _config = new global::System.Collections.Generic.List<pomelo.revelry.RevelryConfigInfo>();
  464. [global::ProtoBuf.ProtoMember(4, Name=@"config", DataFormat = global::ProtoBuf.DataFormat.Default)]
  465. public global::System.Collections.Generic.List<pomelo.revelry.RevelryConfigInfo> config
  466. {
  467. get { return _config; }
  468. }
  469. private pomelo.revelry.RevelryRankInfo _self = null;
  470. /// <summary>
  471. /// 自己的信息
  472. /// </summary>
  473. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"self", DataFormat = global::ProtoBuf.DataFormat.Default)]
  474. [global::System.ComponentModel.DefaultValue(null)]
  475. public pomelo.revelry.RevelryRankInfo self
  476. {
  477. get { return _self; }
  478. set { _self = value; }
  479. }
  480. private int _selfRank = default(int);
  481. /// <summary>
  482. /// 自己的排名
  483. /// </summary>
  484. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"selfRank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  485. [global::System.ComponentModel.DefaultValue(default(int))]
  486. public int selfRank
  487. {
  488. get { return _selfRank; }
  489. set { _selfRank = value; }
  490. }
  491. private string _title = "";
  492. /// <summary>
  493. /// 第一名送的称号资源
  494. /// </summary>
  495. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"title", DataFormat = global::ProtoBuf.DataFormat.Default)]
  496. [global::System.ComponentModel.DefaultValue("")]
  497. public string title
  498. {
  499. get { return _title; }
  500. set { _title = value; }
  501. }
  502. private int _timeleft = default(int);
  503. /// <summary>
  504. /// 剩余时间(单位:秒)
  505. /// </summary>
  506. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"timeleft", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  507. [global::System.ComponentModel.DefaultValue(default(int))]
  508. public int timeleft
  509. {
  510. get { return _timeleft; }
  511. set { _timeleft = value; }
  512. }
  513. private global::ProtoBuf.IExtension extensionObject;
  514. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  515. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  516. }
  517. //---------------------------------------------------------------------------------------
  518. /// <summary>
  519. /// 冲榜活动兑换请求
  520. /// </summary>
  521. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryExchangeRequest")]
  522. public partial class RevelryExchangeRequest : global::ProtoBuf.IExtensible
  523. {
  524. public RevelryExchangeRequest() {}
  525. private int _id;
  526. /// <summary>
  527. /// 兑换配置中的tabId
  528. /// </summary>
  529. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  530. public int id
  531. {
  532. get { return _id; }
  533. set { _id = value; }
  534. }
  535. private int _num;
  536. /// <summary>
  537. /// 兑换数量
  538. /// </summary>
  539. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  540. public int num
  541. {
  542. get { return _num; }
  543. set { _num = value; }
  544. }
  545. private global::ProtoBuf.IExtension extensionObject;
  546. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  547. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  548. }
  549. //---------------------------------------------------------------------------------------
  550. /// <summary>
  551. /// 冲榜活动兑换响应
  552. /// </summary>
  553. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryExchangeResponse")]
  554. public partial class RevelryExchangeResponse : global::ProtoBuf.IExtensible
  555. {
  556. public RevelryExchangeResponse() {}
  557. private int _s2c_code;
  558. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  559. public int s2c_code
  560. {
  561. get { return _s2c_code; }
  562. set { _s2c_code = value; }
  563. }
  564. private string _s2c_msg = "";
  565. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  566. [global::System.ComponentModel.DefaultValue("")]
  567. public string s2c_msg
  568. {
  569. get { return _s2c_msg; }
  570. set { _s2c_msg = value; }
  571. }
  572. private global::ProtoBuf.IExtension extensionObject;
  573. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  574. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  575. }
  576. //---------------------------------------------------------------------------------------
  577. /// <summary>
  578. /// 累计充值栏目
  579. /// </summary>
  580. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeColumn")]
  581. public partial class RevelryRechargeColumn : global::ProtoBuf.IExtensible
  582. {
  583. public RevelryRechargeColumn() {}
  584. private int _day;
  585. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"day", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  586. public int day
  587. {
  588. get { return _day; }
  589. set { _day = value; }
  590. }
  591. private string _name;
  592. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  593. public string name
  594. {
  595. get { return _name; }
  596. set { _name = value; }
  597. }
  598. private global::ProtoBuf.IExtension extensionObject;
  599. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  600. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  601. }
  602. //---------------------------------------------------------------------------------------
  603. /// <summary>
  604. /// 拉取累计充值栏目请求
  605. /// </summary>
  606. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeGetColumnRequest")]
  607. public partial class RevelryRechargeGetColumnRequest : global::ProtoBuf.IExtensible
  608. {
  609. public RevelryRechargeGetColumnRequest() {}
  610. private global::ProtoBuf.IExtension extensionObject;
  611. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  612. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  613. }
  614. //---------------------------------------------------------------------------------------
  615. /// <summary>
  616. /// 拉取累计充值栏目响应
  617. /// </summary>
  618. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeGetColumnResponse")]
  619. public partial class RevelryRechargeGetColumnResponse : global::ProtoBuf.IExtensible
  620. {
  621. public RevelryRechargeGetColumnResponse() {}
  622. private int _s2c_code;
  623. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  624. public int s2c_code
  625. {
  626. get { return _s2c_code; }
  627. set { _s2c_code = value; }
  628. }
  629. private string _s2c_msg = "";
  630. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  631. [global::System.ComponentModel.DefaultValue("")]
  632. public string s2c_msg
  633. {
  634. get { return _s2c_msg; }
  635. set { _s2c_msg = value; }
  636. }
  637. private string _beginTime;
  638. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"beginTime", DataFormat = global::ProtoBuf.DataFormat.Default)]
  639. public string beginTime
  640. {
  641. get { return _beginTime; }
  642. set { _beginTime = value; }
  643. }
  644. private string _endTime;
  645. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"endTime", DataFormat = global::ProtoBuf.DataFormat.Default)]
  646. public string endTime
  647. {
  648. get { return _endTime; }
  649. set { _endTime = value; }
  650. }
  651. private string _describe;
  652. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"describe", DataFormat = global::ProtoBuf.DataFormat.Default)]
  653. public string describe
  654. {
  655. get { return _describe; }
  656. set { _describe = value; }
  657. }
  658. private int _today = default(int);
  659. /// <summary>
  660. /// 今天第几天
  661. /// </summary>
  662. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"today", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  663. [global::System.ComponentModel.DefaultValue(default(int))]
  664. public int today
  665. {
  666. get { return _today; }
  667. set { _today = value; }
  668. }
  669. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeColumn> _column = new global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeColumn>();
  670. [global::ProtoBuf.ProtoMember(7, Name=@"column", DataFormat = global::ProtoBuf.DataFormat.Default)]
  671. public global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeColumn> column
  672. {
  673. get { return _column; }
  674. }
  675. private global::ProtoBuf.IExtension extensionObject;
  676. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  677. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  678. }
  679. //---------------------------------------------------------------------------------------
  680. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeItem")]
  681. public partial class RevelryRechargeItem : global::ProtoBuf.IExtensible
  682. {
  683. public RevelryRechargeItem() {}
  684. private string _code;
  685. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  686. public string code
  687. {
  688. get { return _code; }
  689. set { _code = value; }
  690. }
  691. private int _groupCount;
  692. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  693. public int groupCount
  694. {
  695. get { return _groupCount; }
  696. set { _groupCount = value; }
  697. }
  698. private global::ProtoBuf.IExtension extensionObject;
  699. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  700. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  701. }
  702. //---------------------------------------------------------------------------------------
  703. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeAwardInfo")]
  704. public partial class RevelryRechargeAwardInfo : global::ProtoBuf.IExtensible
  705. {
  706. public RevelryRechargeAwardInfo() {}
  707. private int _id;
  708. /// <summary>
  709. /// 领取奖励的唯一编号
  710. /// </summary>
  711. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  712. public int id
  713. {
  714. get { return _id; }
  715. set { _id = value; }
  716. }
  717. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeItem> _item = new global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeItem>();
  718. [global::ProtoBuf.ProtoMember(2, Name=@"item", DataFormat = global::ProtoBuf.DataFormat.Default)]
  719. public global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeItem> item
  720. {
  721. get { return _item; }
  722. }
  723. private int _state;
  724. /// <summary>
  725. /// 0未领取 1可领取 2已领取
  726. /// </summary>
  727. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  728. public int state
  729. {
  730. get { return _state; }
  731. set { _state = value; }
  732. }
  733. private int _currNum;
  734. /// <summary>
  735. /// 当前进度
  736. /// </summary>
  737. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"currNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  738. public int currNum
  739. {
  740. get { return _currNum; }
  741. set { _currNum = value; }
  742. }
  743. private int _needNum;
  744. /// <summary>
  745. /// 总进度
  746. /// </summary>
  747. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"needNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  748. public int needNum
  749. {
  750. get { return _needNum; }
  751. set { _needNum = value; }
  752. }
  753. private global::ProtoBuf.IExtension extensionObject;
  754. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  755. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  756. }
  757. //---------------------------------------------------------------------------------------
  758. /// <summary>
  759. /// 拉取累计充值信息请求
  760. /// </summary>
  761. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeGetInfoRequest")]
  762. public partial class RevelryRechargeGetInfoRequest : global::ProtoBuf.IExtensible
  763. {
  764. public RevelryRechargeGetInfoRequest() {}
  765. private int _day;
  766. /// <summary>
  767. /// 天数
  768. /// </summary>
  769. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"day", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  770. public int day
  771. {
  772. get { return _day; }
  773. set { _day = value; }
  774. }
  775. private global::ProtoBuf.IExtension extensionObject;
  776. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  777. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  778. }
  779. //---------------------------------------------------------------------------------------
  780. /// <summary>
  781. /// 拉取累计充值信息响应
  782. /// </summary>
  783. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeGetInfoResponse")]
  784. public partial class RevelryRechargeGetInfoResponse : global::ProtoBuf.IExtensible
  785. {
  786. public RevelryRechargeGetInfoResponse() {}
  787. private int _s2c_code;
  788. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  789. public int s2c_code
  790. {
  791. get { return _s2c_code; }
  792. set { _s2c_code = value; }
  793. }
  794. private string _s2c_msg = "";
  795. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  796. [global::System.ComponentModel.DefaultValue("")]
  797. public string s2c_msg
  798. {
  799. get { return _s2c_msg; }
  800. set { _s2c_msg = value; }
  801. }
  802. private readonly global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeAwardInfo> _info = new global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeAwardInfo>();
  803. [global::ProtoBuf.ProtoMember(3, Name=@"info", DataFormat = global::ProtoBuf.DataFormat.Default)]
  804. public global::System.Collections.Generic.List<pomelo.revelry.RevelryRechargeAwardInfo> info
  805. {
  806. get { return _info; }
  807. }
  808. private global::ProtoBuf.IExtension extensionObject;
  809. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  810. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  811. }
  812. //---------------------------------------------------------------------------------------
  813. /// <summary>
  814. /// 领取充值奖励
  815. /// </summary>
  816. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeAwardRequest")]
  817. public partial class RevelryRechargeAwardRequest : global::ProtoBuf.IExtensible
  818. {
  819. public RevelryRechargeAwardRequest() {}
  820. private int _id;
  821. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  822. public int id
  823. {
  824. get { return _id; }
  825. set { _id = value; }
  826. }
  827. private global::ProtoBuf.IExtension extensionObject;
  828. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  829. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  830. }
  831. //---------------------------------------------------------------------------------------
  832. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RevelryRechargeAwardResponse")]
  833. public partial class RevelryRechargeAwardResponse : global::ProtoBuf.IExtensible
  834. {
  835. public RevelryRechargeAwardResponse() {}
  836. private int _s2c_code;
  837. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  838. public int s2c_code
  839. {
  840. get { return _s2c_code; }
  841. set { _s2c_code = value; }
  842. }
  843. private string _s2c_msg = "";
  844. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  845. [global::System.ComponentModel.DefaultValue("")]
  846. public string s2c_msg
  847. {
  848. get { return _s2c_msg; }
  849. set { _s2c_msg = value; }
  850. }
  851. private global::ProtoBuf.IExtension extensionObject;
  852. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  853. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  854. }
  855. }