_common.cs 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  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: common.proto
  15. namespace pomelo
  16. {
  17. //---------------------------------------------------------------------------------------
  18. /// <summary>
  19. /// 空消息
  20. /// </summary>
  21. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Void")]
  22. public partial class Void : global::ProtoBuf.IExtensible
  23. {
  24. public Void() {}
  25. private global::ProtoBuf.IExtension extensionObject;
  26. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  27. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  28. }
  29. //---------------------------------------------------------------------------------------
  30. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EffectPropertyStruct")]
  31. public partial class EffectPropertyStruct : global::ProtoBuf.IExtensible
  32. {
  33. public EffectPropertyStruct() {}
  34. private string _describ;
  35. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"describ", DataFormat = global::ProtoBuf.DataFormat.Default)]
  36. public string describ
  37. {
  38. get { return _describ; }
  39. set { _describ = value; }
  40. }
  41. private int _value = default(int);
  42. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  43. [global::System.ComponentModel.DefaultValue(default(int))]
  44. public int value
  45. {
  46. get { return _value; }
  47. set { _value = value; }
  48. }
  49. private string _maxValue = "";
  50. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"maxValue", DataFormat = global::ProtoBuf.DataFormat.Default)]
  51. [global::System.ComponentModel.DefaultValue("")]
  52. public string maxValue
  53. {
  54. get { return _maxValue; }
  55. set { _maxValue = value; }
  56. }
  57. private string _name = "";
  58. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  59. [global::System.ComponentModel.DefaultValue("")]
  60. public string name
  61. {
  62. get { return _name; }
  63. set { _name = value; }
  64. }
  65. private global::ProtoBuf.IExtension extensionObject;
  66. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  67. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  68. }
  69. //---------------------------------------------------------------------------------------
  70. /// <summary>
  71. /// 排行榜角色简单信息
  72. /// </summary>
  73. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BasePlayerRankInfo")]
  74. public partial class BasePlayerRankInfo : global::ProtoBuf.IExtensible
  75. {
  76. public BasePlayerRankInfo() {}
  77. private int _rank;
  78. /// <summary>
  79. /// 排名
  80. /// </summary>
  81. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"rank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  82. public int rank
  83. {
  84. get { return _rank; }
  85. set { _rank = value; }
  86. }
  87. private string _pId;
  88. /// <summary>
  89. /// 角色id
  90. /// </summary>
  91. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"pId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  92. public string pId
  93. {
  94. get { return _pId; }
  95. set { _pId = value; }
  96. }
  97. private string _name;
  98. /// <summary>
  99. /// 角色姓名
  100. /// </summary>
  101. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  102. public string name
  103. {
  104. get { return _name; }
  105. set { _name = value; }
  106. }
  107. private long _score;
  108. /// <summary>
  109. /// 上榜值
  110. /// </summary>
  111. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"score", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  112. public long score
  113. {
  114. get { return _score; }
  115. set { _score = value; }
  116. }
  117. private global::ProtoBuf.IExtension extensionObject;
  118. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  119. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  120. }
  121. //---------------------------------------------------------------------------------------
  122. /// <summary>
  123. /// Key-Value
  124. /// </summary>
  125. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"KeyValueStruct")]
  126. public partial class KeyValueStruct : global::ProtoBuf.IExtensible
  127. {
  128. public KeyValueStruct() {}
  129. private string _key;
  130. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"key", DataFormat = global::ProtoBuf.DataFormat.Default)]
  131. public string key
  132. {
  133. get { return _key; }
  134. set { _key = value; }
  135. }
  136. private string _value;
  137. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.Default)]
  138. public string value
  139. {
  140. get { return _value; }
  141. set { _value = value; }
  142. }
  143. private global::ProtoBuf.IExtension extensionObject;
  144. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  145. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  146. }
  147. //---------------------------------------------------------------------------------------
  148. /// <summary>
  149. /// 通用数值类推送结构
  150. /// </summary>
  151. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PropertyStruct")]
  152. public partial class PropertyStruct : global::ProtoBuf.IExtensible
  153. {
  154. public PropertyStruct() {}
  155. private int _key;
  156. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"key", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  157. public int key
  158. {
  159. get { return _key; }
  160. set { _key = value; }
  161. }
  162. private long _value;
  163. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  164. public long value
  165. {
  166. get { return _value; }
  167. set { _value = value; }
  168. }
  169. private int _source = default(int);
  170. /// <summary>
  171. /// 来源
  172. /// </summary>
  173. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"source", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  174. [global::System.ComponentModel.DefaultValue(default(int))]
  175. public int source
  176. {
  177. get { return _source; }
  178. set { _source = value; }
  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=@"ObjectProperty")]
  186. public partial class ObjectProperty : global::ProtoBuf.IExtensible
  187. {
  188. public ObjectProperty() {}
  189. private int _id;
  190. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  191. public int id
  192. {
  193. get { return _id; }
  194. set { _id = value; }
  195. }
  196. private readonly global::System.Collections.Generic.List<pomelo.PropertyStruct> _props = new global::System.Collections.Generic.List<pomelo.PropertyStruct>();
  197. [global::ProtoBuf.ProtoMember(2, Name=@"props", DataFormat = global::ProtoBuf.DataFormat.Default)]
  198. public global::System.Collections.Generic.List<pomelo.PropertyStruct> props
  199. {
  200. get { return _props; }
  201. }
  202. private global::ProtoBuf.IExtension extensionObject;
  203. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  204. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  205. }
  206. //---------------------------------------------------------------------------------------
  207. /// <summary>
  208. /// 属性基本结构
  209. /// </summary>
  210. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AttributeBase")]
  211. public partial class AttributeBase : global::ProtoBuf.IExtensible
  212. {
  213. public AttributeBase() {}
  214. private int _id;
  215. /// <summary>
  216. /// 属性id, 没有则填0
  217. /// </summary>
  218. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  219. public int id
  220. {
  221. get { return _id; }
  222. set { _id = value; }
  223. }
  224. private int _value = default(int);
  225. /// <summary>
  226. /// 属性值
  227. /// </summary>
  228. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  229. [global::System.ComponentModel.DefaultValue(default(int))]
  230. public int value
  231. {
  232. get { return _value; }
  233. set { _value = value; }
  234. }
  235. private int _isFormat = default(int);
  236. /// <summary>
  237. /// 是否是百分比
  238. /// </summary>
  239. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"isFormat", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  240. [global::System.ComponentModel.DefaultValue(default(int))]
  241. public int isFormat
  242. {
  243. get { return _isFormat; }
  244. set { _isFormat = value; }
  245. }
  246. private int _nextValue = default(int);
  247. /// <summary>
  248. /// 下一级属性(可选)
  249. /// </summary>
  250. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"nextValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  251. [global::System.ComponentModel.DefaultValue(default(int))]
  252. public int nextValue
  253. {
  254. get { return _nextValue; }
  255. set { _nextValue = value; }
  256. }
  257. private int _minValue = default(int);
  258. /// <summary>
  259. /// 最大值属性
  260. /// </summary>
  261. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"minValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  262. [global::System.ComponentModel.DefaultValue(default(int))]
  263. public int minValue
  264. {
  265. get { return _minValue; }
  266. set { _minValue = value; }
  267. }
  268. private int _maxValue = default(int);
  269. /// <summary>
  270. /// 最小值属性
  271. /// </summary>
  272. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"maxValue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  273. [global::System.ComponentModel.DefaultValue(default(int))]
  274. public int maxValue
  275. {
  276. get { return _maxValue; }
  277. set { _maxValue = value; }
  278. }
  279. private int _param1 = default(int);
  280. /// <summary>
  281. /// 待定1 装备的强化增加值 技能id 精炼等级
  282. /// </summary>
  283. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"param1", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  284. [global::System.ComponentModel.DefaultValue(default(int))]
  285. public int param1
  286. {
  287. get { return _param1; }
  288. set { _param1 = value; }
  289. }
  290. private int _param2 = default(int);
  291. /// <summary>
  292. /// 待定2 技能等级 精炼属性颜色
  293. /// </summary>
  294. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"param2", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  295. [global::System.ComponentModel.DefaultValue(default(int))]
  296. public int param2
  297. {
  298. get { return _param2; }
  299. set { _param2 = value; }
  300. }
  301. private int _param3 = default(int);
  302. /// <summary>
  303. /// 待定3
  304. /// </summary>
  305. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"param3", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  306. [global::System.ComponentModel.DefaultValue(default(int))]
  307. public int param3
  308. {
  309. get { return _param3; }
  310. set { _param3 = value; }
  311. }
  312. private int _param4 = default(int);
  313. /// <summary>
  314. /// 装备血炼属性补丁-显示id
  315. /// </summary>
  316. [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"param4", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  317. [global::System.ComponentModel.DefaultValue(default(int))]
  318. public int param4
  319. {
  320. get { return _param4; }
  321. set { _param4 = 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. /// <summary>
  329. /// 属性最简结构
  330. /// </summary>
  331. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AttributeSimple")]
  332. public partial class AttributeSimple : global::ProtoBuf.IExtensible
  333. {
  334. public AttributeSimple() {}
  335. private int _id;
  336. /// <summary>
  337. /// 属性id
  338. /// </summary>
  339. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  340. public int id
  341. {
  342. get { return _id; }
  343. set { _id = value; }
  344. }
  345. private int _value = default(int);
  346. /// <summary>
  347. /// 属性值
  348. /// </summary>
  349. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  350. [global::System.ComponentModel.DefaultValue(default(int))]
  351. public int value
  352. {
  353. get { return _value; }
  354. set { _value = value; }
  355. }
  356. private int _desc = default(int);
  357. /// <summary>
  358. /// 策划配置的属性显示描述
  359. /// </summary>
  360. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"desc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  361. [global::System.ComponentModel.DefaultValue(default(int))]
  362. public int desc
  363. {
  364. get { return _desc; }
  365. set { _desc = value; }
  366. }
  367. private global::ProtoBuf.IExtension extensionObject;
  368. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  369. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  370. }
  371. //---------------------------------------------------------------------------------------
  372. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SkillKeyStruct")]
  373. public partial class SkillKeyStruct : global::ProtoBuf.IExtensible
  374. {
  375. public SkillKeyStruct() {}
  376. private int _keyPos;
  377. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"keyPos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  378. public int keyPos
  379. {
  380. get { return _keyPos; }
  381. set { _keyPos = value; }
  382. }
  383. private int _baseSkillId;
  384. /// <summary>
  385. /// 基础技能
  386. /// </summary>
  387. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"baseSkillId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  388. public int baseSkillId
  389. {
  390. get { return _baseSkillId; }
  391. set { _baseSkillId = value; }
  392. }
  393. private int _advancedSkillId;
  394. /// <summary>
  395. /// 当前佩戴的技能
  396. /// </summary>
  397. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"advancedSkillId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  398. public int advancedSkillId
  399. {
  400. get { return _advancedSkillId; }
  401. set { _advancedSkillId = value; }
  402. }
  403. private string _icon;
  404. /// <summary>
  405. /// 当前佩戴的技能icon
  406. /// </summary>
  407. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"icon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  408. public string icon
  409. {
  410. get { return _icon; }
  411. set { _icon = value; }
  412. }
  413. private int _flag;
  414. /// <summary>
  415. /// 0为没开 1为开启
  416. /// </summary>
  417. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"flag", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  418. public int flag
  419. {
  420. get { return _flag; }
  421. set { _flag = value; }
  422. }
  423. private int _unlockLevel;
  424. /// <summary>
  425. /// 解锁等级
  426. /// </summary>
  427. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"unlockLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  428. public int unlockLevel
  429. {
  430. get { return _unlockLevel; }
  431. set { _unlockLevel = value; }
  432. }
  433. private string _name = "";
  434. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  435. [global::System.ComponentModel.DefaultValue("")]
  436. public string name
  437. {
  438. get { return _name; }
  439. set { _name = value; }
  440. }
  441. private string _baseSkillIcon = "";
  442. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"baseSkillIcon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  443. [global::System.ComponentModel.DefaultValue("")]
  444. public string baseSkillIcon
  445. {
  446. get { return _baseSkillIcon; }
  447. set { _baseSkillIcon = value; }
  448. }
  449. private global::ProtoBuf.IExtension extensionObject;
  450. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  451. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  452. }
  453. //---------------------------------------------------------------------------------------
  454. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenTimeInfo")]
  455. public partial class OpenTimeInfo : global::ProtoBuf.IExtensible
  456. {
  457. public OpenTimeInfo() {}
  458. private long _openTime = default(long);
  459. /// <summary>
  460. /// 开始时间
  461. /// </summary>
  462. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"openTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  463. [global::System.ComponentModel.DefaultValue(default(long))]
  464. public long openTime
  465. {
  466. get { return _openTime; }
  467. set { _openTime = value; }
  468. }
  469. private long _closeTime = default(long);
  470. /// <summary>
  471. /// 结束时间
  472. /// </summary>
  473. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"closeTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  474. [global::System.ComponentModel.DefaultValue(default(long))]
  475. public long closeTime
  476. {
  477. get { return _closeTime; }
  478. set { _closeTime = value; }
  479. }
  480. private global::ProtoBuf.IExtension extensionObject;
  481. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  482. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  483. }
  484. //---------------------------------------------------------------------------------------
  485. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Avatar")]
  486. public partial class Avatar : global::ProtoBuf.IExtensible
  487. {
  488. public Avatar() {}
  489. private int _tag;
  490. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"tag", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  491. public int tag
  492. {
  493. get { return _tag; }
  494. set { _tag = value; }
  495. }
  496. private string _fileName;
  497. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"fileName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  498. public string fileName
  499. {
  500. get { return _fileName; }
  501. set { _fileName = value; }
  502. }
  503. private int _effectType;
  504. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"effectType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  505. public int effectType
  506. {
  507. get { return _effectType; }
  508. set { _effectType = value; }
  509. }
  510. private global::ProtoBuf.IExtension extensionObject;
  511. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  512. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  513. }
  514. //---------------------------------------------------------------------------------------
  515. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ErrMsg")]
  516. public partial class ErrMsg : global::ProtoBuf.IExtensible
  517. {
  518. public ErrMsg() {}
  519. private int _s2c_code;
  520. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  521. public int s2c_code
  522. {
  523. get { return _s2c_code; }
  524. set { _s2c_code = value; }
  525. }
  526. private string _s2c_msg = "";
  527. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  528. [global::System.ComponentModel.DefaultValue("")]
  529. public string s2c_msg
  530. {
  531. get { return _s2c_msg; }
  532. set { _s2c_msg = value; }
  533. }
  534. private global::ProtoBuf.IExtension extensionObject;
  535. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  536. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  537. }
  538. //---------------------------------------------------------------------------------------
  539. /// <summary>
  540. /// 镇妖塔层信息
  541. /// </summary>
  542. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DemonTowerFloorInfo")]
  543. public partial class DemonTowerFloorInfo : global::ProtoBuf.IExtensible
  544. {
  545. public DemonTowerFloorInfo() {}
  546. private int _floorId;
  547. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"floorId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  548. public int floorId
  549. {
  550. get { return _floorId; }
  551. set { _floorId = value; }
  552. }
  553. private string _firstPlayerName = "";
  554. /// <summary>
  555. /// 全服首次通关玩家姓名
  556. /// </summary>
  557. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"firstPlayerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  558. [global::System.ComponentModel.DefaultValue("")]
  559. public string firstPlayerName
  560. {
  561. get { return _firstPlayerName; }
  562. set { _firstPlayerName = value; }
  563. }
  564. private long _firstPlayerDate = default(long);
  565. /// <summary>
  566. /// 全服首次通关玩家日期
  567. /// </summary>
  568. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"firstPlayerDate", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  569. [global::System.ComponentModel.DefaultValue(default(long))]
  570. public long firstPlayerDate
  571. {
  572. get { return _firstPlayerDate; }
  573. set { _firstPlayerDate = value; }
  574. }
  575. private string _fastPlayerName = "";
  576. /// <summary>
  577. /// 全服最快通关玩家姓名
  578. /// </summary>
  579. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"fastPlayerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  580. [global::System.ComponentModel.DefaultValue("")]
  581. public string fastPlayerName
  582. {
  583. get { return _fastPlayerName; }
  584. set { _fastPlayerName = value; }
  585. }
  586. private int _fastPlayerTime = default(int);
  587. /// <summary>
  588. /// 全服最快通关玩家用时(秒)
  589. /// </summary>
  590. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"fastPlayerTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  591. [global::System.ComponentModel.DefaultValue(default(int))]
  592. public int fastPlayerTime
  593. {
  594. get { return _fastPlayerTime; }
  595. set { _fastPlayerTime = value; }
  596. }
  597. private int _myFastTime = default(int);
  598. /// <summary>
  599. /// 我的最快通关用时(秒)
  600. /// </summary>
  601. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"myFastTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  602. [global::System.ComponentModel.DefaultValue(default(int))]
  603. public int myFastTime
  604. {
  605. get { return _myFastTime; }
  606. set { _myFastTime = value; }
  607. }
  608. private global::ProtoBuf.IExtension extensionObject;
  609. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  610. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  611. }
  612. //---------------------------------------------------------------------------------------
  613. /// <summary>
  614. /// 神器开启任务对象
  615. /// </summary>
  616. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenArtifactInfo")]
  617. public partial class OpenArtifactInfo : global::ProtoBuf.IExtensible
  618. {
  619. public OpenArtifactInfo() {}
  620. private int _id;
  621. /// <summary>
  622. /// 任务编号
  623. /// </summary>
  624. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  625. public int id
  626. {
  627. get { return _id; }
  628. set { _id = value; }
  629. }
  630. private int _schedule = default(int);
  631. /// <summary>
  632. /// 任务进度
  633. /// </summary>
  634. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"schedule", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  635. [global::System.ComponentModel.DefaultValue(default(int))]
  636. public int schedule
  637. {
  638. get { return _schedule; }
  639. set { _schedule = value; }
  640. }
  641. private int _status = default(int);
  642. /// <summary>
  643. /// 任务状态(0:未完成 1:完成)
  644. /// </summary>
  645. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"status", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  646. [global::System.ComponentModel.DefaultValue(default(int))]
  647. public int status
  648. {
  649. get { return _status; }
  650. set { _status = value; }
  651. }
  652. private int _symbol = default(int);
  653. /// <summary>
  654. /// 符类别
  655. /// </summary>
  656. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"symbol", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  657. [global::System.ComponentModel.DefaultValue(default(int))]
  658. public int symbol
  659. {
  660. get { return _symbol; }
  661. set { _symbol = value; }
  662. }
  663. private global::ProtoBuf.IExtension extensionObject;
  664. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  665. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  666. }
  667. //---------------------------------------------------------------------------------------
  668. /// <summary>
  669. /// 2.语音消息
  670. /// </summary>
  671. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VoiceContent")]
  672. public partial class VoiceContent : global::ProtoBuf.IExtensible
  673. {
  674. public VoiceContent() {}
  675. private long _time = default(long);
  676. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  677. [global::System.ComponentModel.DefaultValue(default(long))]
  678. public long time
  679. {
  680. get { return _time; }
  681. set { _time = value; }
  682. }
  683. private string _filepath = "";
  684. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"filepath", DataFormat = global::ProtoBuf.DataFormat.Default)]
  685. [global::System.ComponentModel.DefaultValue("")]
  686. public string filepath
  687. {
  688. get { return _filepath; }
  689. set { _filepath = value; }
  690. }
  691. private string _fileid = "";
  692. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"fileid", DataFormat = global::ProtoBuf.DataFormat.Default)]
  693. [global::System.ComponentModel.DefaultValue("")]
  694. public string fileid
  695. {
  696. get { return _fileid; }
  697. set { _fileid = value; }
  698. }
  699. private string _asrResult = "";
  700. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"asrResult", DataFormat = global::ProtoBuf.DataFormat.Default)]
  701. [global::System.ComponentModel.DefaultValue("")]
  702. public string asrResult
  703. {
  704. get { return _asrResult; }
  705. set { _asrResult = value; }
  706. }
  707. private global::ProtoBuf.IExtension extensionObject;
  708. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  709. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  710. }
  711. //---------------------------------------------------------------------------------------
  712. /// <summary>
  713. /// 3.装备道具
  714. /// </summary>
  715. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ItemContent")]
  716. public partial class ItemContent : global::ProtoBuf.IExtensible
  717. {
  718. public ItemContent() {}
  719. private string _id = "";
  720. /// <summary>
  721. /// 装备唯一ID
  722. /// </summary>
  723. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  724. [global::System.ComponentModel.DefaultValue("")]
  725. public string id
  726. {
  727. get { return _id; }
  728. set { _id = value; }
  729. }
  730. private string _templateId = "";
  731. /// <summary>
  732. /// 装备ID
  733. /// </summary>
  734. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  735. [global::System.ComponentModel.DefaultValue("")]
  736. public string templateId
  737. {
  738. get { return _templateId; }
  739. set { _templateId = value; }
  740. }
  741. private global::ProtoBuf.IExtension extensionObject;
  742. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  743. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  744. }
  745. //---------------------------------------------------------------------------------------
  746. /// <summary>
  747. /// 4.位置消息
  748. /// </summary>
  749. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MapContent")]
  750. public partial class MapContent : global::ProtoBuf.IExtensible
  751. {
  752. public MapContent() {}
  753. private int _areaId = default(int);
  754. /// <summary>
  755. /// 区域ID
  756. /// </summary>
  757. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"areaId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  758. [global::System.ComponentModel.DefaultValue(default(int))]
  759. public int areaId
  760. {
  761. get { return _areaId; }
  762. set { _areaId = value; }
  763. }
  764. private int _mapId = default(int);
  765. /// <summary>
  766. /// 地图ID
  767. /// </summary>
  768. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"mapId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  769. [global::System.ComponentModel.DefaultValue(default(int))]
  770. public int mapId
  771. {
  772. get { return _mapId; }
  773. set { _mapId = value; }
  774. }
  775. private int _posX = default(int);
  776. /// <summary>
  777. /// posX
  778. /// </summary>
  779. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"posX", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  780. [global::System.ComponentModel.DefaultValue(default(int))]
  781. public int posX
  782. {
  783. get { return _posX; }
  784. set { _posX = value; }
  785. }
  786. private int _posY = default(int);
  787. /// <summary>
  788. /// posY
  789. /// </summary>
  790. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"posY", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  791. [global::System.ComponentModel.DefaultValue(default(int))]
  792. public int posY
  793. {
  794. get { return _posY; }
  795. set { _posY = value; }
  796. }
  797. private string _instanceId = "";
  798. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"instanceId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  799. [global::System.ComponentModel.DefaultValue("")]
  800. public string instanceId
  801. {
  802. get { return _instanceId; }
  803. set { _instanceId = value; }
  804. }
  805. private global::ProtoBuf.IExtension extensionObject;
  806. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  807. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  808. }
  809. //---------------------------------------------------------------------------------------
  810. /// <summary>
  811. /// 5.队伍招募
  812. /// </summary>
  813. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TeamContent")]
  814. public partial class TeamContent : global::ProtoBuf.IExtensible
  815. {
  816. public TeamContent() {}
  817. private string _teamId = "";
  818. /// <summary>
  819. /// 队伍id
  820. /// </summary>
  821. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"teamId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  822. [global::System.ComponentModel.DefaultValue("")]
  823. public string teamId
  824. {
  825. get { return _teamId; }
  826. set { _teamId = value; }
  827. }
  828. private int _targetServerId = default(int);
  829. /// <summary>
  830. /// 队伍的逻辑服id
  831. /// </summary>
  832. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"targetServerId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  833. [global::System.ComponentModel.DefaultValue(default(int))]
  834. public int targetServerId
  835. {
  836. get { return _targetServerId; }
  837. set { _targetServerId = value; }
  838. }
  839. private global::ProtoBuf.IExtension extensionObject;
  840. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  841. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  842. }
  843. //---------------------------------------------------------------------------------------
  844. /// <summary>
  845. /// 6.公会招募
  846. /// </summary>
  847. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GuildContent")]
  848. public partial class GuildContent : global::ProtoBuf.IExtensible
  849. {
  850. public GuildContent() {}
  851. private string _sendPlayerId = "";
  852. /// <summary>
  853. /// 玩家id
  854. /// </summary>
  855. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"sendPlayerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  856. [global::System.ComponentModel.DefaultValue("")]
  857. public string sendPlayerId
  858. {
  859. get { return _sendPlayerId; }
  860. set { _sendPlayerId = value; }
  861. }
  862. private string _sendGuildId = "";
  863. /// <summary>
  864. /// 公会id
  865. /// </summary>
  866. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"sendGuildId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  867. [global::System.ComponentModel.DefaultValue("")]
  868. public string sendGuildId
  869. {
  870. get { return _sendGuildId; }
  871. set { _sendGuildId = value; }
  872. }
  873. private global::ProtoBuf.IExtension extensionObject;
  874. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  875. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  876. }
  877. }