123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者: 卢松洁
- // * 创建时间: 2015-08-27
- // * 用途: 任务数据
- // ***************************************************************************
- // Generated from: task.proto
- namespace pomelo.task
- {
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Task")]
- public partial class Task : global::ProtoBuf.IExtensible
- {
- public Task() {}
-
-
- private int _templateId;
- /// <summary>
- /// 模版id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int templateId
- {
- get { return _templateId; }
- set { _templateId = value; }
- }
-
- private readonly global::System.Collections.Generic.List<int> _progress = new global::System.Collections.Generic.List<int>();
- /// <summary>
- /// 任务进度(师门任务进度 / 主线第二个怪物目标数量)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, Name=@"progress", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public global::System.Collections.Generic.List<int> progress
- {
- get { return _progress; }
- }
-
-
- private int _state;
- /// <summary>
- /// 任务状态
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int state
- {
- get { return _state; }
- set { _state = value; }
- }
-
- private int _leftTime;
- /// <summary>
- /// 剩余时间
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"leftTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int leftTime
- {
- get { return _leftTime; }
- set { _leftTime = value; }
- }
-
- private bool _isShowChapter = default(bool);
- /// <summary>
- /// 是否显示章节
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"isShowChapter", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(default(bool))]
- public bool isShowChapter
- {
- get { return _isShowChapter; }
- set { _isShowChapter = 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=@"Tasks")]
- public partial class Tasks : global::ProtoBuf.IExtensible
- {
- public Tasks() {}
-
-
- private readonly global::System.Collections.Generic.List<pomelo.task.Task> _taskList = new global::System.Collections.Generic.List<pomelo.task.Task>();
- [global::ProtoBuf.ProtoMember(1, Name=@"taskList", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.task.Task> taskList
- {
- get { return _taskList; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|