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