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