123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者= liyue
- // * 创建时间= 2018-03-08
- // * 用途= 七日目标
- // ***************************************************************************
- // Generated from: sevenGoalHandler.proto
- namespace pomelo.sevengoal
- {
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 任务信息
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TaskInfo")]
- public partial class TaskInfo : global::ProtoBuf.IExtensible
- {
- public TaskInfo() {}
-
-
- private int _taskId;
- /// <summary>
- /// 任务id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"taskId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int taskId
- {
- get { return _taskId; }
- set { _taskId = value; }
- }
-
- private int _finishedNum;
- /// <summary>
- /// 完成次数
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"finishedNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int finishedNum
- {
- get { return _finishedNum; }
- set { _finishedNum = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 每日目标信息
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DayInfo")]
- public partial class DayInfo : global::ProtoBuf.IExtensible
- {
- public DayInfo() {}
-
-
- private int _dayId;
- /// <summary>
- /// 天数 从1开始
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dayId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int dayId
- {
- get { return _dayId; }
- set { _dayId = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.sevengoal.TaskInfo> _taskInfo = new global::System.Collections.Generic.List<pomelo.sevengoal.TaskInfo>();
- /// <summary>
- /// 任务列表
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, Name=@"taskInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.sevengoal.TaskInfo> taskInfo
- {
- get { return _taskInfo; }
- }
-
-
- private bool _fetched;
- /// <summary>
- /// 是否已领取
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"fetched", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public bool fetched
- {
- get { return _fetched; }
- set { _fetched = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获取七日目标信息
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetSevenGoalRequest")]
- public partial class GetSevenGoalRequest : global::ProtoBuf.IExtensible
- {
- public GetSevenGoalRequest() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetSevenGoalResponse")]
- public partial class GetSevenGoalResponse : global::ProtoBuf.IExtensible
- {
- public GetSevenGoalResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.sevengoal.DayInfo> _dayInfo = new global::System.Collections.Generic.List<pomelo.sevengoal.DayInfo>();
- [global::ProtoBuf.ProtoMember(3, Name=@"dayInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.sevengoal.DayInfo> dayInfo
- {
- get { return _dayInfo; }
- }
-
-
- private int _currentDayId = default(int);
- /// <summary>
- /// 当前是第几天
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"currentDayId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int currentDayId
- {
- get { return _currentDayId; }
- set { _currentDayId = value; }
- }
-
- private string _startTimestamp = "";
- /// <summary>
- /// 活动开始时间
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"startTimestamp", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string startTimestamp
- {
- get { return _startTimestamp; }
- set { _startTimestamp = value; }
- }
-
- private string _endTimestamp = "";
- /// <summary>
- /// 活动结束时间
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"endTimestamp", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string endTimestamp
- {
- get { return _endTimestamp; }
- set { _endTimestamp = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 领奖励
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FetchAwardRequest")]
- public partial class FetchAwardRequest : global::ProtoBuf.IExtensible
- {
- public FetchAwardRequest() {}
-
-
- private int _id;
- /// <summary>
- /// 天数 从1开始
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FetchAwardResponse")]
- public partial class FetchAwardResponse : global::ProtoBuf.IExtensible
- {
- public FetchAwardResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|