_mapHandler.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  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. // * 创建时间= 2015-08-27
  12. // * 用途= 地图处理器
  13. // ***************************************************************************
  14. // Generated from: mapHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MapUnit")]
  20. public partial class MapUnit : global::ProtoBuf.IExtensible
  21. {
  22. public MapUnit() {}
  23. private int _templateId;
  24. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  25. public int templateId
  26. {
  27. get { return _templateId; }
  28. set { _templateId = value; }
  29. }
  30. private int _x;
  31. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"x", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  32. public int x
  33. {
  34. get { return _x; }
  35. set { _x = value; }
  36. }
  37. private int _y;
  38. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"y", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  39. public int y
  40. {
  41. get { return _y; }
  42. set { _y = value; }
  43. }
  44. private string _name = "";
  45. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  46. [global::System.ComponentModel.DefaultValue("")]
  47. public string name
  48. {
  49. get { return _name; }
  50. set { _name = value; }
  51. }
  52. private int _type = default(int);
  53. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  54. [global::System.ComponentModel.DefaultValue(default(int))]
  55. public int type
  56. {
  57. get { return _type; }
  58. set { _type = value; }
  59. }
  60. private int _lv = default(int);
  61. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"lv", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  62. [global::System.ComponentModel.DefaultValue(default(int))]
  63. public int lv
  64. {
  65. get { return _lv; }
  66. set { _lv = value; }
  67. }
  68. private int _force = default(int);
  69. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"force", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  70. [global::System.ComponentModel.DefaultValue(default(int))]
  71. public int force
  72. {
  73. get { return _force; }
  74. set { _force = value; }
  75. }
  76. private global::ProtoBuf.IExtension extensionObject;
  77. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  78. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  79. }
  80. //---------------------------------------------------------------------------------------
  81. /// <summary>
  82. /// 活动特殊地图开放
  83. /// </summary>
  84. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MapOpenInfo")]
  85. public partial class MapOpenInfo : global::ProtoBuf.IExtensible
  86. {
  87. public MapOpenInfo() {}
  88. private int _id;
  89. /// <summary>
  90. /// 地图id
  91. /// </summary>
  92. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  93. public int id
  94. {
  95. get { return _id; }
  96. set { _id = value; }
  97. }
  98. private bool _isOpen;
  99. /// <summary>
  100. /// 是否开放
  101. /// </summary>
  102. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"isOpen", DataFormat = global::ProtoBuf.DataFormat.Default)]
  103. public bool isOpen
  104. {
  105. get { return _isOpen; }
  106. set { _isOpen = value; }
  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. /// 369
  115. /// </summary>
  116. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetWorldMapListRequest")]
  117. public partial class GetWorldMapListRequest : global::ProtoBuf.IExtensible
  118. {
  119. public GetWorldMapListRequest() {}
  120. private global::ProtoBuf.IExtension extensionObject;
  121. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  122. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  123. }
  124. //---------------------------------------------------------------------------------------
  125. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetWorldMapListResponse")]
  126. public partial class GetWorldMapListResponse : global::ProtoBuf.IExtensible
  127. {
  128. public GetWorldMapListResponse() {}
  129. private int _s2c_code;
  130. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  131. public int s2c_code
  132. {
  133. get { return _s2c_code; }
  134. set { _s2c_code = value; }
  135. }
  136. private string _s2c_msg = "";
  137. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  138. [global::System.ComponentModel.DefaultValue("")]
  139. public string s2c_msg
  140. {
  141. get { return _s2c_msg; }
  142. set { _s2c_msg = value; }
  143. }
  144. private readonly global::System.Collections.Generic.List<pomelo.area.MapOpenInfo> _data = new global::System.Collections.Generic.List<pomelo.area.MapOpenInfo>();
  145. [global::ProtoBuf.ProtoMember(3, Name=@"data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  146. public global::System.Collections.Generic.List<pomelo.area.MapOpenInfo> data
  147. {
  148. get { return _data; }
  149. }
  150. private global::ProtoBuf.IExtension extensionObject;
  151. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  152. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  153. }
  154. //---------------------------------------------------------------------------------------
  155. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetPlayerListRequest")]
  156. public partial class GetPlayerListRequest : global::ProtoBuf.IExtensible
  157. {
  158. public GetPlayerListRequest() {}
  159. private global::ProtoBuf.IExtension extensionObject;
  160. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  161. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  162. }
  163. //---------------------------------------------------------------------------------------
  164. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetPlayerListResponse")]
  165. public partial class GetPlayerListResponse : global::ProtoBuf.IExtensible
  166. {
  167. public GetPlayerListResponse() {}
  168. private int _s2c_code;
  169. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  170. public int s2c_code
  171. {
  172. get { return _s2c_code; }
  173. set { _s2c_code = value; }
  174. }
  175. private string _s2c_msg = "";
  176. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  177. [global::System.ComponentModel.DefaultValue("")]
  178. public string s2c_msg
  179. {
  180. get { return _s2c_msg; }
  181. set { _s2c_msg = value; }
  182. }
  183. private readonly global::System.Collections.Generic.List<pomelo.area.MapUnit> _data = new global::System.Collections.Generic.List<pomelo.area.MapUnit>();
  184. [global::ProtoBuf.ProtoMember(3, Name=@"data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  185. public global::System.Collections.Generic.List<pomelo.area.MapUnit> data
  186. {
  187. get { return _data; }
  188. }
  189. private global::ProtoBuf.IExtension extensionObject;
  190. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  191. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  192. }
  193. //---------------------------------------------------------------------------------------
  194. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMonsterListRequest")]
  195. public partial class GetMonsterListRequest : global::ProtoBuf.IExtensible
  196. {
  197. public GetMonsterListRequest() {}
  198. private global::ProtoBuf.IExtension extensionObject;
  199. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  200. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  201. }
  202. //---------------------------------------------------------------------------------------
  203. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMonsterListResponse")]
  204. public partial class GetMonsterListResponse : global::ProtoBuf.IExtensible
  205. {
  206. public GetMonsterListResponse() {}
  207. private int _s2c_code;
  208. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  209. public int s2c_code
  210. {
  211. get { return _s2c_code; }
  212. set { _s2c_code = value; }
  213. }
  214. private string _s2c_msg = "";
  215. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  216. [global::System.ComponentModel.DefaultValue("")]
  217. public string s2c_msg
  218. {
  219. get { return _s2c_msg; }
  220. set { _s2c_msg = value; }
  221. }
  222. private readonly global::System.Collections.Generic.List<pomelo.area.MapUnit> _data = new global::System.Collections.Generic.List<pomelo.area.MapUnit>();
  223. [global::ProtoBuf.ProtoMember(3, Name=@"data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  224. public global::System.Collections.Generic.List<pomelo.area.MapUnit> data
  225. {
  226. get { return _data; }
  227. }
  228. private global::ProtoBuf.IExtension extensionObject;
  229. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  230. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  231. }
  232. //---------------------------------------------------------------------------------------
  233. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GnterSceneByAreaIdRequest")]
  234. public partial class GnterSceneByAreaIdRequest : global::ProtoBuf.IExtensible
  235. {
  236. public GnterSceneByAreaIdRequest() {}
  237. private int _c2s_areaId;
  238. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_areaId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  239. public int c2s_areaId
  240. {
  241. get { return _c2s_areaId; }
  242. set { _c2s_areaId = value; }
  243. }
  244. private global::ProtoBuf.IExtension extensionObject;
  245. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  246. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  247. }
  248. //---------------------------------------------------------------------------------------
  249. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GnterSceneByAreaIdResponse")]
  250. public partial class GnterSceneByAreaIdResponse : global::ProtoBuf.IExtensible
  251. {
  252. public GnterSceneByAreaIdResponse() {}
  253. private int _s2c_code;
  254. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  255. public int s2c_code
  256. {
  257. get { return _s2c_code; }
  258. set { _s2c_code = value; }
  259. }
  260. private string _s2c_msg = "";
  261. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  262. [global::System.ComponentModel.DefaultValue("")]
  263. public string s2c_msg
  264. {
  265. get { return _s2c_msg; }
  266. set { _s2c_msg = value; }
  267. }
  268. private global::ProtoBuf.IExtension extensionObject;
  269. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  270. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  271. }
  272. //---------------------------------------------------------------------------------------
  273. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetNpcListRequest")]
  274. public partial class GetNpcListRequest : global::ProtoBuf.IExtensible
  275. {
  276. public GetNpcListRequest() {}
  277. private global::ProtoBuf.IExtension extensionObject;
  278. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  279. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  280. }
  281. //---------------------------------------------------------------------------------------
  282. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetNpcListResponse")]
  283. public partial class GetNpcListResponse : global::ProtoBuf.IExtensible
  284. {
  285. public GetNpcListResponse() {}
  286. private int _s2c_code;
  287. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  288. public int s2c_code
  289. {
  290. get { return _s2c_code; }
  291. set { _s2c_code = value; }
  292. }
  293. private string _s2c_msg = "";
  294. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  295. [global::System.ComponentModel.DefaultValue("")]
  296. public string s2c_msg
  297. {
  298. get { return _s2c_msg; }
  299. set { _s2c_msg = value; }
  300. }
  301. private readonly global::System.Collections.Generic.List<pomelo.area.MapUnit> _data = new global::System.Collections.Generic.List<pomelo.area.MapUnit>();
  302. [global::ProtoBuf.ProtoMember(3, Name=@"data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  303. public global::System.Collections.Generic.List<pomelo.area.MapUnit> data
  304. {
  305. get { return _data; }
  306. }
  307. private global::ProtoBuf.IExtension extensionObject;
  308. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  309. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  310. }
  311. //---------------------------------------------------------------------------------------
  312. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMapListRequest")]
  313. public partial class GetMapListRequest : global::ProtoBuf.IExtensible
  314. {
  315. public GetMapListRequest() {}
  316. private int _c2s_mapId;
  317. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_mapId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  318. public int c2s_mapId
  319. {
  320. get { return _c2s_mapId; }
  321. set { _c2s_mapId = value; }
  322. }
  323. private global::ProtoBuf.IExtension extensionObject;
  324. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  325. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  326. }
  327. //---------------------------------------------------------------------------------------
  328. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetMapListResponse")]
  329. public partial class GetMapListResponse : global::ProtoBuf.IExtensible
  330. {
  331. public GetMapListResponse() {}
  332. private int _s2c_code;
  333. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  334. public int s2c_code
  335. {
  336. get { return _s2c_code; }
  337. set { _s2c_code = value; }
  338. }
  339. private string _s2c_msg = "";
  340. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  341. [global::System.ComponentModel.DefaultValue("")]
  342. public string s2c_msg
  343. {
  344. get { return _s2c_msg; }
  345. set { _s2c_msg = value; }
  346. }
  347. private readonly global::System.Collections.Generic.List<int> _s2c_mapIds = new global::System.Collections.Generic.List<int>();
  348. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_mapIds", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  349. public global::System.Collections.Generic.List<int> s2c_mapIds
  350. {
  351. get { return _s2c_mapIds; }
  352. }
  353. private global::ProtoBuf.IExtension extensionObject;
  354. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  355. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  356. }
  357. //---------------------------------------------------------------------------------------
  358. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAliveMonsterLineInfoRequest")]
  359. public partial class GetAliveMonsterLineInfoRequest : global::ProtoBuf.IExtensible
  360. {
  361. public GetAliveMonsterLineInfoRequest() {}
  362. private global::ProtoBuf.IExtension extensionObject;
  363. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  364. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  365. }
  366. //---------------------------------------------------------------------------------------
  367. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAliveMonsterLineInfoResponse")]
  368. public partial class GetAliveMonsterLineInfoResponse : global::ProtoBuf.IExtensible
  369. {
  370. public GetAliveMonsterLineInfoResponse() {}
  371. private int _s2c_code;
  372. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  373. public int s2c_code
  374. {
  375. get { return _s2c_code; }
  376. set { _s2c_code = value; }
  377. }
  378. private string _s2c_msg = "";
  379. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  380. [global::System.ComponentModel.DefaultValue("")]
  381. public string s2c_msg
  382. {
  383. get { return _s2c_msg; }
  384. set { _s2c_msg = value; }
  385. }
  386. private readonly global::System.Collections.Generic.List<int> _s2c_monsterInfos = new global::System.Collections.Generic.List<int>();
  387. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_monsterInfos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  388. public global::System.Collections.Generic.List<int> s2c_monsterInfos
  389. {
  390. get { return _s2c_monsterInfos; }
  391. }
  392. private global::ProtoBuf.IExtension extensionObject;
  393. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  394. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  395. }
  396. //---------------------------------------------------------------------------------------
  397. /// <summary>
  398. /// 活动特殊地图推送 1309
  399. /// </summary>
  400. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MapOpenInfoPush")]
  401. public partial class MapOpenInfoPush : global::ProtoBuf.IExtensible
  402. {
  403. public MapOpenInfoPush() {}
  404. private readonly global::System.Collections.Generic.List<pomelo.area.MapOpenInfo> _s2c_map_open = new global::System.Collections.Generic.List<pomelo.area.MapOpenInfo>();
  405. /// <summary>
  406. /// 开放信息
  407. /// </summary>
  408. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_map_open", DataFormat = global::ProtoBuf.DataFormat.Default)]
  409. public global::System.Collections.Generic.List<pomelo.area.MapOpenInfo> s2c_map_open
  410. {
  411. get { return _s2c_map_open; }
  412. }
  413. private global::ProtoBuf.IExtension extensionObject;
  414. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  415. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  416. }
  417. }