_dailyActivityHandler.cs 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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. // * 作者= jjr
  11. // * 创建时间= 2017-4-11
  12. // * 用途= 日常活动协议
  13. // ***************************************************************************
  14. // Generated from: dailyActivityHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. // Note: requires additional types generated from: dailyActivity.proto
  17. namespace pomelo.area
  18. {
  19. //---------------------------------------------------------------------------------------
  20. /// <summary>
  21. /// 获取日常活动列表 (请求)
  22. /// </summary>
  23. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyActivityRequest")]
  24. public partial class DailyActivityRequest : global::ProtoBuf.IExtensible
  25. {
  26. public DailyActivityRequest() {}
  27. private global::ProtoBuf.IExtension extensionObject;
  28. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  29. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  30. }
  31. //---------------------------------------------------------------------------------------
  32. /// <summary>
  33. /// 获取日常活动列表 (返回)
  34. /// </summary>
  35. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyActivityResponse")]
  36. public partial class DailyActivityResponse : global::ProtoBuf.IExtensible
  37. {
  38. public DailyActivityResponse() {}
  39. private int _s2c_code;
  40. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  41. public int s2c_code
  42. {
  43. get { return _s2c_code; }
  44. set { _s2c_code = value; }
  45. }
  46. private string _s2c_msg = "";
  47. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  48. [global::System.ComponentModel.DefaultValue("")]
  49. public string s2c_msg
  50. {
  51. get { return _s2c_msg; }
  52. set { _s2c_msg = value; }
  53. }
  54. private readonly global::System.Collections.Generic.List<pomelo.dailyActivity.DailyInfo> _s2c_dailyLs = new global::System.Collections.Generic.List<pomelo.dailyActivity.DailyInfo>();
  55. /// <summary>
  56. /// 活动列表
  57. /// </summary>
  58. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_dailyLs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  59. public global::System.Collections.Generic.List<pomelo.dailyActivity.DailyInfo> s2c_dailyLs
  60. {
  61. get { return _s2c_dailyLs; }
  62. }
  63. private int _s2c_totalDegree = default(int);
  64. /// <summary>
  65. /// 总活跃度
  66. /// </summary>
  67. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_totalDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  68. [global::System.ComponentModel.DefaultValue(default(int))]
  69. public int s2c_totalDegree
  70. {
  71. get { return _s2c_totalDegree; }
  72. set { _s2c_totalDegree = value; }
  73. }
  74. private readonly global::System.Collections.Generic.List<pomelo.dailyActivity.DegreeInfo> _s2c_degreeLs = new global::System.Collections.Generic.List<pomelo.dailyActivity.DegreeInfo>();
  75. /// <summary>
  76. /// 活跃度奖励列表
  77. /// </summary>
  78. [global::ProtoBuf.ProtoMember(5, Name=@"s2c_degreeLs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  79. public global::System.Collections.Generic.List<pomelo.dailyActivity.DegreeInfo> s2c_degreeLs
  80. {
  81. get { return _s2c_degreeLs; }
  82. }
  83. private int _s2c_weekIndex = default(int);
  84. /// <summary>
  85. /// 今天星期几
  86. /// </summary>
  87. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"s2c_weekIndex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  88. [global::System.ComponentModel.DefaultValue(default(int))]
  89. public int s2c_weekIndex
  90. {
  91. get { return _s2c_weekIndex; }
  92. set { _s2c_weekIndex = value; }
  93. }
  94. private global::ProtoBuf.IExtension extensionObject;
  95. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  96. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  97. }
  98. //---------------------------------------------------------------------------------------
  99. /// <summary>
  100. /// 领取活跃度奖励 (请求)
  101. /// </summary>
  102. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDegreeRewardRequest")]
  103. public partial class GetDegreeRewardRequest : global::ProtoBuf.IExtensible
  104. {
  105. public GetDegreeRewardRequest() {}
  106. private int _id;
  107. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  108. public int id
  109. {
  110. get { return _id; }
  111. set { _id = value; }
  112. }
  113. private global::ProtoBuf.IExtension extensionObject;
  114. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  115. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  116. }
  117. //---------------------------------------------------------------------------------------
  118. /// <summary>
  119. /// 领取活跃度奖励 (返回)
  120. /// </summary>
  121. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDegreeRewardResponse")]
  122. public partial class GetDegreeRewardResponse : global::ProtoBuf.IExtensible
  123. {
  124. public GetDegreeRewardResponse() {}
  125. private int _s2c_code;
  126. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  127. public int s2c_code
  128. {
  129. get { return _s2c_code; }
  130. set { _s2c_code = value; }
  131. }
  132. private string _s2c_msg = "";
  133. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  134. [global::System.ComponentModel.DefaultValue("")]
  135. public string s2c_msg
  136. {
  137. get { return _s2c_msg; }
  138. set { _s2c_msg = value; }
  139. }
  140. private int _id = default(int);
  141. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  142. [global::System.ComponentModel.DefaultValue(default(int))]
  143. public int id
  144. {
  145. get { return _id; }
  146. set { _id = value; }
  147. }
  148. private int _s2c_state = default(int);
  149. /// <summary>
  150. /// 奖励领取后状态
  151. /// </summary>
  152. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  153. [global::System.ComponentModel.DefaultValue(default(int))]
  154. public int s2c_state
  155. {
  156. get { return _s2c_state; }
  157. set { _s2c_state = value; }
  158. }
  159. private global::ProtoBuf.IExtension extensionObject;
  160. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  161. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  162. }
  163. //---------------------------------------------------------------------------------------
  164. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ScheduleShowInfo")]
  165. public partial class ScheduleShowInfo : global::ProtoBuf.IExtensible
  166. {
  167. public ScheduleShowInfo() {}
  168. private int _s2c_schID;
  169. /// <summary>
  170. /// 预览活动id
  171. /// </summary>
  172. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_schID", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  173. public int s2c_schID
  174. {
  175. get { return _s2c_schID; }
  176. set { _s2c_schID = value; }
  177. }
  178. private int _s2c_start_time;
  179. /// <summary>
  180. /// 预览活动开始时间
  181. /// </summary>
  182. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"s2c_start_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  183. public int s2c_start_time
  184. {
  185. get { return _s2c_start_time; }
  186. set { _s2c_start_time = value; }
  187. }
  188. private global::ProtoBuf.IExtension extensionObject;
  189. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  190. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  191. }
  192. //---------------------------------------------------------------------------------------
  193. /// <summary>
  194. /// 活动预览推送---id:1086
  195. /// </summary>
  196. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyActivityScheduleShowPush")]
  197. public partial class DailyActivityScheduleShowPush : global::ProtoBuf.IExtensible
  198. {
  199. public DailyActivityScheduleShowPush() {}
  200. private readonly global::System.Collections.Generic.List<pomelo.area.ScheduleShowInfo> _s2c_sche_infos = new global::System.Collections.Generic.List<pomelo.area.ScheduleShowInfo>();
  201. /// <summary>
  202. /// 活动预览列表
  203. /// </summary>
  204. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_sche_infos", DataFormat = global::ProtoBuf.DataFormat.Default)]
  205. public global::System.Collections.Generic.List<pomelo.area.ScheduleShowInfo> s2c_sche_infos
  206. {
  207. get { return _s2c_sche_infos; }
  208. }
  209. private global::ProtoBuf.IExtension extensionObject;
  210. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  211. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  212. }
  213. }