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