using System; using System.Collections.Generic; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "FatigueRecoverTimeInfo")] [Serializable] public class FatigueRecoverTimeInfo : IExtensible { [ProtoMember(1, Name = "fatigueID", DataFormat = DataFormat.TwosComplement)] public List fatigueID { get { return this._fatigueID; } } [ProtoMember(2, Name = "timeleft", DataFormat = DataFormat.TwosComplement)] public List timeleft { get { return this._timeleft; } } private readonly List _fatigueID = new List(); private readonly List _timeleft = new List(); private IExtension extensionObject; IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }