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