_openArtifactHandler.cs 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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. // * 创建时间: 2019-7-11
  12. // * 用途: 神器开启功能协议
  13. // ***************************************************************************
  14. // Generated from: openArtifactHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.openArtifact
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// 获取封魔录进度信息 请求
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOpenArtifactInfosRequest")]
  23. public partial class GetOpenArtifactInfosRequest : global::ProtoBuf.IExtensible
  24. {
  25. public GetOpenArtifactInfosRequest() {}
  26. private global::ProtoBuf.IExtension extensionObject;
  27. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  28. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  29. }
  30. //---------------------------------------------------------------------------------------
  31. /// <summary>
  32. /// 获取封魔录进度信息 返回
  33. /// </summary>
  34. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOpenArtifactInfosResponse")]
  35. public partial class GetOpenArtifactInfosResponse : global::ProtoBuf.IExtensible
  36. {
  37. public GetOpenArtifactInfosResponse() {}
  38. private int _s2c_code;
  39. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. public int s2c_code
  41. {
  42. get { return _s2c_code; }
  43. set { _s2c_code = value; }
  44. }
  45. private string _s2c_msg = "";
  46. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  47. [global::System.ComponentModel.DefaultValue("")]
  48. public string s2c_msg
  49. {
  50. get { return _s2c_msg; }
  51. set { _s2c_msg = value; }
  52. }
  53. private readonly global::System.Collections.Generic.List<pomelo.OpenArtifactInfo> _s2c_openArtifactInfos = new global::System.Collections.Generic.List<pomelo.OpenArtifactInfo>();
  54. /// <summary>
  55. /// 进度list
  56. /// </summary>
  57. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_openArtifactInfos", DataFormat = global::ProtoBuf.DataFormat.Default)]
  58. public global::System.Collections.Generic.List<pomelo.OpenArtifactInfo> s2c_openArtifactInfos
  59. {
  60. get { return _s2c_openArtifactInfos; }
  61. }
  62. private readonly global::System.Collections.Generic.List<int> _s2c_hideInfos = new global::System.Collections.Generic.List<int>();
  63. /// <summary>
  64. /// 已赦令list(任务编号list)
  65. /// </summary>
  66. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_hideInfos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  67. public global::System.Collections.Generic.List<int> s2c_hideInfos
  68. {
  69. get { return _s2c_hideInfos; }
  70. }
  71. private int _task_class;
  72. /// <summary>
  73. /// 第几组任务
  74. /// </summary>
  75. [global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"task_class", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  76. public int task_class
  77. {
  78. get { return _task_class; }
  79. set { _task_class = value; }
  80. }
  81. private global::ProtoBuf.IExtension extensionObject;
  82. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  83. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  84. }
  85. //---------------------------------------------------------------------------------------
  86. /// <summary>
  87. /// 赦令 请求
  88. /// </summary>
  89. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenArtifactHideRequest")]
  90. public partial class OpenArtifactHideRequest : global::ProtoBuf.IExtensible
  91. {
  92. public OpenArtifactHideRequest() {}
  93. private int _id;
  94. /// <summary>
  95. /// 任务编号
  96. /// </summary>
  97. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  98. public int id
  99. {
  100. get { return _id; }
  101. set { _id = value; }
  102. }
  103. private global::ProtoBuf.IExtension extensionObject;
  104. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  105. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  106. }
  107. //---------------------------------------------------------------------------------------
  108. /// <summary>
  109. /// 赦令 返回
  110. /// </summary>
  111. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenArtifactHideResponse")]
  112. public partial class OpenArtifactHideResponse : global::ProtoBuf.IExtensible
  113. {
  114. public OpenArtifactHideResponse() {}
  115. private int _s2c_code;
  116. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  117. public int s2c_code
  118. {
  119. get { return _s2c_code; }
  120. set { _s2c_code = value; }
  121. }
  122. private string _s2c_msg = "";
  123. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  124. [global::System.ComponentModel.DefaultValue("")]
  125. public string s2c_msg
  126. {
  127. get { return _s2c_msg; }
  128. set { _s2c_msg = value; }
  129. }
  130. private global::ProtoBuf.IExtension extensionObject;
  131. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  132. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  133. }
  134. //---------------------------------------------------------------------------------------
  135. /// <summary>
  136. /// 解封神器 请求
  137. /// </summary>
  138. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenArtifactRequest")]
  139. public partial class OpenArtifactRequest : global::ProtoBuf.IExtensible
  140. {
  141. public OpenArtifactRequest() {}
  142. private global::ProtoBuf.IExtension extensionObject;
  143. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  144. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  145. }
  146. //---------------------------------------------------------------------------------------
  147. /// <summary>
  148. /// 解封神器 返回
  149. /// </summary>
  150. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OpenArtifactResponse")]
  151. public partial class OpenArtifactResponse : global::ProtoBuf.IExtensible
  152. {
  153. public OpenArtifactResponse() {}
  154. private int _s2c_code;
  155. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  156. public int s2c_code
  157. {
  158. get { return _s2c_code; }
  159. set { _s2c_code = value; }
  160. }
  161. private string _s2c_msg = "";
  162. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  163. [global::System.ComponentModel.DefaultValue("")]
  164. public string s2c_msg
  165. {
  166. get { return _s2c_msg; }
  167. set { _s2c_msg = value; }
  168. }
  169. private global::ProtoBuf.IExtension extensionObject;
  170. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  171. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  172. }
  173. //---------------------------------------------------------------------------------------
  174. /// <summary>
  175. /// 神器功能是否开启推送
  176. /// </summary>
  177. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"IsOpenArtifactPush")]
  178. public partial class IsOpenArtifactPush : global::ProtoBuf.IExtensible
  179. {
  180. public IsOpenArtifactPush() {}
  181. private bool _s2c_isOpen;
  182. /// <summary>
  183. /// 是否开启神器(false:不开启)
  184. /// </summary>
  185. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_isOpen", DataFormat = global::ProtoBuf.DataFormat.Default)]
  186. public bool s2c_isOpen
  187. {
  188. get { return _s2c_isOpen; }
  189. set { _s2c_isOpen = value; }
  190. }
  191. private global::ProtoBuf.IExtension extensionObject;
  192. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  193. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  194. }
  195. }