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