_guildBossHandler.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  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. // * 作者= feil
  11. // * 创建时间= 2017-12-15
  12. // * 用途= 公会BOSS战
  13. // ***************************************************************************
  14. // Generated from: guildBossHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterGuildBossAreaRequest")]
  20. public partial class EnterGuildBossAreaRequest : global::ProtoBuf.IExtensible
  21. {
  22. public EnterGuildBossAreaRequest() {}
  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=@"EnterGuildBossAreaResponse")]
  29. public partial class EnterGuildBossAreaResponse : global::ProtoBuf.IExtensible
  30. {
  31. public EnterGuildBossAreaResponse() {}
  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 global::ProtoBuf.IExtension extensionObject;
  48. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  49. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  50. }
  51. //---------------------------------------------------------------------------------------
  52. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GuildBossRankInfo")]
  53. public partial class GuildBossRankInfo : global::ProtoBuf.IExtensible
  54. {
  55. public GuildBossRankInfo() {}
  56. private int _rank;
  57. /// <summary>
  58. /// 排名
  59. /// </summary>
  60. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"rank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  61. public int rank
  62. {
  63. get { return _rank; }
  64. set { _rank = value; }
  65. }
  66. private string _id;
  67. /// <summary>
  68. /// 玩家id
  69. /// </summary>
  70. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  71. public string id
  72. {
  73. get { return _id; }
  74. set { _id = value; }
  75. }
  76. private int _pro;
  77. /// <summary>
  78. /// 职业
  79. /// </summary>
  80. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"pro", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  81. public int pro
  82. {
  83. get { return _pro; }
  84. set { _pro = value; }
  85. }
  86. private string _name;
  87. /// <summary>
  88. /// 名字
  89. /// </summary>
  90. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  91. public string name
  92. {
  93. get { return _name; }
  94. set { _name = value; }
  95. }
  96. private long _damage;
  97. /// <summary>
  98. /// 伤害值
  99. /// </summary>
  100. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"damage", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  101. public long damage
  102. {
  103. get { return _damage; }
  104. set { _damage = value; }
  105. }
  106. private int _level;
  107. /// <summary>
  108. /// 玩家等级
  109. /// </summary>
  110. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  111. public int level
  112. {
  113. get { return _level; }
  114. set { _level = value; }
  115. }
  116. private int _sex = default(int);
  117. /// <summary>
  118. /// 性别
  119. /// </summary>
  120. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"sex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  121. [global::System.ComponentModel.DefaultValue(default(int))]
  122. public int sex
  123. {
  124. get { return _sex; }
  125. set { _sex = value; }
  126. }
  127. private global::ProtoBuf.IExtension extensionObject;
  128. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  129. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  130. }
  131. //---------------------------------------------------------------------------------------
  132. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetGuildBossInfoRequest")]
  133. public partial class GetGuildBossInfoRequest : global::ProtoBuf.IExtensible
  134. {
  135. public GetGuildBossInfoRequest() {}
  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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetGuildBossInfoResponse")]
  142. public partial class GetGuildBossInfoResponse : global::ProtoBuf.IExtensible
  143. {
  144. public GetGuildBossInfoResponse() {}
  145. private int _s2c_code;
  146. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  147. public int s2c_code
  148. {
  149. get { return _s2c_code; }
  150. set { _s2c_code = value; }
  151. }
  152. private string _s2c_msg = "";
  153. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  154. [global::System.ComponentModel.DefaultValue("")]
  155. public string s2c_msg
  156. {
  157. get { return _s2c_msg; }
  158. set { _s2c_msg = value; }
  159. }
  160. private bool _killed = default(bool);
  161. /// <summary>
  162. /// 仙盟BOSS已被击杀
  163. /// </summary>
  164. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"killed", DataFormat = global::ProtoBuf.DataFormat.Default)]
  165. [global::System.ComponentModel.DefaultValue(default(bool))]
  166. public bool killed
  167. {
  168. get { return _killed; }
  169. set { _killed = value; }
  170. }
  171. private readonly global::System.Collections.Generic.List<pomelo.area.GuildBossRankInfo> _rankList = new global::System.Collections.Generic.List<pomelo.area.GuildBossRankInfo>();
  172. /// <summary>
  173. /// 个人伤害排行
  174. /// </summary>
  175. [global::ProtoBuf.ProtoMember(4, Name=@"rankList", DataFormat = global::ProtoBuf.DataFormat.Default)]
  176. public global::System.Collections.Generic.List<pomelo.area.GuildBossRankInfo> rankList
  177. {
  178. get { return _rankList; }
  179. }
  180. private global::ProtoBuf.IExtension extensionObject;
  181. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  182. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  183. }
  184. //---------------------------------------------------------------------------------------
  185. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GuildBossInspireRequest")]
  186. public partial class GuildBossInspireRequest : global::ProtoBuf.IExtensible
  187. {
  188. public GuildBossInspireRequest() {}
  189. private int _c2s_index;
  190. /// <summary>
  191. /// 鼓舞类型,1个人,2仙盟
  192. /// </summary>
  193. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. public int c2s_index
  195. {
  196. get { return _c2s_index; }
  197. set { _c2s_index = value; }
  198. }
  199. private global::ProtoBuf.IExtension extensionObject;
  200. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  201. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  202. }
  203. //---------------------------------------------------------------------------------------
  204. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GuildBossInspireResponse")]
  205. public partial class GuildBossInspireResponse : global::ProtoBuf.IExtensible
  206. {
  207. public GuildBossInspireResponse() {}
  208. private int _s2c_code;
  209. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  210. public int s2c_code
  211. {
  212. get { return _s2c_code; }
  213. set { _s2c_code = value; }
  214. }
  215. private string _s2c_msg = "";
  216. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  217. [global::System.ComponentModel.DefaultValue("")]
  218. public string s2c_msg
  219. {
  220. get { return _s2c_msg; }
  221. set { _s2c_msg = value; }
  222. }
  223. private global::ProtoBuf.IExtension extensionObject;
  224. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  225. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  226. }
  227. //---------------------------------------------------------------------------------------
  228. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"HurtRankInfo")]
  229. public partial class HurtRankInfo : global::ProtoBuf.IExtensible
  230. {
  231. public HurtRankInfo() {}
  232. private int _rank;
  233. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"rank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  234. public int rank
  235. {
  236. get { return _rank; }
  237. set { _rank = value; }
  238. }
  239. private string _id;
  240. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  241. public string id
  242. {
  243. get { return _id; }
  244. set { _id = value; }
  245. }
  246. private string _name;
  247. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  248. public string name
  249. {
  250. get { return _name; }
  251. set { _name = value; }
  252. }
  253. private long _hurt;
  254. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"hurt", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  255. public long hurt
  256. {
  257. get { return _hurt; }
  258. set { _hurt = value; }
  259. }
  260. private global::ProtoBuf.IExtension extensionObject;
  261. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  262. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  263. }
  264. //---------------------------------------------------------------------------------------
  265. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnHurtRankChangePush")]
  266. public partial class OnHurtRankChangePush : global::ProtoBuf.IExtensible
  267. {
  268. public OnHurtRankChangePush() {}
  269. private int _s2c_code;
  270. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  271. public int s2c_code
  272. {
  273. get { return _s2c_code; }
  274. set { _s2c_code = value; }
  275. }
  276. private readonly global::System.Collections.Generic.List<pomelo.area.HurtRankInfo> _otherInfo = new global::System.Collections.Generic.List<pomelo.area.HurtRankInfo>();
  277. [global::ProtoBuf.ProtoMember(2, Name=@"otherInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  278. public global::System.Collections.Generic.List<pomelo.area.HurtRankInfo> otherInfo
  279. {
  280. get { return _otherInfo; }
  281. }
  282. private pomelo.area.HurtRankInfo _myInfo = null;
  283. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"myInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  284. [global::System.ComponentModel.DefaultValue(null)]
  285. public pomelo.area.HurtRankInfo myInfo
  286. {
  287. get { return _myInfo; }
  288. set { _myInfo = value; }
  289. }
  290. private readonly global::System.Collections.Generic.List<pomelo.area.HurtRankInfo> _otherGuildInfo = new global::System.Collections.Generic.List<pomelo.area.HurtRankInfo>();
  291. [global::ProtoBuf.ProtoMember(4, Name=@"otherGuildInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  292. public global::System.Collections.Generic.List<pomelo.area.HurtRankInfo> otherGuildInfo
  293. {
  294. get { return _otherGuildInfo; }
  295. }
  296. private pomelo.area.HurtRankInfo _myGuildInfo = null;
  297. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"myGuildInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  298. [global::System.ComponentModel.DefaultValue(null)]
  299. public pomelo.area.HurtRankInfo myGuildInfo
  300. {
  301. get { return _myGuildInfo; }
  302. set { _myGuildInfo = value; }
  303. }
  304. private int _join_count;
  305. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"join_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  306. public int join_count
  307. {
  308. get { return _join_count; }
  309. set { _join_count = 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=@"OnQuitGuildBossPush")]
  317. public partial class OnQuitGuildBossPush : global::ProtoBuf.IExtensible
  318. {
  319. public OnQuitGuildBossPush() {}
  320. private int _endSeconds;
  321. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"endSeconds", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  322. public int endSeconds
  323. {
  324. get { return _endSeconds; }
  325. set { _endSeconds = value; }
  326. }
  327. private global::ProtoBuf.IExtension extensionObject;
  328. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  329. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  330. }
  331. //---------------------------------------------------------------------------------------
  332. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnInspireChangePush")]
  333. public partial class OnInspireChangePush : global::ProtoBuf.IExtensible
  334. {
  335. public OnInspireChangePush() {}
  336. private int _s2c_code;
  337. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  338. public int s2c_code
  339. {
  340. get { return _s2c_code; }
  341. set { _s2c_code = value; }
  342. }
  343. private int _totalTimes = default(int);
  344. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"totalTimes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  345. [global::System.ComponentModel.DefaultValue(default(int))]
  346. public int totalTimes
  347. {
  348. get { return _totalTimes; }
  349. set { _totalTimes = value; }
  350. }
  351. private int _totalValue = default(int);
  352. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"totalValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  353. [global::System.ComponentModel.DefaultValue(default(int))]
  354. public int totalValue
  355. {
  356. get { return _totalValue; }
  357. set { _totalValue = value; }
  358. }
  359. private int _index = default(int);
  360. /// <summary>
  361. /// 类型
  362. /// </summary>
  363. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  364. [global::System.ComponentModel.DefaultValue(default(int))]
  365. public int index
  366. {
  367. get { return _index; }
  368. set { _index = value; }
  369. }
  370. private global::ProtoBuf.IExtension extensionObject;
  371. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  372. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  373. }
  374. //---------------------------------------------------------------------------------------
  375. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnEndGuildBossPush")]
  376. public partial class OnEndGuildBossPush : global::ProtoBuf.IExtensible
  377. {
  378. public OnEndGuildBossPush() {}
  379. private string _info;
  380. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"info", DataFormat = global::ProtoBuf.DataFormat.Default)]
  381. public string info
  382. {
  383. get { return _info; }
  384. set { _info = value; }
  385. }
  386. private int _sec;
  387. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"sec", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  388. public int sec
  389. {
  390. get { return _sec; }
  391. set { _sec = 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. }