_petNewHandler.cs 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  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. // Generated from: petNewHandler.proto
  10. // Note: requires additional types generated from: common.proto
  11. namespace pomelo.area
  12. {
  13. //---------------------------------------------------------------------------------------
  14. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAllPetsInfoRequest")]
  15. public partial class GetAllPetsInfoRequest : global::ProtoBuf.IExtensible
  16. {
  17. public GetAllPetsInfoRequest() {}
  18. private global::ProtoBuf.IExtension extensionObject;
  19. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  20. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  21. }
  22. //---------------------------------------------------------------------------------------
  23. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SkillDataInfo")]
  24. public partial class SkillDataInfo : global::ProtoBuf.IExtensible
  25. {
  26. public SkillDataInfo() {}
  27. private int _id;
  28. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  29. public int id
  30. {
  31. get { return _id; }
  32. set { _id = value; }
  33. }
  34. private int _level;
  35. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  36. public int level
  37. {
  38. get { return _level; }
  39. set { _level = value; }
  40. }
  41. private int _pos;
  42. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  43. public int pos
  44. {
  45. get { return _pos; }
  46. set { _pos = value; }
  47. }
  48. private int _inborn;
  49. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"inborn", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  50. public int inborn
  51. {
  52. get { return _inborn; }
  53. set { _inborn = value; }
  54. }
  55. private global::ProtoBuf.IExtension extensionObject;
  56. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  57. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  58. }
  59. //---------------------------------------------------------------------------------------
  60. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PetDataInfo")]
  61. public partial class PetDataInfo : global::ProtoBuf.IExtensible
  62. {
  63. public PetDataInfo() {}
  64. private int _id;
  65. /// <summary>
  66. /// 宠物模板id
  67. /// </summary>
  68. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  69. public int id
  70. {
  71. get { return _id; }
  72. set { _id = value; }
  73. }
  74. private int _level;
  75. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  76. public int level
  77. {
  78. get { return _level; }
  79. set { _level = value; }
  80. }
  81. private string _name;
  82. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  83. public string name
  84. {
  85. get { return _name; }
  86. set { _name = value; }
  87. }
  88. private long _exp;
  89. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"exp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  90. public long exp
  91. {
  92. get { return _exp; }
  93. set { _exp = value; }
  94. }
  95. private readonly global::System.Collections.Generic.List<pomelo.AttributeSimple> _attrs_final = new global::System.Collections.Generic.List<pomelo.AttributeSimple>();
  96. /// <summary>
  97. /// 战斗属性
  98. /// </summary>
  99. [global::ProtoBuf.ProtoMember(5, Name=@"attrs_final", DataFormat = global::ProtoBuf.DataFormat.Default)]
  100. public global::System.Collections.Generic.List<pomelo.AttributeSimple> attrs_final
  101. {
  102. get { return _attrs_final; }
  103. }
  104. private readonly global::System.Collections.Generic.List<pomelo.area.SkillDataInfo> _skills = new global::System.Collections.Generic.List<pomelo.area.SkillDataInfo>();
  105. [global::ProtoBuf.ProtoMember(7, Name=@"skills", DataFormat = global::ProtoBuf.DataFormat.Default)]
  106. public global::System.Collections.Generic.List<pomelo.area.SkillDataInfo> skills
  107. {
  108. get { return _skills; }
  109. }
  110. private int _upLevel;
  111. [global::ProtoBuf.ProtoMember(8, IsRequired = true, Name=@"upLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  112. public int upLevel
  113. {
  114. get { return _upLevel; }
  115. set { _upLevel = value; }
  116. }
  117. private int _fightPower;
  118. [global::ProtoBuf.ProtoMember(9, IsRequired = true, Name=@"fightPower", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  119. public int fightPower
  120. {
  121. get { return _fightPower; }
  122. set { _fightPower = value; }
  123. }
  124. private readonly global::System.Collections.Generic.List<pomelo.AttributeSimple> _next_attrs_final = new global::System.Collections.Generic.List<pomelo.AttributeSimple>();
  125. /// <summary>
  126. /// 战斗属性
  127. /// </summary>
  128. [global::ProtoBuf.ProtoMember(10, Name=@"next_attrs_final", DataFormat = global::ProtoBuf.DataFormat.Default)]
  129. public global::System.Collections.Generic.List<pomelo.AttributeSimple> next_attrs_final
  130. {
  131. get { return _next_attrs_final; }
  132. }
  133. private global::ProtoBuf.IExtension extensionObject;
  134. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  135. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  136. }
  137. //---------------------------------------------------------------------------------------
  138. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAllPetsInfoResponse")]
  139. public partial class GetAllPetsInfoResponse : global::ProtoBuf.IExtensible
  140. {
  141. public GetAllPetsInfoResponse() {}
  142. private int _s2c_code;
  143. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  144. public int s2c_code
  145. {
  146. get { return _s2c_code; }
  147. set { _s2c_code = value; }
  148. }
  149. private string _s2c_msg = "";
  150. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  151. [global::System.ComponentModel.DefaultValue("")]
  152. public string s2c_msg
  153. {
  154. get { return _s2c_msg; }
  155. set { _s2c_msg = value; }
  156. }
  157. private readonly global::System.Collections.Generic.List<pomelo.area.PetDataInfo> _s2c_petInfo = new global::System.Collections.Generic.List<pomelo.area.PetDataInfo>();
  158. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  159. public global::System.Collections.Generic.List<pomelo.area.PetDataInfo> s2c_petInfo
  160. {
  161. get { return _s2c_petInfo; }
  162. }
  163. private int _s2c_fightingPetId;
  164. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"s2c_fightingPetId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  165. public int s2c_fightingPetId
  166. {
  167. get { return _s2c_fightingPetId; }
  168. set { _s2c_fightingPetId = value; }
  169. }
  170. private global::ProtoBuf.IExtension extensionObject;
  171. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  172. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  173. }
  174. //---------------------------------------------------------------------------------------
  175. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SummonPetRequest")]
  176. public partial class SummonPetRequest : global::ProtoBuf.IExtensible
  177. {
  178. public SummonPetRequest() {}
  179. private int _c2s_id;
  180. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  181. public int c2s_id
  182. {
  183. get { return _c2s_id; }
  184. set { _c2s_id = value; }
  185. }
  186. private global::ProtoBuf.IExtension extensionObject;
  187. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  188. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  189. }
  190. //---------------------------------------------------------------------------------------
  191. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SummonPetResponse")]
  192. public partial class SummonPetResponse : global::ProtoBuf.IExtensible
  193. {
  194. public SummonPetResponse() {}
  195. private int _s2c_code;
  196. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  197. public int s2c_code
  198. {
  199. get { return _s2c_code; }
  200. set { _s2c_code = value; }
  201. }
  202. private string _s2c_msg = "";
  203. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  204. [global::System.ComponentModel.DefaultValue("")]
  205. public string s2c_msg
  206. {
  207. get { return _s2c_msg; }
  208. set { _s2c_msg = value; }
  209. }
  210. private int _s2c_fight = default(int);
  211. /// <summary>
  212. /// 是否立马出战了 1是0否
  213. /// </summary>
  214. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_fight", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  215. [global::System.ComponentModel.DefaultValue(default(int))]
  216. public int s2c_fight
  217. {
  218. get { return _s2c_fight; }
  219. set { _s2c_fight = 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. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpGradeUpLevelRequest")]
  227. public partial class UpGradeUpLevelRequest : global::ProtoBuf.IExtensible
  228. {
  229. public UpGradeUpLevelRequest() {}
  230. private int _c2s_id;
  231. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  232. public int c2s_id
  233. {
  234. get { return _c2s_id; }
  235. set { _c2s_id = value; }
  236. }
  237. private global::ProtoBuf.IExtension extensionObject;
  238. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  239. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  240. }
  241. //---------------------------------------------------------------------------------------
  242. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpGradeUpLevelResponse")]
  243. public partial class UpGradeUpLevelResponse : global::ProtoBuf.IExtensible
  244. {
  245. public UpGradeUpLevelResponse() {}
  246. private int _s2c_code;
  247. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  248. public int s2c_code
  249. {
  250. get { return _s2c_code; }
  251. set { _s2c_code = value; }
  252. }
  253. private string _s2c_msg = "";
  254. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  255. [global::System.ComponentModel.DefaultValue("")]
  256. public string s2c_msg
  257. {
  258. get { return _s2c_msg; }
  259. set { _s2c_msg = value; }
  260. }
  261. private pomelo.area.PetDataInfo _petInfo = null;
  262. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  263. [global::System.ComponentModel.DefaultValue(null)]
  264. public pomelo.area.PetDataInfo petInfo
  265. {
  266. get { return _petInfo; }
  267. set { _petInfo = value; }
  268. }
  269. private global::ProtoBuf.IExtension extensionObject;
  270. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  271. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  272. }
  273. //---------------------------------------------------------------------------------------
  274. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AddExpByItemRequest")]
  275. public partial class AddExpByItemRequest : global::ProtoBuf.IExtensible
  276. {
  277. public AddExpByItemRequest() {}
  278. private int _c2s_id;
  279. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  280. public int c2s_id
  281. {
  282. get { return _c2s_id; }
  283. set { _c2s_id = value; }
  284. }
  285. private string _c2s_itemCode;
  286. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_itemCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  287. public string c2s_itemCode
  288. {
  289. get { return _c2s_itemCode; }
  290. set { _c2s_itemCode = value; }
  291. }
  292. private global::ProtoBuf.IExtension extensionObject;
  293. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  294. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  295. }
  296. //---------------------------------------------------------------------------------------
  297. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AddExpByItemResponse")]
  298. public partial class AddExpByItemResponse : global::ProtoBuf.IExtensible
  299. {
  300. public AddExpByItemResponse() {}
  301. private int _s2c_code;
  302. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  303. public int s2c_code
  304. {
  305. get { return _s2c_code; }
  306. set { _s2c_code = value; }
  307. }
  308. private string _s2c_msg = "";
  309. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  310. [global::System.ComponentModel.DefaultValue("")]
  311. public string s2c_msg
  312. {
  313. get { return _s2c_msg; }
  314. set { _s2c_msg = value; }
  315. }
  316. private pomelo.area.PetDataInfo _petInfo = null;
  317. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  318. [global::System.ComponentModel.DefaultValue(null)]
  319. public pomelo.area.PetDataInfo petInfo
  320. {
  321. get { return _petInfo; }
  322. set { _petInfo = value; }
  323. }
  324. private global::ProtoBuf.IExtension extensionObject;
  325. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  326. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  327. }
  328. //---------------------------------------------------------------------------------------
  329. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeOneLevelRequest")]
  330. public partial class UpgradeOneLevelRequest : global::ProtoBuf.IExtensible
  331. {
  332. public UpgradeOneLevelRequest() {}
  333. private int _c2s_id;
  334. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  335. public int c2s_id
  336. {
  337. get { return _c2s_id; }
  338. set { _c2s_id = value; }
  339. }
  340. private global::ProtoBuf.IExtension extensionObject;
  341. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  342. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  343. }
  344. //---------------------------------------------------------------------------------------
  345. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeOneLevelResponse")]
  346. public partial class UpgradeOneLevelResponse : global::ProtoBuf.IExtensible
  347. {
  348. public UpgradeOneLevelResponse() {}
  349. private int _s2c_code;
  350. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  351. public int s2c_code
  352. {
  353. get { return _s2c_code; }
  354. set { _s2c_code = value; }
  355. }
  356. private string _s2c_msg = "";
  357. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  358. [global::System.ComponentModel.DefaultValue("")]
  359. public string s2c_msg
  360. {
  361. get { return _s2c_msg; }
  362. set { _s2c_msg = value; }
  363. }
  364. private pomelo.area.PetDataInfo _petInfo = null;
  365. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  366. [global::System.ComponentModel.DefaultValue(null)]
  367. public pomelo.area.PetDataInfo petInfo
  368. {
  369. get { return _petInfo; }
  370. set { _petInfo = value; }
  371. }
  372. private global::ProtoBuf.IExtension extensionObject;
  373. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  374. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  375. }
  376. //---------------------------------------------------------------------------------------
  377. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeToTopRequest")]
  378. public partial class UpgradeToTopRequest : global::ProtoBuf.IExtensible
  379. {
  380. public UpgradeToTopRequest() {}
  381. private int _c2s_id;
  382. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  383. public int c2s_id
  384. {
  385. get { return _c2s_id; }
  386. set { _c2s_id = value; }
  387. }
  388. private global::ProtoBuf.IExtension extensionObject;
  389. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  390. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  391. }
  392. //---------------------------------------------------------------------------------------
  393. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeToTopResponse")]
  394. public partial class UpgradeToTopResponse : global::ProtoBuf.IExtensible
  395. {
  396. public UpgradeToTopResponse() {}
  397. private int _s2c_code;
  398. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  399. public int s2c_code
  400. {
  401. get { return _s2c_code; }
  402. set { _s2c_code = value; }
  403. }
  404. private string _s2c_msg = "";
  405. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  406. [global::System.ComponentModel.DefaultValue("")]
  407. public string s2c_msg
  408. {
  409. get { return _s2c_msg; }
  410. set { _s2c_msg = value; }
  411. }
  412. private pomelo.area.PetDataInfo _petInfo = null;
  413. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  414. [global::System.ComponentModel.DefaultValue(null)]
  415. public pomelo.area.PetDataInfo petInfo
  416. {
  417. get { return _petInfo; }
  418. set { _petInfo = value; }
  419. }
  420. private global::ProtoBuf.IExtension extensionObject;
  421. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  422. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  423. }
  424. //---------------------------------------------------------------------------------------
  425. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChangePetNameNewRequest")]
  426. public partial class ChangePetNameNewRequest : global::ProtoBuf.IExtensible
  427. {
  428. public ChangePetNameNewRequest() {}
  429. private int _c2s_id;
  430. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  431. public int c2s_id
  432. {
  433. get { return _c2s_id; }
  434. set { _c2s_id = value; }
  435. }
  436. private string _c2s_name;
  437. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
  438. public string c2s_name
  439. {
  440. get { return _c2s_name; }
  441. set { _c2s_name = value; }
  442. }
  443. private global::ProtoBuf.IExtension extensionObject;
  444. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  445. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  446. }
  447. //---------------------------------------------------------------------------------------
  448. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChangePetNameNewResponse")]
  449. public partial class ChangePetNameNewResponse : global::ProtoBuf.IExtensible
  450. {
  451. public ChangePetNameNewResponse() {}
  452. private int _s2c_code;
  453. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  454. public int s2c_code
  455. {
  456. get { return _s2c_code; }
  457. set { _s2c_code = value; }
  458. }
  459. private string _s2c_msg = "";
  460. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  461. [global::System.ComponentModel.DefaultValue("")]
  462. public string s2c_msg
  463. {
  464. get { return _s2c_msg; }
  465. set { _s2c_msg = value; }
  466. }
  467. private pomelo.area.PetDataInfo _petInfo = null;
  468. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  469. [global::System.ComponentModel.DefaultValue(null)]
  470. public pomelo.area.PetDataInfo petInfo
  471. {
  472. get { return _petInfo; }
  473. set { _petInfo = value; }
  474. }
  475. private global::ProtoBuf.IExtension extensionObject;
  476. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  477. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  478. }
  479. //---------------------------------------------------------------------------------------
  480. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PetFightRequest")]
  481. public partial class PetFightRequest : global::ProtoBuf.IExtensible
  482. {
  483. public PetFightRequest() {}
  484. private int _c2s_id;
  485. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  486. public int c2s_id
  487. {
  488. get { return _c2s_id; }
  489. set { _c2s_id = value; }
  490. }
  491. private int _c2s_type;
  492. /// <summary>
  493. /// 1:出战,0:休息
  494. /// </summary>
  495. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  496. public int c2s_type
  497. {
  498. get { return _c2s_type; }
  499. set { _c2s_type = value; }
  500. }
  501. private global::ProtoBuf.IExtension extensionObject;
  502. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  503. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  504. }
  505. //---------------------------------------------------------------------------------------
  506. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PetFightResponse")]
  507. public partial class PetFightResponse : global::ProtoBuf.IExtensible
  508. {
  509. public PetFightResponse() {}
  510. private int _s2c_code;
  511. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  512. public int s2c_code
  513. {
  514. get { return _s2c_code; }
  515. set { _s2c_code = value; }
  516. }
  517. private string _s2c_msg = "";
  518. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  519. [global::System.ComponentModel.DefaultValue("")]
  520. public string s2c_msg
  521. {
  522. get { return _s2c_msg; }
  523. set { _s2c_msg = value; }
  524. }
  525. private global::ProtoBuf.IExtension extensionObject;
  526. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  527. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  528. }
  529. //---------------------------------------------------------------------------------------
  530. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetPetInfoNewRequest")]
  531. public partial class GetPetInfoNewRequest : global::ProtoBuf.IExtensible
  532. {
  533. public GetPetInfoNewRequest() {}
  534. private int _c2s_petId;
  535. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_petId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  536. public int c2s_petId
  537. {
  538. get { return _c2s_petId; }
  539. set { _c2s_petId = value; }
  540. }
  541. private string _c2s_ownId;
  542. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_ownId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  543. public string c2s_ownId
  544. {
  545. get { return _c2s_ownId; }
  546. set { _c2s_ownId = value; }
  547. }
  548. private global::ProtoBuf.IExtension extensionObject;
  549. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  550. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  551. }
  552. //---------------------------------------------------------------------------------------
  553. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetPetInfoNewResponse")]
  554. public partial class GetPetInfoNewResponse : global::ProtoBuf.IExtensible
  555. {
  556. public GetPetInfoNewResponse() {}
  557. private int _s2c_code;
  558. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  559. public int s2c_code
  560. {
  561. get { return _s2c_code; }
  562. set { _s2c_code = value; }
  563. }
  564. private string _s2c_msg = "";
  565. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  566. [global::System.ComponentModel.DefaultValue("")]
  567. public string s2c_msg
  568. {
  569. get { return _s2c_msg; }
  570. set { _s2c_msg = value; }
  571. }
  572. private pomelo.area.PetDataInfo _s2c_pet = null;
  573. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_pet", DataFormat = global::ProtoBuf.DataFormat.Default)]
  574. [global::System.ComponentModel.DefaultValue(null)]
  575. public pomelo.area.PetDataInfo s2c_pet
  576. {
  577. get { return _s2c_pet; }
  578. set { _s2c_pet = value; }
  579. }
  580. private global::ProtoBuf.IExtension extensionObject;
  581. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  582. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  583. }
  584. //---------------------------------------------------------------------------------------
  585. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OnNewPetDetailPush")]
  586. public partial class OnNewPetDetailPush : global::ProtoBuf.IExtensible
  587. {
  588. public OnNewPetDetailPush() {}
  589. private int _s2c_code;
  590. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  591. public int s2c_code
  592. {
  593. get { return _s2c_code; }
  594. set { _s2c_code = value; }
  595. }
  596. private string _s2c_msg = "";
  597. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  598. [global::System.ComponentModel.DefaultValue("")]
  599. public string s2c_msg
  600. {
  601. get { return _s2c_msg; }
  602. set { _s2c_msg = value; }
  603. }
  604. private pomelo.area.PetDataInfo _petInfo = null;
  605. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"petInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  606. [global::System.ComponentModel.DefaultValue(null)]
  607. public pomelo.area.PetDataInfo petInfo
  608. {
  609. get { return _petInfo; }
  610. set { _petInfo = value; }
  611. }
  612. private global::ProtoBuf.IExtension extensionObject;
  613. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  614. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  615. }
  616. //---------------------------------------------------------------------------------------
  617. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PetExpUpdatePush")]
  618. public partial class PetExpUpdatePush : global::ProtoBuf.IExtensible
  619. {
  620. public PetExpUpdatePush() {}
  621. private int _s2c_petId;
  622. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_petId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  623. public int s2c_petId
  624. {
  625. get { return _s2c_petId; }
  626. set { _s2c_petId = value; }
  627. }
  628. private long _s2c_curExp;
  629. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"s2c_curExp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  630. public long s2c_curExp
  631. {
  632. get { return _s2c_curExp; }
  633. set { _s2c_curExp = value; }
  634. }
  635. private global::ProtoBuf.IExtension extensionObject;
  636. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  637. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  638. }
  639. //---------------------------------------------------------------------------------------
  640. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PetInfoUpdatePush")]
  641. public partial class PetInfoUpdatePush : global::ProtoBuf.IExtensible
  642. {
  643. public PetInfoUpdatePush() {}
  644. private pomelo.area.PetDataInfo _s2c_pet;
  645. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_pet", DataFormat = global::ProtoBuf.DataFormat.Default)]
  646. public pomelo.area.PetDataInfo s2c_pet
  647. {
  648. get { return _s2c_pet; }
  649. set { _s2c_pet = value; }
  650. }
  651. private global::ProtoBuf.IExtension extensionObject;
  652. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  653. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  654. }
  655. }