//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者= liyue
// * 创建时间= 2018-03-08
// * 用途= 七日目标
// ***************************************************************************
// Generated from: sevenGoalHandler.proto
namespace pomelo.sevengoal
{
//---------------------------------------------------------------------------------------
///
/// 任务信息
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TaskInfo")]
public partial class TaskInfo : global::ProtoBuf.IExtensible
{
public TaskInfo() {}
private int _taskId;
///
/// 任务id
///
[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;
///
/// 完成次数
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 每日目标信息
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DayInfo")]
public partial class DayInfo : global::ProtoBuf.IExtensible
{
public DayInfo() {}
private int _dayId;
///
/// 天数 从1开始
///
[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 _taskInfo = new global::System.Collections.Generic.List();
///
/// 任务列表
///
[global::ProtoBuf.ProtoMember(2, Name=@"taskInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List taskInfo
{
get { return _taskInfo; }
}
private bool _fetched;
///
/// 是否已领取
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 获取七日目标信息
///
[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 _dayInfo = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(3, Name=@"dayInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List dayInfo
{
get { return _dayInfo; }
}
private int _currentDayId = default(int);
///
/// 当前是第几天
///
[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 = "";
///
/// 活动开始时间
///
[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 = "";
///
/// 活动结束时间
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 领奖励
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FetchAwardRequest")]
public partial class FetchAwardRequest : global::ProtoBuf.IExtensible
{
public FetchAwardRequest() {}
private int _id;
///
/// 天数 从1开始
///
[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); }
}
}