_sevenGoalHandler.cs 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. // * 作者= liyue
  11. // * 创建时间= 2018-03-08
  12. // * 用途= 七日目标
  13. // ***************************************************************************
  14. // Generated from: sevenGoalHandler.proto
  15. namespace pomelo.sevengoal
  16. {
  17. //---------------------------------------------------------------------------------------
  18. /// <summary>
  19. /// 任务信息
  20. /// </summary>
  21. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TaskInfo")]
  22. public partial class TaskInfo : global::ProtoBuf.IExtensible
  23. {
  24. public TaskInfo() {}
  25. private int _taskId;
  26. /// <summary>
  27. /// 任务id
  28. /// </summary>
  29. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"taskId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  30. public int taskId
  31. {
  32. get { return _taskId; }
  33. set { _taskId = value; }
  34. }
  35. private int _finishedNum;
  36. /// <summary>
  37. /// 完成次数
  38. /// </summary>
  39. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"finishedNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. public int finishedNum
  41. {
  42. get { return _finishedNum; }
  43. set { _finishedNum = value; }
  44. }
  45. private global::ProtoBuf.IExtension extensionObject;
  46. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  47. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  48. }
  49. //---------------------------------------------------------------------------------------
  50. /// <summary>
  51. /// 每日目标信息
  52. /// </summary>
  53. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DayInfo")]
  54. public partial class DayInfo : global::ProtoBuf.IExtensible
  55. {
  56. public DayInfo() {}
  57. private int _dayId;
  58. /// <summary>
  59. /// 天数 从1开始
  60. /// </summary>
  61. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dayId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  62. public int dayId
  63. {
  64. get { return _dayId; }
  65. set { _dayId = value; }
  66. }
  67. private readonly global::System.Collections.Generic.List<pomelo.sevengoal.TaskInfo> _taskInfo = new global::System.Collections.Generic.List<pomelo.sevengoal.TaskInfo>();
  68. /// <summary>
  69. /// 任务列表
  70. /// </summary>
  71. [global::ProtoBuf.ProtoMember(2, Name=@"taskInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  72. public global::System.Collections.Generic.List<pomelo.sevengoal.TaskInfo> taskInfo
  73. {
  74. get { return _taskInfo; }
  75. }
  76. private bool _fetched;
  77. /// <summary>
  78. /// 是否已领取
  79. /// </summary>
  80. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"fetched", DataFormat = global::ProtoBuf.DataFormat.Default)]
  81. public bool fetched
  82. {
  83. get { return _fetched; }
  84. set { _fetched = value; }
  85. }
  86. private global::ProtoBuf.IExtension extensionObject;
  87. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  88. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  89. }
  90. //---------------------------------------------------------------------------------------
  91. /// <summary>
  92. /// 获取七日目标信息
  93. /// </summary>
  94. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetSevenGoalRequest")]
  95. public partial class GetSevenGoalRequest : global::ProtoBuf.IExtensible
  96. {
  97. public GetSevenGoalRequest() {}
  98. private global::ProtoBuf.IExtension extensionObject;
  99. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  100. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  101. }
  102. //---------------------------------------------------------------------------------------
  103. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetSevenGoalResponse")]
  104. public partial class GetSevenGoalResponse : global::ProtoBuf.IExtensible
  105. {
  106. public GetSevenGoalResponse() {}
  107. private int _s2c_code;
  108. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  109. public int s2c_code
  110. {
  111. get { return _s2c_code; }
  112. set { _s2c_code = value; }
  113. }
  114. private string _s2c_msg = "";
  115. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  116. [global::System.ComponentModel.DefaultValue("")]
  117. public string s2c_msg
  118. {
  119. get { return _s2c_msg; }
  120. set { _s2c_msg = value; }
  121. }
  122. private readonly global::System.Collections.Generic.List<pomelo.sevengoal.DayInfo> _dayInfo = new global::System.Collections.Generic.List<pomelo.sevengoal.DayInfo>();
  123. [global::ProtoBuf.ProtoMember(3, Name=@"dayInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
  124. public global::System.Collections.Generic.List<pomelo.sevengoal.DayInfo> dayInfo
  125. {
  126. get { return _dayInfo; }
  127. }
  128. private int _currentDayId = default(int);
  129. /// <summary>
  130. /// 当前是第几天
  131. /// </summary>
  132. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"currentDayId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  133. [global::System.ComponentModel.DefaultValue(default(int))]
  134. public int currentDayId
  135. {
  136. get { return _currentDayId; }
  137. set { _currentDayId = value; }
  138. }
  139. private string _startTimestamp = "";
  140. /// <summary>
  141. /// 活动开始时间
  142. /// </summary>
  143. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"startTimestamp", DataFormat = global::ProtoBuf.DataFormat.Default)]
  144. [global::System.ComponentModel.DefaultValue("")]
  145. public string startTimestamp
  146. {
  147. get { return _startTimestamp; }
  148. set { _startTimestamp = value; }
  149. }
  150. private string _endTimestamp = "";
  151. /// <summary>
  152. /// 活动结束时间
  153. /// </summary>
  154. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"endTimestamp", DataFormat = global::ProtoBuf.DataFormat.Default)]
  155. [global::System.ComponentModel.DefaultValue("")]
  156. public string endTimestamp
  157. {
  158. get { return _endTimestamp; }
  159. set { _endTimestamp = value; }
  160. }
  161. private global::ProtoBuf.IExtension extensionObject;
  162. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  163. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  164. }
  165. //---------------------------------------------------------------------------------------
  166. /// <summary>
  167. /// 领奖励
  168. /// </summary>
  169. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FetchAwardRequest")]
  170. public partial class FetchAwardRequest : global::ProtoBuf.IExtensible
  171. {
  172. public FetchAwardRequest() {}
  173. private int _id;
  174. /// <summary>
  175. /// 天数 从1开始
  176. /// </summary>
  177. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  178. public int id
  179. {
  180. get { return _id; }
  181. set { _id = value; }
  182. }
  183. private global::ProtoBuf.IExtension extensionObject;
  184. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  185. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  186. }
  187. //---------------------------------------------------------------------------------------
  188. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FetchAwardResponse")]
  189. public partial class FetchAwardResponse : global::ProtoBuf.IExtensible
  190. {
  191. public FetchAwardResponse() {}
  192. private int _s2c_code;
  193. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  194. public int s2c_code
  195. {
  196. get { return _s2c_code; }
  197. set { _s2c_code = value; }
  198. }
  199. private string _s2c_msg = "";
  200. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  201. [global::System.ComponentModel.DefaultValue("")]
  202. public string s2c_msg
  203. {
  204. get { return _s2c_msg; }
  205. set { _s2c_msg = value; }
  206. }
  207. private global::ProtoBuf.IExtension extensionObject;
  208. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  209. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  210. }
  211. }