_runeHandler.cs 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. // * 创建时间: 2020.9.17
  12. // * 用途: 神器-神兵-符文系统
  13. // * 维护成员: 詹斗池
  14. // ****************************************************************************/
  15. // Generated from: runeHandler.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// 请求475:符文吸收 响应:EquipSuckRuneResponse
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RuneSuckRequest")]
  23. public partial class RuneSuckRequest : global::ProtoBuf.IExtensible
  24. {
  25. public RuneSuckRequest() {}
  26. private bool _c2s_is_euqip_in_bag;
  27. /// <summary>
  28. /// 神器是否在背包
  29. /// </summary>
  30. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_is_euqip_in_bag", DataFormat = global::ProtoBuf.DataFormat.Default)]
  31. public bool c2s_is_euqip_in_bag
  32. {
  33. get { return _c2s_is_euqip_in_bag; }
  34. set { _c2s_is_euqip_in_bag = value; }
  35. }
  36. private int _c2s_euqip_pos;
  37. /// <summary>
  38. /// GridIndex(已装备,是装备格子,在背包,是背包格子)
  39. /// </summary>
  40. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_euqip_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  41. public int c2s_euqip_pos
  42. {
  43. get { return _c2s_euqip_pos; }
  44. set { _c2s_euqip_pos = value; }
  45. }
  46. private int _c2s_jin_rune_pos = default(int);
  47. /// <summary>
  48. /// 金-符文在背包里面的格子
  49. /// </summary>
  50. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"c2s_jin_rune_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  51. [global::System.ComponentModel.DefaultValue(default(int))]
  52. public int c2s_jin_rune_pos
  53. {
  54. get { return _c2s_jin_rune_pos; }
  55. set { _c2s_jin_rune_pos = value; }
  56. }
  57. private int _c2s_mu_rune_pos = default(int);
  58. /// <summary>
  59. /// 木-符文在背包里面的格子
  60. /// </summary>
  61. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"c2s_mu_rune_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  62. [global::System.ComponentModel.DefaultValue(default(int))]
  63. public int c2s_mu_rune_pos
  64. {
  65. get { return _c2s_mu_rune_pos; }
  66. set { _c2s_mu_rune_pos = value; }
  67. }
  68. private int _c2s_shui_rune_pos = default(int);
  69. /// <summary>
  70. /// 水-符文在背包里面的格子
  71. /// </summary>
  72. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"c2s_shui_rune_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  73. [global::System.ComponentModel.DefaultValue(default(int))]
  74. public int c2s_shui_rune_pos
  75. {
  76. get { return _c2s_shui_rune_pos; }
  77. set { _c2s_shui_rune_pos = value; }
  78. }
  79. private int _c2s_huo_rune_pos = default(int);
  80. /// <summary>
  81. /// 火-符文在背包里面的格子
  82. /// </summary>
  83. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"c2s_huo_rune_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  84. [global::System.ComponentModel.DefaultValue(default(int))]
  85. public int c2s_huo_rune_pos
  86. {
  87. get { return _c2s_huo_rune_pos; }
  88. set { _c2s_huo_rune_pos = value; }
  89. }
  90. private int _c2s_tu_rune_pos = default(int);
  91. /// <summary>
  92. /// 土-符文在背包里面的格子
  93. /// </summary>
  94. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"c2s_tu_rune_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  95. [global::System.ComponentModel.DefaultValue(default(int))]
  96. public int c2s_tu_rune_pos
  97. {
  98. get { return _c2s_tu_rune_pos; }
  99. set { _c2s_tu_rune_pos = value; }
  100. }
  101. private global::ProtoBuf.IExtension extensionObject;
  102. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  103. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  104. }
  105. //---------------------------------------------------------------------------------------
  106. /// <summary>
  107. /// 响应:符文吸收
  108. /// </summary>
  109. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RuneSuckResponse")]
  110. public partial class RuneSuckResponse : global::ProtoBuf.IExtensible
  111. {
  112. public RuneSuckResponse() {}
  113. private int _s2c_code;
  114. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  115. public int s2c_code
  116. {
  117. get { return _s2c_code; }
  118. set { _s2c_code = value; }
  119. }
  120. private string _s2c_msg = "";
  121. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  122. [global::System.ComponentModel.DefaultValue("")]
  123. public string s2c_msg
  124. {
  125. get { return _s2c_msg; }
  126. set { _s2c_msg = value; }
  127. }
  128. private global::ProtoBuf.IExtension extensionObject;
  129. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  130. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  131. }
  132. //---------------------------------------------------------------------------------------
  133. /// <summary>
  134. /// 请求476:符文合成 响应:RuneUpgradeResponse
  135. /// </summary>
  136. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RuneUpgradeRequest")]
  137. public partial class RuneUpgradeRequest : global::ProtoBuf.IExtensible
  138. {
  139. public RuneUpgradeRequest() {}
  140. private readonly global::System.Collections.Generic.List<int> _c2s_rune_pos = new global::System.Collections.Generic.List<int>();
  141. /// <summary>
  142. /// 符文在背包里面的格子
  143. /// </summary>
  144. [global::ProtoBuf.ProtoMember(1, Name=@"c2s_rune_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  145. public global::System.Collections.Generic.List<int> c2s_rune_pos
  146. {
  147. get { return _c2s_rune_pos; }
  148. }
  149. private global::ProtoBuf.IExtension extensionObject;
  150. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  151. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  152. }
  153. //---------------------------------------------------------------------------------------
  154. /// <summary>
  155. /// 响应:符文合成
  156. /// </summary>
  157. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RuneUpgradeResponse")]
  158. public partial class RuneUpgradeResponse : global::ProtoBuf.IExtensible
  159. {
  160. public RuneUpgradeResponse() {}
  161. private int _s2c_code;
  162. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  163. public int s2c_code
  164. {
  165. get { return _s2c_code; }
  166. set { _s2c_code = value; }
  167. }
  168. private string _s2c_msg = "";
  169. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  170. [global::System.ComponentModel.DefaultValue("")]
  171. public string s2c_msg
  172. {
  173. get { return _s2c_msg; }
  174. set { _s2c_msg = value; }
  175. }
  176. private global::ProtoBuf.IExtension extensionObject;
  177. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  178. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  179. }
  180. }