using System; using System.Collections.Generic; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "QueryRoleStateAck")] [Serializable] public class QueryRoleStateAck : IExtensible { [ProtoMember(1, Name = "roleids", DataFormat = DataFormat.TwosComplement)] public List roleids { get { return this._roleids; } } [ProtoMember(2, Name = "state", DataFormat = DataFormat.TwosComplement)] public List state { get { return this._state; } } private readonly List _roleids = new List(); private readonly List _state = new List(); private IExtension extensionObject; IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }