_item.cs 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230
  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-10-17
  12. // * 用途= 道具数据
  13. // ***************************************************************************
  14. // Generated from: item.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.item
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Item")]
  20. public partial class Item : global::ProtoBuf.IExtensible
  21. {
  22. public Item() {}
  23. private string _id;
  24. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  25. public string id
  26. {
  27. get { return _id; }
  28. set { _id = value; }
  29. }
  30. private string _code;
  31. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  32. public string code
  33. {
  34. get { return _code; }
  35. set { _code = value; }
  36. }
  37. private int _itemType;
  38. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"itemType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  39. public int itemType
  40. {
  41. get { return _itemType; }
  42. set { _itemType = value; }
  43. }
  44. private int _itemSecondType;
  45. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"itemSecondType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  46. public int itemSecondType
  47. {
  48. get { return _itemSecondType; }
  49. set { _itemSecondType = value; }
  50. }
  51. private int _qColor;
  52. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"qColor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  53. public int qColor
  54. {
  55. get { return _qColor; }
  56. set { _qColor = value; }
  57. }
  58. private int _maxGroupCount;
  59. [global::ProtoBuf.ProtoMember(6, IsRequired = true, Name=@"maxGroupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  60. public int maxGroupCount
  61. {
  62. get { return _maxGroupCount; }
  63. set { _maxGroupCount = value; }
  64. }
  65. private int _groupCount;
  66. [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  67. public int groupCount
  68. {
  69. get { return _groupCount; }
  70. set { _groupCount = value; }
  71. }
  72. private int _isNew;
  73. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"isNew", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  74. public int isNew
  75. {
  76. get { return _isNew; }
  77. set { _isNew = value; }
  78. }
  79. private string _icon;
  80. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"icon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  81. public string icon
  82. {
  83. get { return _icon; }
  84. set { _icon = value; }
  85. }
  86. private int _enLevel = default(int);
  87. /// <summary>
  88. /// 强化等级 @Deprecated
  89. /// </summary>
  90. [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"enLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  91. [global::System.ComponentModel.DefaultValue(default(int))]
  92. public int enLevel
  93. {
  94. get { return _enLevel; }
  95. set { _enLevel = value; }
  96. }
  97. private int _star = default(int);
  98. /// <summary>
  99. /// 星级
  100. /// </summary>
  101. [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"star", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  102. [global::System.ComponentModel.DefaultValue(default(int))]
  103. public int star
  104. {
  105. get { return _star; }
  106. set { _star = value; }
  107. }
  108. private string _cdTime = "";
  109. [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"cdTime", DataFormat = global::ProtoBuf.DataFormat.Default)]
  110. [global::System.ComponentModel.DefaultValue("")]
  111. public string cdTime
  112. {
  113. get { return _cdTime; }
  114. set { _cdTime = value; }
  115. }
  116. private int _bindType = default(int);
  117. /// <summary>
  118. /// 是否绑定
  119. /// </summary>
  120. [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"bindType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  121. [global::System.ComponentModel.DefaultValue(default(int))]
  122. public int bindType
  123. {
  124. get { return _bindType; }
  125. set { _bindType = 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. /// <summary>
  133. /// 格子信息
  134. /// </summary>
  135. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Grid")]
  136. public partial class Grid : global::ProtoBuf.IExtensible
  137. {
  138. public Grid() {}
  139. private int _gridIndex;
  140. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"gridIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  141. public int gridIndex
  142. {
  143. get { return _gridIndex; }
  144. set { _gridIndex = value; }
  145. }
  146. private pomelo.item.Item _item = null;
  147. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"item", DataFormat = global::ProtoBuf.DataFormat.Default)]
  148. [global::System.ComponentModel.DefaultValue(null)]
  149. public pomelo.item.Item item
  150. {
  151. get { return _item; }
  152. set { _item = value; }
  153. }
  154. private global::ProtoBuf.IExtension extensionObject;
  155. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  156. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  157. }
  158. //---------------------------------------------------------------------------------------
  159. /// <summary>
  160. /// 迷你道具
  161. /// </summary>
  162. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MiniItem")]
  163. public partial class MiniItem : global::ProtoBuf.IExtensible
  164. {
  165. public MiniItem() {}
  166. private string _code;
  167. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  168. public string code
  169. {
  170. get { return _code; }
  171. set { _code = value; }
  172. }
  173. private int _groupCount;
  174. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  175. public int groupCount
  176. {
  177. get { return _groupCount; }
  178. set { _groupCount = value; }
  179. }
  180. private string _icon;
  181. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"icon", DataFormat = global::ProtoBuf.DataFormat.Default)]
  182. public string icon
  183. {
  184. get { return _icon; }
  185. set { _icon = value; }
  186. }
  187. private int _qColor;
  188. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"qColor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  189. public int qColor
  190. {
  191. get { return _qColor; }
  192. set { _qColor = value; }
  193. }
  194. private string _name = "";
  195. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  196. [global::System.ComponentModel.DefaultValue("")]
  197. public string name
  198. {
  199. get { return _name; }
  200. set { _name = value; }
  201. }
  202. private int _star = default(int);
  203. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"star", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  204. [global::System.ComponentModel.DefaultValue(default(int))]
  205. public int star
  206. {
  207. get { return _star; }
  208. set { _star = value; }
  209. }
  210. private int _bindType = default(int);
  211. /// <summary>
  212. /// 是否绑定
  213. /// </summary>
  214. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"bindType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  215. [global::System.ComponentModel.DefaultValue(default(int))]
  216. public int bindType
  217. {
  218. get { return _bindType; }
  219. set { _bindType = value; }
  220. }
  221. private global::ProtoBuf.IExtension extensionObject;
  222. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  223. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  224. }
  225. //---------------------------------------------------------------------------------------
  226. /// <summary>
  227. /// 合成公式
  228. /// </summary>
  229. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Combine")]
  230. public partial class Combine : global::ProtoBuf.IExtensible
  231. {
  232. public Combine() {}
  233. private pomelo.item.MiniItem _product = null;
  234. /// <summary>
  235. /// 合成产出
  236. /// </summary>
  237. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"product", DataFormat = global::ProtoBuf.DataFormat.Default)]
  238. [global::System.ComponentModel.DefaultValue(null)]
  239. public pomelo.item.MiniItem product
  240. {
  241. get { return _product; }
  242. set { _product = value; }
  243. }
  244. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _materials = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  245. /// <summary>
  246. /// 材料
  247. /// </summary>
  248. [global::ProtoBuf.ProtoMember(2, Name=@"materials", DataFormat = global::ProtoBuf.DataFormat.Default)]
  249. public global::System.Collections.Generic.List<pomelo.item.MiniItem> materials
  250. {
  251. get { return _materials; }
  252. }
  253. private int _gold = default(int);
  254. /// <summary>
  255. /// 需要的金币
  256. /// </summary>
  257. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"gold", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  258. [global::System.ComponentModel.DefaultValue(default(int))]
  259. public int gold
  260. {
  261. get { return _gold; }
  262. set { _gold = value; }
  263. }
  264. private global::ProtoBuf.IExtension extensionObject;
  265. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  266. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  267. }
  268. //---------------------------------------------------------------------------------------
  269. /// <summary>
  270. /// 计数道具
  271. /// </summary>
  272. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CountItem")]
  273. public partial class CountItem : global::ProtoBuf.IExtensible
  274. {
  275. public CountItem() {}
  276. private string _code;
  277. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  278. public string code
  279. {
  280. get { return _code; }
  281. set { _code = value; }
  282. }
  283. private int _num;
  284. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  285. public int num
  286. {
  287. get { return _num; }
  288. set { _num = value; }
  289. }
  290. private global::ProtoBuf.IExtension extensionObject;
  291. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  292. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  293. }
  294. //---------------------------------------------------------------------------------------
  295. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CountItems")]
  296. public partial class CountItems : global::ProtoBuf.IExtensible
  297. {
  298. public CountItems() {}
  299. private readonly global::System.Collections.Generic.List<pomelo.item.CountItem> _items = new global::System.Collections.Generic.List<pomelo.item.CountItem>();
  300. [global::ProtoBuf.ProtoMember(1, Name=@"items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  301. public global::System.Collections.Generic.List<pomelo.item.CountItem> items
  302. {
  303. get { return _items; }
  304. }
  305. private global::ProtoBuf.IExtension extensionObject;
  306. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  307. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  308. }
  309. //---------------------------------------------------------------------------------------
  310. /// <summary>
  311. /// 宝石属性
  312. /// </summary>
  313. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EquipmentJewelAtt")]
  314. public partial class EquipmentJewelAtt : global::ProtoBuf.IExtensible
  315. {
  316. public EquipmentJewelAtt() {}
  317. private int _index;
  318. /// <summary>
  319. /// 孔的位置, 1表示第一个
  320. /// </summary>
  321. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  322. public int index
  323. {
  324. get { return _index; }
  325. set { _index = value; }
  326. }
  327. private pomelo.item.MiniItem _gem = null;
  328. /// <summary>
  329. /// 宝石
  330. /// </summary>
  331. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"gem", DataFormat = global::ProtoBuf.DataFormat.Default)]
  332. [global::System.ComponentModel.DefaultValue(null)]
  333. public pomelo.item.MiniItem gem
  334. {
  335. get { return _gem; }
  336. set { _gem = value; }
  337. }
  338. private readonly global::System.Collections.Generic.List<pomelo.AttributeSimple> _attribute = new global::System.Collections.Generic.List<pomelo.AttributeSimple>();
  339. /// <summary>
  340. /// 宝石属性list
  341. /// </summary>
  342. [global::ProtoBuf.ProtoMember(3, Name=@"attribute", DataFormat = global::ProtoBuf.DataFormat.Default)]
  343. public global::System.Collections.Generic.List<pomelo.AttributeSimple> attribute
  344. {
  345. get { return _attribute; }
  346. }
  347. private global::ProtoBuf.IExtension extensionObject;
  348. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  349. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  350. }
  351. //---------------------------------------------------------------------------------------
  352. /// <summary>
  353. /// 属性组
  354. /// </summary>
  355. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AttributeBaseArray")]
  356. public partial class AttributeBaseArray : global::ProtoBuf.IExtensible
  357. {
  358. public AttributeBaseArray() {}
  359. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _attrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  360. /// <summary>
  361. /// 属性
  362. /// </summary>
  363. [global::ProtoBuf.ProtoMember(1, Name=@"attrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  364. public global::System.Collections.Generic.List<pomelo.AttributeBase> attrs
  365. {
  366. get { return _attrs; }
  367. }
  368. private global::ProtoBuf.IExtension extensionObject;
  369. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  370. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  371. }
  372. //---------------------------------------------------------------------------------------
  373. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EquipmentDetail")]
  374. public partial class EquipmentDetail : global::ProtoBuf.IExtensible
  375. {
  376. public EquipmentDetail() {}
  377. private int _isIdentfied = default(int);
  378. /// <summary>
  379. /// 是否鉴定过 1-鉴定过 0-没有鉴定
  380. /// </summary>
  381. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"isIdentfied", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  382. [global::System.ComponentModel.DefaultValue(default(int))]
  383. public int isIdentfied
  384. {
  385. get { return _isIdentfied; }
  386. set { _isIdentfied = value; }
  387. }
  388. private int _enLevel = default(int);
  389. /// <summary>
  390. /// 强化等级 @Deprecated
  391. /// </summary>
  392. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"enLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  393. [global::System.ComponentModel.DefaultValue(default(int))]
  394. public int enLevel
  395. {
  396. get { return _enLevel; }
  397. set { _enLevel = value; }
  398. }
  399. private int _score = default(int);
  400. /// <summary>
  401. /// 装备独有评分
  402. /// </summary>
  403. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"score", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  404. [global::System.ComponentModel.DefaultValue(default(int))]
  405. public int score
  406. {
  407. get { return _score; }
  408. set { _score = value; }
  409. }
  410. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _randomAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  411. /// <summary>
  412. /// 扩展属性
  413. /// </summary>
  414. [global::ProtoBuf.ProtoMember(4, Name=@"randomAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  415. public global::System.Collections.Generic.List<pomelo.AttributeBase> randomAtts
  416. {
  417. get { return _randomAtts; }
  418. }
  419. private readonly global::System.Collections.Generic.List<pomelo.item.EquipmentJewelAtt> _jewelAtts = new global::System.Collections.Generic.List<pomelo.item.EquipmentJewelAtt>();
  420. /// <summary>
  421. /// 宝石属性 @Deprecated
  422. /// </summary>
  423. [global::ProtoBuf.ProtoMember(5, Name=@"jewelAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  424. public global::System.Collections.Generic.List<pomelo.item.EquipmentJewelAtt> jewelAtts
  425. {
  426. get { return _jewelAtts; }
  427. }
  428. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _magicAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  429. /// <summary>
  430. /// 附魔属性描述
  431. /// </summary>
  432. [global::ProtoBuf.ProtoMember(6, Name=@"magicAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  433. public global::System.Collections.Generic.List<pomelo.AttributeBase> magicAtts
  434. {
  435. get { return _magicAtts; }
  436. }
  437. private int _luckyExp = default(int);
  438. /// <summary>
  439. /// 已有的幸运值 @Deprecated
  440. /// </summary>
  441. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"luckyExp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  442. [global::System.ComponentModel.DefaultValue(default(int))]
  443. public int luckyExp
  444. {
  445. get { return _luckyExp; }
  446. set { _luckyExp = value; }
  447. }
  448. private int _baseScore = default(int);
  449. /// <summary>
  450. /// 基础评分
  451. /// </summary>
  452. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"baseScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  453. [global::System.ComponentModel.DefaultValue(default(int))]
  454. public int baseScore
  455. {
  456. get { return _baseScore; }
  457. set { _baseScore = value; }
  458. }
  459. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _baseAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  460. /// <summary>
  461. /// 基础属性
  462. /// </summary>
  463. [global::ProtoBuf.ProtoMember(10, Name=@"baseAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  464. public global::System.Collections.Generic.List<pomelo.AttributeBase> baseAtts
  465. {
  466. get { return _baseAtts; }
  467. }
  468. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _uniqueAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  469. /// <summary>
  470. /// 独有属性
  471. /// </summary>
  472. [global::ProtoBuf.ProtoMember(11, Name=@"uniqueAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  473. public global::System.Collections.Generic.List<pomelo.AttributeBase> uniqueAtts
  474. {
  475. get { return _uniqueAtts; }
  476. }
  477. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _tempBaseAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  478. /// <summary>
  479. /// 独有基础属性
  480. /// </summary>
  481. [global::ProtoBuf.ProtoMember(12, Name=@"tempBaseAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  482. public global::System.Collections.Generic.List<pomelo.AttributeBase> tempBaseAtts
  483. {
  484. get { return _tempBaseAtts; }
  485. }
  486. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _tempExtAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  487. /// <summary>
  488. /// 未保存的重铸属性, 废弃
  489. /// </summary>
  490. [global::ProtoBuf.ProtoMember(13, Name=@"tempExtAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  491. public global::System.Collections.Generic.List<pomelo.AttributeBase> tempExtAtts
  492. {
  493. get { return _tempExtAtts; }
  494. }
  495. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _tempExtAtts_senior = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  496. /// <summary>
  497. /// 未保存的重铸属性, 废弃
  498. /// </summary>
  499. [global::ProtoBuf.ProtoMember(14, Name=@"tempExtAtts_senior", DataFormat = global::ProtoBuf.DataFormat.Default)]
  500. public global::System.Collections.Generic.List<pomelo.AttributeBase> tempExtAtts_senior
  501. {
  502. get { return _tempExtAtts_senior; }
  503. }
  504. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _tempUniqueAtts = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  505. /// <summary>
  506. /// 未保存的精炼属性, 废弃
  507. /// </summary>
  508. [global::ProtoBuf.ProtoMember(15, Name=@"tempUniqueAtts", DataFormat = global::ProtoBuf.DataFormat.Default)]
  509. public global::System.Collections.Generic.List<pomelo.AttributeBase> tempUniqueAtts
  510. {
  511. get { return _tempUniqueAtts; }
  512. }
  513. private int _refineAttrId = default(int);
  514. /// <summary>
  515. /// 精炼过的属性名称, 废弃
  516. /// </summary>
  517. [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"refineAttrId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  518. [global::System.ComponentModel.DefaultValue(default(int))]
  519. public int refineAttrId
  520. {
  521. get { return _refineAttrId; }
  522. set { _refineAttrId = value; }
  523. }
  524. private pomelo.AttributeBase _tempRefineAttr = null;
  525. /// <summary>
  526. /// 未保存的精炼属性, 废弃
  527. /// </summary>
  528. [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"tempRefineAttr", DataFormat = global::ProtoBuf.DataFormat.Default)]
  529. [global::System.ComponentModel.DefaultValue(null)]
  530. public pomelo.AttributeBase tempRefineAttr
  531. {
  532. get { return _tempRefineAttr; }
  533. set { _tempRefineAttr = value; }
  534. }
  535. private int _remakeScore = default(int);
  536. /// <summary>
  537. /// 重铸评分, 废弃
  538. /// </summary>
  539. [global::ProtoBuf.ProtoMember(18, IsRequired = false, Name=@"remakeScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  540. [global::System.ComponentModel.DefaultValue(default(int))]
  541. public int remakeScore
  542. {
  543. get { return _remakeScore; }
  544. set { _remakeScore = value; }
  545. }
  546. private int _tempRemakeScore = default(int);
  547. /// <summary>
  548. /// 未保存的重铸评分, 废弃
  549. /// </summary>
  550. [global::ProtoBuf.ProtoMember(19, IsRequired = false, Name=@"tempRemakeScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  551. [global::System.ComponentModel.DefaultValue(default(int))]
  552. public int tempRemakeScore
  553. {
  554. get { return _tempRemakeScore; }
  555. set { _tempRemakeScore = value; }
  556. }
  557. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _starAttr = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  558. /// <summary>
  559. /// 重铸星级属性, 废弃
  560. /// </summary>
  561. [global::ProtoBuf.ProtoMember(20, Name=@"starAttr", DataFormat = global::ProtoBuf.DataFormat.Default)]
  562. public global::System.Collections.Generic.List<pomelo.AttributeBase> starAttr
  563. {
  564. get { return _starAttr; }
  565. }
  566. private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _tempstarAttr = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
  567. /// <summary>
  568. /// 未保存重铸星级属性, 废弃
  569. /// </summary>
  570. [global::ProtoBuf.ProtoMember(21, Name=@"tempstarAttr", DataFormat = global::ProtoBuf.DataFormat.Default)]
  571. public global::System.Collections.Generic.List<pomelo.AttributeBase> tempstarAttr
  572. {
  573. get { return _tempstarAttr; }
  574. }
  575. private int _seniorTempRemakeScore = default(int);
  576. /// <summary>
  577. /// 未保存的高级重铸评分, 废弃
  578. /// </summary>
  579. [global::ProtoBuf.ProtoMember(22, IsRequired = false, Name=@"seniorTempRemakeScore", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  580. [global::System.ComponentModel.DefaultValue(default(int))]
  581. public int seniorTempRemakeScore
  582. {
  583. get { return _seniorTempRemakeScore; }
  584. set { _seniorTempRemakeScore = value; }
  585. }
  586. private readonly global::System.Collections.Generic.List<pomelo.item.AttributeBaseArray> _godSpeAttrs = new global::System.Collections.Generic.List<pomelo.item.AttributeBaseArray>();
  587. /// <summary>
  588. /// 神器特殊属性组
  589. /// </summary>
  590. [global::ProtoBuf.ProtoMember(23, Name=@"godSpeAttrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  591. public global::System.Collections.Generic.List<pomelo.item.AttributeBaseArray> godSpeAttrs
  592. {
  593. get { return _godSpeAttrs; }
  594. }
  595. private int _godSkId = default(int);
  596. /// <summary>
  597. /// 神器技能id
  598. /// </summary>
  599. [global::ProtoBuf.ProtoMember(24, IsRequired = false, Name=@"godSkId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  600. [global::System.ComponentModel.DefaultValue(default(int))]
  601. public int godSkId
  602. {
  603. get { return _godSkId; }
  604. set { _godSkId = value; }
  605. }
  606. private int _godSkLv = default(int);
  607. /// <summary>
  608. /// 神器技能lv
  609. /// </summary>
  610. [global::ProtoBuf.ProtoMember(25, IsRequired = false, Name=@"godSkLv", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  611. [global::System.ComponentModel.DefaultValue(default(int))]
  612. public int godSkLv
  613. {
  614. get { return _godSkLv; }
  615. set { _godSkLv = value; }
  616. }
  617. private global::ProtoBuf.IExtension extensionObject;
  618. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  619. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  620. }
  621. //---------------------------------------------------------------------------------------
  622. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EarItemDetail")]
  623. public partial class EarItemDetail : global::ProtoBuf.IExtensible
  624. {
  625. public EarItemDetail() {}
  626. private string _id = "";
  627. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  628. [global::System.ComponentModel.DefaultValue("")]
  629. public string id
  630. {
  631. get { return _id; }
  632. set { _id = value; }
  633. }
  634. private string _ownId = "";
  635. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"ownId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  636. [global::System.ComponentModel.DefaultValue("")]
  637. public string ownId
  638. {
  639. get { return _ownId; }
  640. set { _ownId = value; }
  641. }
  642. private string _ownName = "";
  643. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"ownName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  644. [global::System.ComponentModel.DefaultValue("")]
  645. public string ownName
  646. {
  647. get { return _ownName; }
  648. set { _ownName = value; }
  649. }
  650. private string _time = "";
  651. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"time", DataFormat = global::ProtoBuf.DataFormat.Default)]
  652. [global::System.ComponentModel.DefaultValue("")]
  653. public string time
  654. {
  655. get { return _time; }
  656. set { _time = value; }
  657. }
  658. private global::ProtoBuf.IExtension extensionObject;
  659. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  660. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  661. }
  662. //---------------------------------------------------------------------------------------
  663. /// <summary>
  664. /// 道具详情
  665. /// </summary>
  666. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ItemDetail")]
  667. public partial class ItemDetail : global::ProtoBuf.IExtensible
  668. {
  669. public ItemDetail() {}
  670. private string _id = "";
  671. /// <summary>
  672. /// uuid
  673. /// </summary>
  674. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
  675. [global::System.ComponentModel.DefaultValue("")]
  676. public string id
  677. {
  678. get { return _id; }
  679. set { _id = value; }
  680. }
  681. private string _code = "";
  682. /// <summary>
  683. /// 模版id 区分是否是装备
  684. /// </summary>
  685. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
  686. [global::System.ComponentModel.DefaultValue("")]
  687. public string code
  688. {
  689. get { return _code; }
  690. set { _code = value; }
  691. }
  692. private int _bindType = default(int);
  693. /// <summary>
  694. /// 0 没有绑定 1 绑定 2 装备绑定
  695. /// </summary>
  696. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"bindType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  697. [global::System.ComponentModel.DefaultValue(default(int))]
  698. public int bindType
  699. {
  700. get { return _bindType; }
  701. set { _bindType = value; }
  702. }
  703. private int _canTrade = default(int);
  704. /// <summary>
  705. /// 1 可以 0 不可以
  706. /// </summary>
  707. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"canTrade", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  708. [global::System.ComponentModel.DefaultValue(default(int))]
  709. public int canTrade
  710. {
  711. get { return _canTrade; }
  712. set { _canTrade = value; }
  713. }
  714. private int _canAuction = default(int);
  715. /// <summary>
  716. /// 同上
  717. /// </summary>
  718. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"canAuction", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  719. [global::System.ComponentModel.DefaultValue(default(int))]
  720. public int canAuction
  721. {
  722. get { return _canAuction; }
  723. set { _canAuction = value; }
  724. }
  725. private int _canDepotRole = default(int);
  726. /// <summary>
  727. /// 同上
  728. /// </summary>
  729. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"canDepotRole", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  730. [global::System.ComponentModel.DefaultValue(default(int))]
  731. public int canDepotRole
  732. {
  733. get { return _canDepotRole; }
  734. set { _canDepotRole = value; }
  735. }
  736. private int _canDepotGuild = default(int);
  737. /// <summary>
  738. /// 同上
  739. /// </summary>
  740. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"canDepotGuild", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  741. [global::System.ComponentModel.DefaultValue(default(int))]
  742. public int canDepotGuild
  743. {
  744. get { return _canDepotGuild; }
  745. set { _canDepotGuild = value; }
  746. }
  747. private pomelo.item.EquipmentDetail _equipDetail = null;
  748. /// <summary>
  749. /// 装备才有的详情
  750. /// </summary>
  751. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"equipDetail", DataFormat = global::ProtoBuf.DataFormat.Default)]
  752. [global::System.ComponentModel.DefaultValue(null)]
  753. public pomelo.item.EquipmentDetail equipDetail
  754. {
  755. get { return _equipDetail; }
  756. set { _equipDetail = value; }
  757. }
  758. private pomelo.item.EarItemDetail _earDetail = null;
  759. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"earDetail", DataFormat = global::ProtoBuf.DataFormat.Default)]
  760. [global::System.ComponentModel.DefaultValue(null)]
  761. public pomelo.item.EarItemDetail earDetail
  762. {
  763. get { return _earDetail; }
  764. set { _earDetail = value; }
  765. }
  766. private global::ProtoBuf.IExtension extensionObject;
  767. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  768. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  769. }
  770. //---------------------------------------------------------------------------------------
  771. /// <summary>
  772. /// 寄卖道具的信息
  773. /// </summary>
  774. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ConsignmentItem")]
  775. public partial class ConsignmentItem : global::ProtoBuf.IExtensible
  776. {
  777. public ConsignmentItem() {}
  778. private pomelo.item.ItemDetail _detail = null;
  779. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"detail", DataFormat = global::ProtoBuf.DataFormat.Default)]
  780. [global::System.ComponentModel.DefaultValue(null)]
  781. public pomelo.item.ItemDetail detail
  782. {
  783. get { return _detail; }
  784. set { _detail = value; }
  785. }
  786. private int _groupCount = default(int);
  787. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  788. [global::System.ComponentModel.DefaultValue(default(int))]
  789. public int groupCount
  790. {
  791. get { return _groupCount; }
  792. set { _groupCount = value; }
  793. }
  794. private int _publishTimes = default(int);
  795. /// <summary>
  796. /// 已经宣传的次数
  797. /// </summary>
  798. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"publishTimes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  799. [global::System.ComponentModel.DefaultValue(default(int))]
  800. public int publishTimes
  801. {
  802. get { return _publishTimes; }
  803. set { _publishTimes = value; }
  804. }
  805. private int _consignmentPrice = default(int);
  806. /// <summary>
  807. /// 寄卖价格
  808. /// </summary>
  809. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"consignmentPrice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  810. [global::System.ComponentModel.DefaultValue(default(int))]
  811. public int consignmentPrice
  812. {
  813. get { return _consignmentPrice; }
  814. set { _consignmentPrice = value; }
  815. }
  816. private string _consignmentTime = "";
  817. /// <summary>
  818. /// 寄卖到期时间(24h + lateMinutes分钟) 单位:ms
  819. /// </summary>
  820. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"consignmentTime", DataFormat = global::ProtoBuf.DataFormat.Default)]
  821. [global::System.ComponentModel.DefaultValue("")]
  822. public string consignmentTime
  823. {
  824. get { return _consignmentTime; }
  825. set { _consignmentTime = value; }
  826. }
  827. private string _consignmentPlayerName = "";
  828. /// <summary>
  829. /// 寄卖玩家名称
  830. /// </summary>
  831. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"consignmentPlayerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
  832. [global::System.ComponentModel.DefaultValue("")]
  833. public string consignmentPlayerName
  834. {
  835. get { return _consignmentPlayerName; }
  836. set { _consignmentPlayerName = value; }
  837. }
  838. private int _consignmentPlayerPro = default(int);
  839. /// <summary>
  840. /// 寄卖玩家职业
  841. /// </summary>
  842. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"consignmentPlayerPro", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  843. [global::System.ComponentModel.DefaultValue(default(int))]
  844. public int consignmentPlayerPro
  845. {
  846. get { return _consignmentPlayerPro; }
  847. set { _consignmentPlayerPro = value; }
  848. }
  849. private string _consignmentPlayerId = "";
  850. /// <summary>
  851. /// 寄卖玩家的id
  852. /// </summary>
  853. [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"consignmentPlayerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  854. [global::System.ComponentModel.DefaultValue("")]
  855. public string consignmentPlayerId
  856. {
  857. get { return _consignmentPlayerId; }
  858. set { _consignmentPlayerId = value; }
  859. }
  860. private long _lateTime = default(long);
  861. /// <summary>
  862. /// 寄卖上架延迟时间 单位:ms
  863. /// </summary>
  864. [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"lateTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  865. [global::System.ComponentModel.DefaultValue(default(long))]
  866. public long lateTime
  867. {
  868. get { return _lateTime; }
  869. set { _lateTime = value; }
  870. }
  871. private global::ProtoBuf.IExtension extensionObject;
  872. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  873. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  874. }
  875. //---------------------------------------------------------------------------------------
  876. /// <summary>
  877. /// 单条血炼属性(一个血炼项可能有多个属性)
  878. /// </summary>
  879. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BloodAttrItem")]
  880. public partial class BloodAttrItem : global::ProtoBuf.IExtensible
  881. {
  882. public BloodAttrItem() {}
  883. private readonly global::System.Collections.Generic.List<pomelo.AttributeSimple> _attrItem = new global::System.Collections.Generic.List<pomelo.AttributeSimple>();
  884. [global::ProtoBuf.ProtoMember(1, Name=@"attrItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
  885. public global::System.Collections.Generic.List<pomelo.AttributeSimple> attrItem
  886. {
  887. get { return _attrItem; }
  888. }
  889. private global::ProtoBuf.IExtension extensionObject;
  890. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  891. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  892. }
  893. //---------------------------------------------------------------------------------------
  894. /// <summary>
  895. /// 单个格子的索引和强化等级信息
  896. /// </summary>
  897. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EquipGridStrengthInfo")]
  898. public partial class EquipGridStrengthInfo : global::ProtoBuf.IExtensible
  899. {
  900. public EquipGridStrengthInfo() {}
  901. private int _pos;
  902. /// <summary>
  903. /// EquipType:格子索引
  904. /// </summary>
  905. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  906. public int pos
  907. {
  908. get { return _pos; }
  909. set { _pos = value; }
  910. }
  911. private int _enLevel = default(int);
  912. /// <summary>
  913. /// 强化等级
  914. /// </summary>
  915. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"enLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  916. [global::System.ComponentModel.DefaultValue(default(int))]
  917. public int enLevel
  918. {
  919. get { return _enLevel; }
  920. set { _enLevel = value; }
  921. }
  922. private readonly global::System.Collections.Generic.List<pomelo.item.BloodAttrItem> _bloodAttr = new global::System.Collections.Generic.List<pomelo.item.BloodAttrItem>();
  923. /// <summary>
  924. /// 血炼属性
  925. /// </summary>
  926. [global::ProtoBuf.ProtoMember(3, Name=@"bloodAttr", DataFormat = global::ProtoBuf.DataFormat.Default)]
  927. public global::System.Collections.Generic.List<pomelo.item.BloodAttrItem> bloodAttr
  928. {
  929. get { return _bloodAttr; }
  930. }
  931. private global::ProtoBuf.IExtension extensionObject;
  932. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  933. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  934. }
  935. //---------------------------------------------------------------------------------------
  936. /// <summary>
  937. /// 已穿戴的时装信息
  938. /// </summary>
  939. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EquipFashionInfo")]
  940. public partial class EquipFashionInfo : global::ProtoBuf.IExtensible
  941. {
  942. public EquipFashionInfo() {}
  943. private int _pos;
  944. /// <summary>
  945. /// 1: 武饰 2:衣服 3:背饰
  946. /// </summary>
  947. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  948. public int pos
  949. {
  950. get { return _pos; }
  951. set { _pos = value; }
  952. }
  953. private string _itemcode = "";
  954. /// <summary>
  955. /// 穿戴的时装物品模板ID
  956. /// </summary>
  957. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"itemcode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  958. [global::System.ComponentModel.DefaultValue("")]
  959. public string itemcode
  960. {
  961. get { return _itemcode; }
  962. set { _itemcode = value; }
  963. }
  964. private global::ProtoBuf.IExtension extensionObject;
  965. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  966. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  967. }
  968. //---------------------------------------------------------------------------------------
  969. /// <summary>
  970. /// 绑定枚举
  971. /// </summary>
  972. [global::ProtoBuf.ProtoContract(Name=@"BindType")]
  973. public enum BindType
  974. {
  975. /// <summary>
  976. /// 未绑定(商店和身上均显示未绑定)
  977. /// </summary>
  978. [global::ProtoBuf.ProtoEnum(Name=@"UN_BIND", Value=0)]
  979. UN_BIND = 0,
  980. /// <summary>
  981. /// 已绑定
  982. /// </summary>
  983. [global::ProtoBuf.ProtoEnum(Name=@"BIND", Value=1)]
  984. BIND = 1,
  985. /// <summary>
  986. /// 装备后绑定
  987. /// </summary>
  988. [global::ProtoBuf.ProtoEnum(Name=@"EQUIP_BIND", Value=2)]
  989. EQUIP_BIND = 2,
  990. /// <summary>
  991. /// 获取后绑定
  992. /// </summary>
  993. [global::ProtoBuf.ProtoEnum(Name=@"BIND_AFTER_GET", Value=3)]
  994. BIND_AFTER_GET = 3,
  995. /// <summary>
  996. /// 获取后装绑
  997. /// </summary>
  998. [global::ProtoBuf.ProtoEnum(Name=@"EQUIP_BIND_AFTER_GET", Value=4)]
  999. EQUIP_BIND_AFTER_GET = 4
  1000. }
  1001. }