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