_functionOpenHandler.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. // * 创建时间= 2016-6-14
  12. // * 用途= 功能开放处理器
  13. // ***************************************************************************
  14. // Generated from: functionOpenHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. // Note: requires additional types generated from: player.proto
  17. namespace pomelo.area
  18. {
  19. //---------------------------------------------------------------------------------------
  20. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetFunctionListRequest")]
  21. public partial class GetFunctionListRequest : global::ProtoBuf.IExtensible
  22. {
  23. public GetFunctionListRequest() {}
  24. private global::ProtoBuf.IExtension extensionObject;
  25. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  26. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  27. }
  28. //---------------------------------------------------------------------------------------
  29. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetFunctionListResponse")]
  30. public partial class GetFunctionListResponse : global::ProtoBuf.IExtensible
  31. {
  32. public GetFunctionListResponse() {}
  33. private int _s2c_code;
  34. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  35. public int s2c_code
  36. {
  37. get { return _s2c_code; }
  38. set { _s2c_code = value; }
  39. }
  40. private string _s2c_msg = "";
  41. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  42. [global::System.ComponentModel.DefaultValue("")]
  43. public string s2c_msg
  44. {
  45. get { return _s2c_msg; }
  46. set { _s2c_msg = value; }
  47. }
  48. private readonly global::System.Collections.Generic.List<pomelo.player.FunctionInfo> _s2c_list = new global::System.Collections.Generic.List<pomelo.player.FunctionInfo>();
  49. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_list", DataFormat = global::ProtoBuf.DataFormat.Default)]
  50. public global::System.Collections.Generic.List<pomelo.player.FunctionInfo> s2c_list
  51. {
  52. get { return _s2c_list; }
  53. }
  54. private global::ProtoBuf.IExtension extensionObject;
  55. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  56. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  57. }
  58. //---------------------------------------------------------------------------------------
  59. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetFunctionPlayedRequest")]
  60. public partial class SetFunctionPlayedRequest : global::ProtoBuf.IExtensible
  61. {
  62. public SetFunctionPlayedRequest() {}
  63. private int _functionId;
  64. /// <summary>
  65. /// openLv表格id字段
  66. /// </summary>
  67. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"functionId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  68. public int functionId
  69. {
  70. get { return _functionId; }
  71. set { _functionId = value; }
  72. }
  73. private global::ProtoBuf.IExtension extensionObject;
  74. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  75. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  76. }
  77. //---------------------------------------------------------------------------------------
  78. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetFunctionPlayedResponse")]
  79. public partial class SetFunctionPlayedResponse : global::ProtoBuf.IExtensible
  80. {
  81. public SetFunctionPlayedResponse() {}
  82. private int _s2c_code;
  83. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  84. public int s2c_code
  85. {
  86. get { return _s2c_code; }
  87. set { _s2c_code = value; }
  88. }
  89. private string _s2c_msg = "";
  90. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  91. [global::System.ComponentModel.DefaultValue("")]
  92. public string s2c_msg
  93. {
  94. get { return _s2c_msg; }
  95. set { _s2c_msg = value; }
  96. }
  97. private global::ProtoBuf.IExtension extensionObject;
  98. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  99. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  100. }
  101. //---------------------------------------------------------------------------------------
  102. /// <summary>
  103. /// 领取功能奖励
  104. /// </summary>
  105. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveFunctionAwardRequest")]
  106. public partial class ReceiveFunctionAwardRequest : global::ProtoBuf.IExtensible
  107. {
  108. public ReceiveFunctionAwardRequest() {}
  109. private int _guide_id;
  110. /// <summary>
  111. /// Guide表里的 功能ID
  112. /// </summary>
  113. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"guide_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  114. public int guide_id
  115. {
  116. get { return _guide_id; }
  117. set { _guide_id = value; }
  118. }
  119. private global::ProtoBuf.IExtension extensionObject;
  120. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  121. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  122. }
  123. //---------------------------------------------------------------------------------------
  124. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveFunctionAwardResponse")]
  125. public partial class ReceiveFunctionAwardResponse : global::ProtoBuf.IExtensible
  126. {
  127. public ReceiveFunctionAwardResponse() {}
  128. private int _s2c_code;
  129. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  130. public int s2c_code
  131. {
  132. get { return _s2c_code; }
  133. set { _s2c_code = value; }
  134. }
  135. private string _s2c_msg = "";
  136. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  137. [global::System.ComponentModel.DefaultValue("")]
  138. public string s2c_msg
  139. {
  140. get { return _s2c_msg; }
  141. set { _s2c_msg = value; }
  142. }
  143. private global::ProtoBuf.IExtension extensionObject;
  144. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  145. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  146. }
  147. //---------------------------------------------------------------------------------------
  148. /// <summary>
  149. /// 推送开始
  150. /// </summary>
  151. /// <summary>
  152. /// 功能开放列表推送
  153. /// </summary>
  154. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FunctionOpenListPush")]
  155. public partial class FunctionOpenListPush : global::ProtoBuf.IExtensible
  156. {
  157. public FunctionOpenListPush() {}
  158. private int _s2c_code;
  159. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  160. public int s2c_code
  161. {
  162. get { return _s2c_code; }
  163. set { _s2c_code = value; }
  164. }
  165. private string _s2c_msg = "";
  166. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  167. [global::System.ComponentModel.DefaultValue("")]
  168. public string s2c_msg
  169. {
  170. get { return _s2c_msg; }
  171. set { _s2c_msg = value; }
  172. }
  173. private readonly global::System.Collections.Generic.List<pomelo.player.FunctionInfo> _s2c_list = new global::System.Collections.Generic.List<pomelo.player.FunctionInfo>();
  174. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_list", DataFormat = global::ProtoBuf.DataFormat.Default)]
  175. public global::System.Collections.Generic.List<pomelo.player.FunctionInfo> s2c_list
  176. {
  177. get { return _s2c_list; }
  178. }
  179. private int _s2c_isAll = default(int);
  180. /// <summary>
  181. /// 0:部分更新 1:所有列表
  182. /// </summary>
  183. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_isAll", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  184. [global::System.ComponentModel.DefaultValue(default(int))]
  185. public int s2c_isAll
  186. {
  187. get { return _s2c_isAll; }
  188. set { _s2c_isAll = value; }
  189. }
  190. private global::ProtoBuf.IExtension extensionObject;
  191. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  192. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  193. }
  194. //---------------------------------------------------------------------------------------
  195. /// <summary>
  196. /// 功能开放奖励未领取的推送
  197. /// </summary>
  198. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FunctionAwardListPush")]
  199. public partial class FunctionAwardListPush : global::ProtoBuf.IExtensible
  200. {
  201. public FunctionAwardListPush() {}
  202. private readonly global::System.Collections.Generic.List<int> _guideIds = new global::System.Collections.Generic.List<int>();
  203. /// <summary>
  204. /// 未领取的奖励-功能ID
  205. /// </summary>
  206. [global::ProtoBuf.ProtoMember(1, Name=@"guideIds", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  207. public global::System.Collections.Generic.List<int> guideIds
  208. {
  209. get { return _guideIds; }
  210. }
  211. private global::ProtoBuf.IExtension extensionObject;
  212. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  213. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  214. }
  215. }