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