123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者= jjjr
- // * 创建时间= 2017-04-11
- // * 用途= 日常活动结构体
- // ***************************************************************************
- // Generated from: dailyActivity.proto
- // Note: requires additional types generated from: item.proto
- namespace pomelo.dailyActivity
- {
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 日常活动信息
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyInfo")]
- public partial class DailyInfo : global::ProtoBuf.IExtensible
- {
- public DailyInfo() {}
-
-
- private int _id;
- /// <summary>
- /// 活动id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private int _cur_num = default(int);
- /// <summary>
- /// 当前完成次数
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"cur_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int cur_num
- {
- get { return _cur_num; }
- set { _cur_num = value; }
- }
-
- private int _max_num = default(int);
- /// <summary>
- /// 每日可参与最大次数(0 表示不限)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"max_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int max_num
- {
- get { return _max_num; }
- set { _max_num = value; }
- }
-
- private int _perDegree = default(int);
- /// <summary>
- /// 每次活跃度
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"perDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int perDegree
- {
- get { return _perDegree; }
- set { _perDegree = value; }
- }
-
- private int _lvLimit = default(int);
- /// <summary>
- /// 等级限制
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"lvLimit", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int lvLimit
- {
- get { return _lvLimit; }
- set { _lvLimit = value; }
- }
-
- private string _openPeriod = "";
- /// <summary>
- /// 开始时间段
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"openPeriod", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string openPeriod
- {
- get { return _openPeriod; }
- set { _openPeriod = value; }
- }
-
- private int _isOver = default(int);
- /// <summary>
- /// 0:不在时间段 1:正在进行中 2:已结束
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"isOver", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int isOver
- {
- get { return _isOver; }
- set { _isOver = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.item.ItemDetail> _awardItem = new global::System.Collections.Generic.List<pomelo.item.ItemDetail>();
- /// <summary>
- /// 奖励道具
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(8, Name=@"awardItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.item.ItemDetail> awardItem
- {
- get { return _awardItem; }
- }
-
- 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=@"DegreeInfo")]
- public partial class DegreeInfo : global::ProtoBuf.IExtensible
- {
- public DegreeInfo() {}
-
-
- private int _id;
- /// <summary>
- /// 活跃度id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private int _needDegree = default(int);
- /// <summary>
- /// 所需活跃度
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"needDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int needDegree
- {
- get { return _needDegree; }
- set { _needDegree = value; }
- }
-
- private int _state = default(int);
- /// <summary>
- /// 领取状态 0 :未达到 1:可领取 2:已领取
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int state
- {
- get { return _state; }
- set { _state = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.item.ItemDetail> _awardItem = new global::System.Collections.Generic.List<pomelo.item.ItemDetail>();
- /// <summary>
- /// 奖励道具
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, Name=@"awardItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.item.ItemDetail> awardItem
- {
- get { return _awardItem; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|