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