_arenaHandler.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486
  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-03-14
  12. // * 用途= 竞技场
  13. // ***************************************************************************/
  14. // Generated from: arenaHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ArenaInfoRequest")]
  20. public partial class ArenaInfoRequest : global::ProtoBuf.IExtensible
  21. {
  22. public ArenaInfoRequest() {}
  23. private global::ProtoBuf.IExtension extensionObject;
  24. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  25. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  26. }
  27. //---------------------------------------------------------------------------------------
  28. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ArenaInfoResponse")]
  29. public partial class ArenaInfoResponse : global::ProtoBuf.IExtensible
  30. {
  31. public ArenaInfoResponse() {}
  32. private int _s2c_code;
  33. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  34. public int s2c_code
  35. {
  36. get { return _s2c_code; }
  37. set { _s2c_code = value; }
  38. }
  39. private string _s2c_msg = "";
  40. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  41. [global::System.ComponentModel.DefaultValue("")]
  42. public string s2c_msg
  43. {
  44. get { return _s2c_msg; }
  45. set { _s2c_msg = value; }
  46. }
  47. private int _s2c_singleRank = default(int);
  48. /// <summary>
  49. /// 竞技场单天排名,为0表示没有排名
  50. /// </summary>
  51. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_singleRank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  52. [global::System.ComponentModel.DefaultValue(default(int))]
  53. public int s2c_singleRank
  54. {
  55. get { return _s2c_singleRank; }
  56. set { _s2c_singleRank = value; }
  57. }
  58. private int _s2c_totalRank = default(int);
  59. /// <summary>
  60. /// 上赛季排名, 为0表示没有排名
  61. /// </summary>
  62. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_totalRank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  63. [global::System.ComponentModel.DefaultValue(default(int))]
  64. public int s2c_totalRank
  65. {
  66. get { return _s2c_totalRank; }
  67. set { _s2c_totalRank = value; }
  68. }
  69. private int _s2c_singleReward = default(int);
  70. /// <summary>
  71. /// 单天排名奖励,0-不可领取 1-可领取 2-已领取
  72. /// </summary>
  73. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_singleReward", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  74. [global::System.ComponentModel.DefaultValue(default(int))]
  75. public int s2c_singleReward
  76. {
  77. get { return _s2c_singleReward; }
  78. set { _s2c_singleReward = value; }
  79. }
  80. private int _s2c_totalReward = default(int);
  81. /// <summary>
  82. /// 上赛季排名奖励,0-不可领取 1-可领取 2-已领取
  83. /// </summary>
  84. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"s2c_totalReward", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  85. [global::System.ComponentModel.DefaultValue(default(int))]
  86. public int s2c_totalReward
  87. {
  88. get { return _s2c_totalReward; }
  89. set { _s2c_totalReward = value; }
  90. }
  91. private int _s2c_currentTotalRank = default(int);
  92. /// <summary>
  93. /// 当前赛季排名,为0表示没有排名
  94. /// </summary>
  95. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"s2c_currentTotalRank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  96. [global::System.ComponentModel.DefaultValue(default(int))]
  97. public int s2c_currentTotalRank
  98. {
  99. get { return _s2c_currentTotalRank; }
  100. set { _s2c_currentTotalRank = value; }
  101. }
  102. private int _s2c_currentTotalScore = default(int);
  103. /// <summary>
  104. /// 当前赛季分数
  105. /// </summary>
  106. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"s2c_currentTotalScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  107. [global::System.ComponentModel.DefaultValue(default(int))]
  108. public int s2c_currentTotalScore
  109. {
  110. get { return _s2c_currentTotalScore; }
  111. set { _s2c_currentTotalScore = value; }
  112. }
  113. private long _s2c_seasonEndTime = default(long);
  114. /// <summary>
  115. /// 赛季结束时间
  116. /// </summary>
  117. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"s2c_seasonEndTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  118. [global::System.ComponentModel.DefaultValue(default(long))]
  119. public long s2c_seasonEndTime
  120. {
  121. get { return _s2c_seasonEndTime; }
  122. set { _s2c_seasonEndTime = value; }
  123. }
  124. private global::ProtoBuf.IExtension extensionObject;
  125. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  126. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  127. }
  128. //---------------------------------------------------------------------------------------
  129. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterArenaAreaRequest")]
  130. public partial class EnterArenaAreaRequest : global::ProtoBuf.IExtensible
  131. {
  132. public EnterArenaAreaRequest() {}
  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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterArenaAreaResponse")]
  139. public partial class EnterArenaAreaResponse : global::ProtoBuf.IExtensible
  140. {
  141. public EnterArenaAreaResponse() {}
  142. private int _s2c_code;
  143. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  144. public int s2c_code
  145. {
  146. get { return _s2c_code; }
  147. set { _s2c_code = value; }
  148. }
  149. private string _s2c_msg = "";
  150. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  151. [global::System.ComponentModel.DefaultValue("")]
  152. public string s2c_msg
  153. {
  154. get { return _s2c_msg; }
  155. set { _s2c_msg = value; }
  156. }
  157. private global::ProtoBuf.IExtension extensionObject;
  158. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  159. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  160. }
  161. //---------------------------------------------------------------------------------------
  162. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"LeaveArenaAreaRequest")]
  163. public partial class LeaveArenaAreaRequest : global::ProtoBuf.IExtensible
  164. {
  165. public LeaveArenaAreaRequest() {}
  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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"LeaveArenaAreaResponse")]
  172. public partial class LeaveArenaAreaResponse : global::ProtoBuf.IExtensible
  173. {
  174. public LeaveArenaAreaResponse() {}
  175. private int _s2c_code;
  176. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  177. public int s2c_code
  178. {
  179. get { return _s2c_code; }
  180. set { _s2c_code = value; }
  181. }
  182. private string _s2c_msg = "";
  183. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  184. [global::System.ComponentModel.DefaultValue("")]
  185. public string s2c_msg
  186. {
  187. get { return _s2c_msg; }
  188. set { _s2c_msg = value; }
  189. }
  190. private global::ProtoBuf.IExtension extensionObject;
  191. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  192. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  193. }
  194. //---------------------------------------------------------------------------------------
  195. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ArenaRewardRequest")]
  196. public partial class ArenaRewardRequest : global::ProtoBuf.IExtensible
  197. {
  198. public ArenaRewardRequest() {}
  199. private int _c2s_type;
  200. /// <summary>
  201. /// 1 领取单场奖励,2 领取当日排名奖励
  202. /// </summary>
  203. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  204. public int c2s_type
  205. {
  206. get { return _c2s_type; }
  207. set { _c2s_type = value; }
  208. }
  209. private global::ProtoBuf.IExtension extensionObject;
  210. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  211. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  212. }
  213. //---------------------------------------------------------------------------------------
  214. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ArenaRewardResponse")]
  215. public partial class ArenaRewardResponse : global::ProtoBuf.IExtensible
  216. {
  217. public ArenaRewardResponse() {}
  218. private int _s2c_code;
  219. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  220. public int s2c_code
  221. {
  222. get { return _s2c_code; }
  223. set { _s2c_code = value; }
  224. }
  225. private string _s2c_msg = "";
  226. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  227. [global::System.ComponentModel.DefaultValue("")]
  228. public string s2c_msg
  229. {
  230. get { return _s2c_msg; }
  231. set { _s2c_msg = 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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ArenaBattleScore")]
  239. public partial class ArenaBattleScore : global::ProtoBuf.IExtensible
  240. {
  241. public ArenaBattleScore() {}
  242. private string _name;
  243. /// <summary>
  244. /// 玩家名称
  245. /// </summary>
  246. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  247. public string name
  248. {
  249. get { return _name; }
  250. set { _name = value; }
  251. }
  252. private int _score;
  253. /// <summary>
  254. /// 分数
  255. /// </summary>
  256. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"score", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  257. public int score
  258. {
  259. get { return _score; }
  260. set { _score = value; }
  261. }
  262. private int _pro;
  263. /// <summary>
  264. /// 玩家职业
  265. /// </summary>
  266. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"pro", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  267. public int pro
  268. {
  269. get { return _pro; }
  270. set { _pro = value; }
  271. }
  272. private string _id = "";
  273. /// <summary>
  274. /// 玩家id
  275. /// </summary>
  276. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  277. [global::System.ComponentModel.DefaultValue("")]
  278. public string id
  279. {
  280. get { return _id; }
  281. set { _id = value; }
  282. }
  283. private global::ProtoBuf.IExtension extensionObject;
  284. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  285. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  286. }
  287. //---------------------------------------------------------------------------------------
  288. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnArenaBattleInfoPush")]
  289. public partial class OnArenaBattleInfoPush : global::ProtoBuf.IExtensible
  290. {
  291. public OnArenaBattleInfoPush() {}
  292. private int _s2c_code;
  293. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  294. public int s2c_code
  295. {
  296. get { return _s2c_code; }
  297. set { _s2c_code = value; }
  298. }
  299. private int _s2c_killCount;
  300. /// <summary>
  301. /// 连杀次数
  302. /// </summary>
  303. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"s2c_killCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  304. public int s2c_killCount
  305. {
  306. get { return _s2c_killCount; }
  307. set { _s2c_killCount = value; }
  308. }
  309. private int _s2c_index;
  310. /// <summary>
  311. /// 当前排名
  312. /// </summary>
  313. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"s2c_index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  314. public int s2c_index
  315. {
  316. get { return _s2c_index; }
  317. set { _s2c_index = value; }
  318. }
  319. private int _s2c_score;
  320. /// <summary>
  321. /// 当前积分
  322. /// </summary>
  323. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"s2c_score", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  324. public int s2c_score
  325. {
  326. get { return _s2c_score; }
  327. set { _s2c_score = value; }
  328. }
  329. private readonly global::System.Collections.Generic.List<pomelo.area.ArenaBattleScore> _s2c_scores = new global::System.Collections.Generic.List<pomelo.area.ArenaBattleScore>();
  330. /// <summary>
  331. /// 积分排名
  332. /// </summary>
  333. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_scores", DataFormat = global::ProtoBuf.DataFormat.Default)]
  334. public global::System.Collections.Generic.List<pomelo.area.ArenaBattleScore> s2c_scores
  335. {
  336. get { return _s2c_scores; }
  337. }
  338. private int _s2c_playerCount;
  339. /// <summary>
  340. /// 参与人数
  341. /// </summary>
  342. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"s2c_playerCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  343. public int s2c_playerCount
  344. {
  345. get { return _s2c_playerCount; }
  346. set { _s2c_playerCount = value; }
  347. }
  348. private readonly global::System.Collections.Generic.List<pomelo.area.ArenaBattleScore> _s2c_killCountList = new global::System.Collections.Generic.List<pomelo.area.ArenaBattleScore>();
  349. /// <summary>
  350. /// 连杀排名列表
  351. /// </summary>
  352. [global::ProtoBuf.ProtoMember(7, Name=@"s2c_killCountList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  353. public global::System.Collections.Generic.List<pomelo.area.ArenaBattleScore> s2c_killCountList
  354. {
  355. get { return _s2c_killCountList; }
  356. }
  357. private global::ProtoBuf.IExtension extensionObject;
  358. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  359. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  360. }
  361. //---------------------------------------------------------------------------------------
  362. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnArenaBattleEndPush")]
  363. public partial class OnArenaBattleEndPush : global::ProtoBuf.IExtensible
  364. {
  365. public OnArenaBattleEndPush() {}
  366. private int _s2c_code;
  367. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  368. public int s2c_code
  369. {
  370. get { return _s2c_code; }
  371. set { _s2c_code = value; }
  372. }
  373. private int _outtime;
  374. /// <summary>
  375. /// 强制退出时间
  376. /// </summary>
  377. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"outtime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  378. public int outtime
  379. {
  380. get { return _outtime; }
  381. set { _outtime = value; }
  382. }
  383. private int _addKillValue;
  384. /// <summary>
  385. /// 增加杀意值
  386. /// </summary>
  387. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"addKillValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  388. public int addKillValue
  389. {
  390. get { return _addKillValue; }
  391. set { _addKillValue = value; }
  392. }
  393. private global::ProtoBuf.IExtension extensionObject;
  394. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  395. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  396. }
  397. }