From a12aad9da7b449aeed8dd1acd5e26edeabcb0e8d Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Mon, 26 Nov 2018 08:48:28 -0500 Subject: [PATCH] Add client parties proto generation. Add missing generated files. --- Resources/Protogen/protos.csv | 1 + .../Unified/SteamMsgAccountHardware.cs | 873 ++ .../Base/Generated/Unified/SteamMsgChat.cs | 7569 +++++++++++++++++ .../Base/Generated/Unified/SteamMsgMarket.cs | 225 + .../Base/Generated/Unified/SteamMsgParties.cs | 563 ++ .../Base/Generated/Unified/SteamMsgQMS.cs | 967 +++ .../Base/Generated/Unified/SteamMsgShader.cs | 362 + .../Base/Generated/Unified/SteamMsgStore.cs | 141 + 8 files changed, 10701 insertions(+) create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs diff --git a/Resources/Protogen/protos.csv b/Resources/Protogen/protos.csv index 4c04fadad..096548b05 100644 --- a/Resources/Protogen/protos.csv +++ b/Resources/Protogen/protos.csv @@ -23,6 +23,7 @@ steam,steammessages_linkfilter.steamclient.proto,Unified\SteamMsgLinkFilter.cs,S steam,steammessages_market.steamclient.proto,Unified\SteamMsgMarket.cs,SteamKit2.Unified.Internal steam,steammessages_offline.steamclient.proto,Unified\SteamMsgOffline.cs,SteamKit2.Unified.Internal steam,steammessages_parental.steamclient.proto,Unified\SteamMsgParental.cs,SteamKit2.Unified.Internal +steam,steammessages_parties.steamclient.proto,Unified\SteamMsgParties.cs,SteamKit2.Unified.Internal steam,steammessages_partnerapps.steamclient.proto,Unified\SteamMsgPartnerApps.cs,SteamKit2.Unified.Internal steam,steammessages_player.steamclient.proto,Unified\SteamMsgPlayer.cs,SteamKit2.Unified.Internal steam,steammessages_publishedfile.steamclient.proto,Unified\SteamMsgPublishedFile.cs,SteamKit2.Unified.Internal diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs new file mode 100644 index 000000000..f375e319d --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs @@ -0,0 +1,873 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_accounthardware.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_RegisterSteamController_Request")] + public partial class CAccountHardware_RegisterSteamController_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_RegisterSteamController_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private string _controller_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string controller_code + { + get { return _controller_code?? ""; } + set { _controller_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_codeSpecified + { + get { return _controller_code != null; } + set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } + } + private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } + private void Resetcontroller_code() { controller_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_RegisterSteamController_Response")] + public partial class CAccountHardware_RegisterSteamController_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_RegisterSteamController_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_CompleteSteamControllerRegistration_Request")] + public partial class CAccountHardware_CompleteSteamControllerRegistration_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_CompleteSteamControllerRegistration_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private string _controller_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string controller_code + { + get { return _controller_code?? ""; } + set { _controller_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_codeSpecified + { + get { return _controller_code != null; } + set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } + } + private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } + private void Resetcontroller_code() { controller_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_CompleteSteamControllerRegistration_Response")] + public partial class CAccountHardware_CompleteSteamControllerRegistration_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_CompleteSteamControllerRegistration_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_QueryAccountsRegisteredToSerial_Request")] + public partial class CAccountHardware_QueryAccountsRegisteredToSerial_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_QueryAccountsRegisteredToSerial_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private string _controller_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string controller_code + { + get { return _controller_code?? ""; } + set { _controller_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_codeSpecified + { + get { return _controller_code != null; } + set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } + } + private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } + private void Resetcontroller_code() { controller_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_QueryAccountsRegisteredToSerial_Accounts")] + public partial class CAccountHardware_QueryAccountsRegisteredToSerial_Accounts : global::ProtoBuf.IExtensible + { + public CAccountHardware_QueryAccountsRegisteredToSerial_Accounts() {} + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + + private bool? _registration_complete; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"registration_complete", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool registration_complete + { + get { return _registration_complete?? default(bool); } + set { _registration_complete = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool registration_completeSpecified + { + get { return _registration_complete != null; } + set { if (value == (_registration_complete== null)) _registration_complete = value ? this.registration_complete : (bool?)null; } + } + private bool ShouldSerializeregistration_complete() { return registration_completeSpecified; } + private void Resetregistration_complete() { registration_completeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_QueryAccountsRegisteredToSerial_Response")] + public partial class CAccountHardware_QueryAccountsRegisteredToSerial_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_QueryAccountsRegisteredToSerial_Response() {} + + private readonly global::System.Collections.Generic.List _accounts = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"accounts", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List accounts + { + get { return _accounts; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SteamControllerSetConfig_ControllerConfig")] + public partial class CAccountHardware_SteamControllerSetConfig_ControllerConfig : global::ProtoBuf.IExtensible + { + public CAccountHardware_SteamControllerSetConfig_ControllerConfig() {} + + + private string _appidorname; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appidorname", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string appidorname + { + get { return _appidorname?? ""; } + set { _appidorname = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidornameSpecified + { + get { return _appidorname != null; } + set { if (value == (_appidorname== null)) _appidorname = value ? this.appidorname : (string)null; } + } + private bool ShouldSerializeappidorname() { return appidornameSpecified; } + private void Resetappidorname() { appidornameSpecified = false; } + + + private ulong? _publishedfileid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong publishedfileid + { + get { return _publishedfileid?? default(ulong); } + set { _publishedfileid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool publishedfileidSpecified + { + get { return _publishedfileid != null; } + set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } + } + private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } + private void Resetpublishedfileid() { publishedfileidSpecified = false; } + + + private string _templatename; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"templatename", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string templatename + { + get { return _templatename?? ""; } + set { _templatename = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool templatenameSpecified + { + get { return _templatename != null; } + set { if (value == (_templatename== null)) _templatename = value ? this.templatename : (string)null; } + } + private bool ShouldSerializetemplatename() { return templatenameSpecified; } + private void Resettemplatename() { templatenameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SteamControllerSetConfig_Request")] + public partial class CAccountHardware_SteamControllerSetConfig_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_SteamControllerSetConfig_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private string _controller_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string controller_code + { + get { return _controller_code?? ""; } + set { _controller_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_codeSpecified + { + get { return _controller_code != null; } + set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } + } + private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } + private void Resetcontroller_code() { controller_codeSpecified = false; } + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + private readonly global::System.Collections.Generic.List _configurations = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(4, Name=@"configurations", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List configurations + { + get { return _configurations; } + } + + + private int? _controller_type; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"controller_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int controller_type + { + get { return _controller_type?? (int)2; } + set { _controller_type = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_typeSpecified + { + get { return _controller_type != null; } + set { if (value == (_controller_type== null)) _controller_type = value ? this.controller_type : (int?)null; } + } + private bool ShouldSerializecontroller_type() { return controller_typeSpecified; } + private void Resetcontroller_type() { controller_typeSpecified = false; } + + + private bool? _only_for_this_serial; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"only_for_this_serial", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool only_for_this_serial + { + get { return _only_for_this_serial?? (bool)false; } + set { _only_for_this_serial = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool only_for_this_serialSpecified + { + get { return _only_for_this_serial != null; } + set { if (value == (_only_for_this_serial== null)) _only_for_this_serial = value ? this.only_for_this_serial : (bool?)null; } + } + private bool ShouldSerializeonly_for_this_serial() { return only_for_this_serialSpecified; } + private void Resetonly_for_this_serial() { only_for_this_serialSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SteamControllerSetConfig_Response")] + public partial class CAccountHardware_SteamControllerSetConfig_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_SteamControllerSetConfig_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SteamControllerGetConfig_Request")] + public partial class CAccountHardware_SteamControllerGetConfig_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_SteamControllerGetConfig_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private string _controller_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string controller_code + { + get { return _controller_code?? ""; } + set { _controller_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_codeSpecified + { + get { return _controller_code != null; } + set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } + } + private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } + private void Resetcontroller_code() { controller_codeSpecified = false; } + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + + private string _appidorname; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"appidorname", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string appidorname + { + get { return _appidorname?? ""; } + set { _appidorname = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidornameSpecified + { + get { return _appidorname != null; } + set { if (value == (_appidorname== null)) _appidorname = value ? this.appidorname : (string)null; } + } + private bool ShouldSerializeappidorname() { return appidornameSpecified; } + private void Resetappidorname() { appidornameSpecified = false; } + + + private int? _controller_type; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"controller_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int controller_type + { + get { return _controller_type?? (int)2; } + set { _controller_type = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_typeSpecified + { + get { return _controller_type != null; } + set { if (value == (_controller_type== null)) _controller_type = value ? this.controller_type : (int?)null; } + } + private bool ShouldSerializecontroller_type() { return controller_typeSpecified; } + private void Resetcontroller_type() { controller_typeSpecified = false; } + + + private bool? _only_for_this_serial; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"only_for_this_serial", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool only_for_this_serial + { + get { return _only_for_this_serial?? (bool)false; } + set { _only_for_this_serial = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool only_for_this_serialSpecified + { + get { return _only_for_this_serial != null; } + set { if (value == (_only_for_this_serial== null)) _only_for_this_serial = value ? this.only_for_this_serial : (bool?)null; } + } + private bool ShouldSerializeonly_for_this_serial() { return only_for_this_serialSpecified; } + private void Resetonly_for_this_serial() { only_for_this_serialSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SteamControllerGetConfig_ControllerConfig")] + public partial class CAccountHardware_SteamControllerGetConfig_ControllerConfig : global::ProtoBuf.IExtensible + { + public CAccountHardware_SteamControllerGetConfig_ControllerConfig() {} + + + private string _appidorname; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appidorname", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string appidorname + { + get { return _appidorname?? ""; } + set { _appidorname = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidornameSpecified + { + get { return _appidorname != null; } + set { if (value == (_appidorname== null)) _appidorname = value ? this.appidorname : (string)null; } + } + private bool ShouldSerializeappidorname() { return appidornameSpecified; } + private void Resetappidorname() { appidornameSpecified = false; } + + + private ulong? _publishedfileid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong publishedfileid + { + get { return _publishedfileid?? default(ulong); } + set { _publishedfileid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool publishedfileidSpecified + { + get { return _publishedfileid != null; } + set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } + } + private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } + private void Resetpublishedfileid() { publishedfileidSpecified = false; } + + + private string _templatename; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"templatename", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string templatename + { + get { return _templatename?? ""; } + set { _templatename = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool templatenameSpecified + { + get { return _templatename != null; } + set { if (value == (_templatename== null)) _templatename = value ? this.templatename : (string)null; } + } + private bool ShouldSerializetemplatename() { return templatenameSpecified; } + private void Resettemplatename() { templatenameSpecified = false; } + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SteamControllerGetConfig_Response")] + public partial class CAccountHardware_SteamControllerGetConfig_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_SteamControllerGetConfig_Response() {} + + private readonly global::System.Collections.Generic.List _configurations = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"configurations", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List configurations + { + get { return _configurations; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_DeRegisterSteamController_Request")] + public partial class CAccountHardware_DeRegisterSteamController_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_DeRegisterSteamController_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private string _controller_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string controller_code + { + get { return _controller_code?? ""; } + set { _controller_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool controller_codeSpecified + { + get { return _controller_code != null; } + set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } + } + private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } + private void Resetcontroller_code() { controller_codeSpecified = false; } + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_DeRegisterSteamController_Response")] + public partial class CAccountHardware_DeRegisterSteamController_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_DeRegisterSteamController_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SetPersonalizationFile_Request")] + public partial class CAccountHardware_SetPersonalizationFile_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_SetPersonalizationFile_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private ulong? _publishedfileid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong publishedfileid + { + get { return _publishedfileid?? default(ulong); } + set { _publishedfileid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool publishedfileidSpecified + { + get { return _publishedfileid != null; } + set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } + } + private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } + private void Resetpublishedfileid() { publishedfileidSpecified = false; } + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_SetPersonalizationFile_Response")] + public partial class CAccountHardware_SetPersonalizationFile_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_SetPersonalizationFile_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_GetPersonalizationFile_Request")] + public partial class CAccountHardware_GetPersonalizationFile_Request : global::ProtoBuf.IExtensible + { + public CAccountHardware_GetPersonalizationFile_Request() {} + + + private string _serial_number; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string serial_number + { + get { return _serial_number?? ""; } + set { _serial_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool serial_numberSpecified + { + get { return _serial_number != null; } + set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } + } + private bool ShouldSerializeserial_number() { return serial_numberSpecified; } + private void Resetserial_number() { serial_numberSpecified = false; } + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CAccountHardware_GetPersonalizationFile_Response")] + public partial class CAccountHardware_GetPersonalizationFile_Response : global::ProtoBuf.IExtensible + { + public CAccountHardware_GetPersonalizationFile_Response() {} + + + private ulong? _publishedfileid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong publishedfileid + { + get { return _publishedfileid?? default(ulong); } + set { _publishedfileid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool publishedfileidSpecified + { + get { return _publishedfileid != null; } + set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } + } + private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } + private void Resetpublishedfileid() { publishedfileidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + public interface IAccountHardware + { + CAccountHardware_RegisterSteamController_Response RegisterSteamController(CAccountHardware_RegisterSteamController_Request request); + CAccountHardware_CompleteSteamControllerRegistration_Response CompleteSteamControllerRegistration(CAccountHardware_CompleteSteamControllerRegistration_Request request); + CAccountHardware_QueryAccountsRegisteredToSerial_Response QueryAccountsRegisteredToController(CAccountHardware_QueryAccountsRegisteredToSerial_Request request); + CAccountHardware_SteamControllerSetConfig_Response SetDesiredControllerConfigForApp(CAccountHardware_SteamControllerSetConfig_Request request); + CAccountHardware_SteamControllerGetConfig_Response GetDesiredControllerConfigForApp(CAccountHardware_SteamControllerGetConfig_Request request); + CAccountHardware_DeRegisterSteamController_Response DeRegisterSteamController(CAccountHardware_DeRegisterSteamController_Request request); + CAccountHardware_SetPersonalizationFile_Response SetControllerPersonalizationFile(CAccountHardware_SetPersonalizationFile_Request request); + CAccountHardware_GetPersonalizationFile_Response GetControllerPersonalizationFile(CAccountHardware_GetPersonalizationFile_Request request); + + } + + +} +#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs new file mode 100644 index 000000000..c449bb94d --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs @@ -0,0 +1,7569 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_chat.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChat_RequestFriendPersonaStates_Request")] + public partial class CChat_RequestFriendPersonaStates_Request : global::ProtoBuf.IExtensible + { + public CChat_RequestFriendPersonaStates_Request() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChat_RequestFriendPersonaStates_Response")] + public partial class CChat_RequestFriendPersonaStates_Response : global::ProtoBuf.IExtensible + { + public CChat_RequestFriendPersonaStates_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateChatRoomGroup_Request")] + public partial class CChatRoom_CreateChatRoomGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateChatRoomGroup_Request() {} + + + private ulong? _steamid_partner; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid_partner", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_partner + { + get { return _steamid_partner?? default(ulong); } + set { _steamid_partner = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_partnerSpecified + { + get { return _steamid_partner != null; } + set { if (value == (_steamid_partner== null)) _steamid_partner = value ? this.steamid_partner : (ulong?)null; } + } + private bool ShouldSerializesteamid_partner() { return steamid_partnerSpecified; } + private void Resetsteamid_partner() { steamid_partnerSpecified = false; } + + + private ulong? _steamid_invited; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid_invited", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_invited + { + get { return _steamid_invited?? default(ulong); } + set { _steamid_invited = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_invitedSpecified + { + get { return _steamid_invited != null; } + set { if (value == (_steamid_invited== null)) _steamid_invited = value ? this.steamid_invited : (ulong?)null; } + } + private bool ShouldSerializesteamid_invited() { return steamid_invitedSpecified; } + private void Resetsteamid_invited() { steamid_invitedSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private readonly global::System.Collections.Generic.List _steamid_invitees = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(4, Name=@"steamid_invitees", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public global::System.Collections.Generic.List steamid_invitees + { + get { return _steamid_invitees; } + } + + + private uint? _watching_broadcast_accountid; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"watching_broadcast_accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint watching_broadcast_accountid + { + get { return _watching_broadcast_accountid?? default(uint); } + set { _watching_broadcast_accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool watching_broadcast_accountidSpecified + { + get { return _watching_broadcast_accountid != null; } + set { if (value == (_watching_broadcast_accountid== null)) _watching_broadcast_accountid = value ? this.watching_broadcast_accountid : (uint?)null; } + } + private bool ShouldSerializewatching_broadcast_accountid() { return watching_broadcast_accountidSpecified; } + private void Resetwatching_broadcast_accountid() { watching_broadcast_accountidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRole")] + public partial class CChatRole : global::ProtoBuf.IExtensible + { + public CChatRole() {} + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoleActions")] + public partial class CChatRoleActions : global::ProtoBuf.IExtensible + { + public CChatRoleActions() {} + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private bool? _can_create_rename_delete_channel; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"can_create_rename_delete_channel", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_create_rename_delete_channel + { + get { return _can_create_rename_delete_channel?? default(bool); } + set { _can_create_rename_delete_channel = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_create_rename_delete_channelSpecified + { + get { return _can_create_rename_delete_channel != null; } + set { if (value == (_can_create_rename_delete_channel== null)) _can_create_rename_delete_channel = value ? this.can_create_rename_delete_channel : (bool?)null; } + } + private bool ShouldSerializecan_create_rename_delete_channel() { return can_create_rename_delete_channelSpecified; } + private void Resetcan_create_rename_delete_channel() { can_create_rename_delete_channelSpecified = false; } + + + private bool? _can_kick; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"can_kick", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_kick + { + get { return _can_kick?? default(bool); } + set { _can_kick = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_kickSpecified + { + get { return _can_kick != null; } + set { if (value == (_can_kick== null)) _can_kick = value ? this.can_kick : (bool?)null; } + } + private bool ShouldSerializecan_kick() { return can_kickSpecified; } + private void Resetcan_kick() { can_kickSpecified = false; } + + + private bool? _can_ban; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"can_ban", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_ban + { + get { return _can_ban?? default(bool); } + set { _can_ban = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_banSpecified + { + get { return _can_ban != null; } + set { if (value == (_can_ban== null)) _can_ban = value ? this.can_ban : (bool?)null; } + } + private bool ShouldSerializecan_ban() { return can_banSpecified; } + private void Resetcan_ban() { can_banSpecified = false; } + + + private bool? _can_invite; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"can_invite", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_invite + { + get { return _can_invite?? default(bool); } + set { _can_invite = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_inviteSpecified + { + get { return _can_invite != null; } + set { if (value == (_can_invite== null)) _can_invite = value ? this.can_invite : (bool?)null; } + } + private bool ShouldSerializecan_invite() { return can_inviteSpecified; } + private void Resetcan_invite() { can_inviteSpecified = false; } + + + private bool? _can_change_tagline_avatar_name; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"can_change_tagline_avatar_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_change_tagline_avatar_name + { + get { return _can_change_tagline_avatar_name?? default(bool); } + set { _can_change_tagline_avatar_name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_change_tagline_avatar_nameSpecified + { + get { return _can_change_tagline_avatar_name != null; } + set { if (value == (_can_change_tagline_avatar_name== null)) _can_change_tagline_avatar_name = value ? this.can_change_tagline_avatar_name : (bool?)null; } + } + private bool ShouldSerializecan_change_tagline_avatar_name() { return can_change_tagline_avatar_nameSpecified; } + private void Resetcan_change_tagline_avatar_name() { can_change_tagline_avatar_nameSpecified = false; } + + + private bool? _can_chat; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"can_chat", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_chat + { + get { return _can_chat?? default(bool); } + set { _can_chat = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_chatSpecified + { + get { return _can_chat != null; } + set { if (value == (_can_chat== null)) _can_chat = value ? this.can_chat : (bool?)null; } + } + private bool ShouldSerializecan_chat() { return can_chatSpecified; } + private void Resetcan_chat() { can_chatSpecified = false; } + + + private bool? _can_view_history; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"can_view_history", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_view_history + { + get { return _can_view_history?? default(bool); } + set { _can_view_history = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_view_historySpecified + { + get { return _can_view_history != null; } + set { if (value == (_can_view_history== null)) _can_view_history = value ? this.can_view_history : (bool?)null; } + } + private bool ShouldSerializecan_view_history() { return can_view_historySpecified; } + private void Resetcan_view_history() { can_view_historySpecified = false; } + + + private bool? _can_change_group_roles; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"can_change_group_roles", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_change_group_roles + { + get { return _can_change_group_roles?? default(bool); } + set { _can_change_group_roles = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_change_group_rolesSpecified + { + get { return _can_change_group_roles != null; } + set { if (value == (_can_change_group_roles== null)) _can_change_group_roles = value ? this.can_change_group_roles : (bool?)null; } + } + private bool ShouldSerializecan_change_group_roles() { return can_change_group_rolesSpecified; } + private void Resetcan_change_group_roles() { can_change_group_rolesSpecified = false; } + + + private bool? _can_change_user_roles; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"can_change_user_roles", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_change_user_roles + { + get { return _can_change_user_roles?? default(bool); } + set { _can_change_user_roles = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_change_user_rolesSpecified + { + get { return _can_change_user_roles != null; } + set { if (value == (_can_change_user_roles== null)) _can_change_user_roles = value ? this.can_change_user_roles : (bool?)null; } + } + private bool ShouldSerializecan_change_user_roles() { return can_change_user_rolesSpecified; } + private void Resetcan_change_user_roles() { can_change_user_rolesSpecified = false; } + + + private bool? _can_mention_all; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"can_mention_all", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_mention_all + { + get { return _can_mention_all?? default(bool); } + set { _can_mention_all = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_mention_allSpecified + { + get { return _can_mention_all != null; } + set { if (value == (_can_mention_all== null)) _can_mention_all = value ? this.can_mention_all : (bool?)null; } + } + private bool ShouldSerializecan_mention_all() { return can_mention_allSpecified; } + private void Resetcan_mention_all() { can_mention_allSpecified = false; } + + + private bool? _can_set_watching_broadcast; + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"can_set_watching_broadcast", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool can_set_watching_broadcast + { + get { return _can_set_watching_broadcast?? default(bool); } + set { _can_set_watching_broadcast = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool can_set_watching_broadcastSpecified + { + get { return _can_set_watching_broadcast != null; } + set { if (value == (_can_set_watching_broadcast== null)) _can_set_watching_broadcast = value ? this.can_set_watching_broadcast : (bool?)null; } + } + private bool ShouldSerializecan_set_watching_broadcast() { return can_set_watching_broadcastSpecified; } + private void Resetcan_set_watching_broadcast() { can_set_watching_broadcastSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatPartyBeacon")] + public partial class CChatPartyBeacon : global::ProtoBuf.IExtensible + { + public CChatPartyBeacon() {} + + + private uint? _app_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"app_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint app_id + { + get { return _app_id?? default(uint); } + set { _app_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool app_idSpecified + { + get { return _app_id != null; } + set { if (value == (_app_id== null)) _app_id = value ? this.app_id : (uint?)null; } + } + private bool ShouldSerializeapp_id() { return app_idSpecified; } + private void Resetapp_id() { app_idSpecified = false; } + + + private ulong? _steamid_owner; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid_owner", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_owner + { + get { return _steamid_owner?? default(ulong); } + set { _steamid_owner = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_ownerSpecified + { + get { return _steamid_owner != null; } + set { if (value == (_steamid_owner== null)) _steamid_owner = value ? this.steamid_owner : (ulong?)null; } + } + private bool ShouldSerializesteamid_owner() { return steamid_ownerSpecified; } + private void Resetsteamid_owner() { steamid_ownerSpecified = false; } + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + + private string _game_metadata; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"game_metadata", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string game_metadata + { + get { return _game_metadata?? ""; } + set { _game_metadata = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool game_metadataSpecified + { + get { return _game_metadata != null; } + set { if (value == (_game_metadata== null)) _game_metadata = value ? this.game_metadata : (string)null; } + } + private bool ShouldSerializegame_metadata() { return game_metadataSpecified; } + private void Resetgame_metadata() { game_metadataSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoomGroupHeaderState")] + public partial class CChatRoomGroupHeaderState : global::ProtoBuf.IExtensible + { + public CChatRoomGroupHeaderState() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _chat_name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string chat_name + { + get { return _chat_name?? ""; } + set { _chat_name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_nameSpecified + { + get { return _chat_name != null; } + set { if (value == (_chat_name== null)) _chat_name = value ? this.chat_name : (string)null; } + } + private bool ShouldSerializechat_name() { return chat_nameSpecified; } + private void Resetchat_name() { chat_nameSpecified = false; } + + + private uint? _clanid; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"clanid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint clanid + { + get { return _clanid?? default(uint); } + set { _clanid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool clanidSpecified + { + get { return _clanid != null; } + set { if (value == (_clanid== null)) _clanid = value ? this.clanid : (uint?)null; } + } + private bool ShouldSerializeclanid() { return clanidSpecified; } + private void Resetclanid() { clanidSpecified = false; } + + + private uint? _accountid_owner; + [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"accountid_owner", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid_owner + { + get { return _accountid_owner?? default(uint); } + set { _accountid_owner = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountid_ownerSpecified + { + get { return _accountid_owner != null; } + set { if (value == (_accountid_owner== null)) _accountid_owner = value ? this.accountid_owner : (uint?)null; } + } + private bool ShouldSerializeaccountid_owner() { return accountid_ownerSpecified; } + private void Resetaccountid_owner() { accountid_ownerSpecified = false; } + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(21, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private string _tagline; + [global::ProtoBuf.ProtoMember(15, IsRequired = false, Name=@"tagline", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string tagline + { + get { return _tagline?? ""; } + set { _tagline = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool taglineSpecified + { + get { return _tagline != null; } + set { if (value == (_tagline== null)) _tagline = value ? this.tagline : (string)null; } + } + private bool ShouldSerializetagline() { return taglineSpecified; } + private void Resettagline() { taglineSpecified = false; } + + + private byte[] _avatar_sha; + [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"avatar_sha", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] avatar_sha + { + get { return _avatar_sha?? null; } + set { _avatar_sha = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool avatar_shaSpecified + { + get { return _avatar_sha != null; } + set { if (value == (_avatar_sha== null)) _avatar_sha = value ? this.avatar_sha : (byte[])null; } + } + private bool ShouldSerializeavatar_sha() { return avatar_shaSpecified; } + private void Resetavatar_sha() { avatar_shaSpecified = false; } + + + private ulong? _default_role_id; + [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"default_role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong default_role_id + { + get { return _default_role_id?? default(ulong); } + set { _default_role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool default_role_idSpecified + { + get { return _default_role_id != null; } + set { if (value == (_default_role_id== null)) _default_role_id = value ? this.default_role_id : (ulong?)null; } + } + private bool ShouldSerializedefault_role_id() { return default_role_idSpecified; } + private void Resetdefault_role_id() { default_role_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _roles = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(18, Name=@"roles", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List roles + { + get { return _roles; } + } + + private readonly global::System.Collections.Generic.List _role_actions = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(19, Name=@"role_actions", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List role_actions + { + get { return _role_actions; } + } + + + private uint? _watching_broadcast_accountid; + [global::ProtoBuf.ProtoMember(20, IsRequired = false, Name=@"watching_broadcast_accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint watching_broadcast_accountid + { + get { return _watching_broadcast_accountid?? default(uint); } + set { _watching_broadcast_accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool watching_broadcast_accountidSpecified + { + get { return _watching_broadcast_accountid != null; } + set { if (value == (_watching_broadcast_accountid== null)) _watching_broadcast_accountid = value ? this.watching_broadcast_accountid : (uint?)null; } + } + private bool ShouldSerializewatching_broadcast_accountid() { return watching_broadcast_accountidSpecified; } + private void Resetwatching_broadcast_accountid() { watching_broadcast_accountidSpecified = false; } + + private readonly global::System.Collections.Generic.List _party_beacons = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(22, Name=@"party_beacons", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List party_beacons + { + get { return _party_beacons; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoomMember")] + public partial class CChatRoomMember : global::ProtoBuf.IExtensible + { + public CChatRoomMember() {} + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + + private EChatRoomJoinState? _state; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomJoinState state + { + get { return _state?? EChatRoomJoinState.k_EChatRoomJoinState_Default; } + set { _state = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool stateSpecified + { + get { return _state != null; } + set { if (value == (_state== null)) _state = value ? this.state : (EChatRoomJoinState?)null; } + } + private bool ShouldSerializestate() { return stateSpecified; } + private void Resetstate() { stateSpecified = false; } + + + private EChatRoomGroupRank? _rank; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"rank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomGroupRank rank + { + get { return _rank?? EChatRoomGroupRank.k_EChatRoomGroupRank_Default; } + set { _rank = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool rankSpecified + { + get { return _rank != null; } + set { if (value == (_rank== null)) _rank = value ? this.rank : (EChatRoomGroupRank?)null; } + } + private bool ShouldSerializerank() { return rankSpecified; } + private void Resetrank() { rankSpecified = false; } + + + private uint? _time_kick_expire; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"time_kick_expire", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_kick_expire + { + get { return _time_kick_expire?? default(uint); } + set { _time_kick_expire = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_kick_expireSpecified + { + get { return _time_kick_expire != null; } + set { if (value == (_time_kick_expire== null)) _time_kick_expire = value ? this.time_kick_expire : (uint?)null; } + } + private bool ShouldSerializetime_kick_expire() { return time_kick_expireSpecified; } + private void Resettime_kick_expire() { time_kick_expireSpecified = false; } + + private readonly global::System.Collections.Generic.List _role_ids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(7, Name=@"role_ids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List role_ids + { + get { return _role_ids; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoomState")] + public partial class CChatRoomState : global::ProtoBuf.IExtensible + { + public CChatRoomState() {} + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private string _chat_name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string chat_name + { + get { return _chat_name?? ""; } + set { _chat_name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_nameSpecified + { + get { return _chat_name != null; } + set { if (value == (_chat_name== null)) _chat_name = value ? this.chat_name : (string)null; } + } + private bool ShouldSerializechat_name() { return chat_nameSpecified; } + private void Resetchat_name() { chat_nameSpecified = false; } + + + private bool? _voice_allowed; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"voice_allowed", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool voice_allowed + { + get { return _voice_allowed?? default(bool); } + set { _voice_allowed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_allowedSpecified + { + get { return _voice_allowed != null; } + set { if (value == (_voice_allowed== null)) _voice_allowed = value ? this.voice_allowed : (bool?)null; } + } + private bool ShouldSerializevoice_allowed() { return voice_allowedSpecified; } + private void Resetvoice_allowed() { voice_allowedSpecified = false; } + + private readonly global::System.Collections.Generic.List _members_in_voice = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(4, Name=@"members_in_voice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List members_in_voice + { + get { return _members_in_voice; } + } + + + private uint? _time_last_message; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"time_last_message", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_last_message + { + get { return _time_last_message?? default(uint); } + set { _time_last_message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_last_messageSpecified + { + get { return _time_last_message != null; } + set { if (value == (_time_last_message== null)) _time_last_message = value ? this.time_last_message : (uint?)null; } + } + private bool ShouldSerializetime_last_message() { return time_last_messageSpecified; } + private void Resettime_last_message() { time_last_messageSpecified = false; } + + + private uint? _sort_order; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"sort_order", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint sort_order + { + get { return _sort_order?? default(uint); } + set { _sort_order = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sort_orderSpecified + { + get { return _sort_order != null; } + set { if (value == (_sort_order== null)) _sort_order = value ? this.sort_order : (uint?)null; } + } + private bool ShouldSerializesort_order() { return sort_orderSpecified; } + private void Resetsort_order() { sort_orderSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoomGroupState")] + public partial class CChatRoomGroupState : global::ProtoBuf.IExtensible + { + public CChatRoomGroupState() {} + + + private CChatRoomGroupHeaderState _header_state = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"header_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomGroupHeaderState header_state + { + get { return _header_state; } + set { _header_state = value; } + } + private readonly global::System.Collections.Generic.List _members = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"members", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List members + { + get { return _members; } + } + + + private ulong? _default_chat_id; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"default_chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong default_chat_id + { + get { return _default_chat_id?? default(ulong); } + set { _default_chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool default_chat_idSpecified + { + get { return _default_chat_id != null; } + set { if (value == (_default_chat_id== null)) _default_chat_id = value ? this.default_chat_id : (ulong?)null; } + } + private bool ShouldSerializedefault_chat_id() { return default_chat_idSpecified; } + private void Resetdefault_chat_id() { default_chat_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _chat_rooms = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5, Name=@"chat_rooms", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List chat_rooms + { + get { return _chat_rooms; } + } + + private readonly global::System.Collections.Generic.List _kicked = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(7, Name=@"kicked", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List kicked + { + get { return _kicked; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CUserChatRoomState")] + public partial class CUserChatRoomState : global::ProtoBuf.IExtensible + { + public CUserChatRoomState() {} + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private uint? _time_joined; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"time_joined", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_joined + { + get { return _time_joined?? default(uint); } + set { _time_joined = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_joinedSpecified + { + get { return _time_joined != null; } + set { if (value == (_time_joined== null)) _time_joined = value ? this.time_joined : (uint?)null; } + } + private bool ShouldSerializetime_joined() { return time_joinedSpecified; } + private void Resettime_joined() { time_joinedSpecified = false; } + + + private uint? _time_last_ack; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"time_last_ack", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_last_ack + { + get { return _time_last_ack?? default(uint); } + set { _time_last_ack = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_last_ackSpecified + { + get { return _time_last_ack != null; } + set { if (value == (_time_last_ack== null)) _time_last_ack = value ? this.time_last_ack : (uint?)null; } + } + private bool ShouldSerializetime_last_ack() { return time_last_ackSpecified; } + private void Resettime_last_ack() { time_last_ackSpecified = false; } + + + private EChatRoomNotificationLevel? _desktop_notification_level; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"desktop_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel desktop_notification_level + { + get { return _desktop_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _desktop_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool desktop_notification_levelSpecified + { + get { return _desktop_notification_level != null; } + set { if (value == (_desktop_notification_level== null)) _desktop_notification_level = value ? this.desktop_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializedesktop_notification_level() { return desktop_notification_levelSpecified; } + private void Resetdesktop_notification_level() { desktop_notification_levelSpecified = false; } + + + private EChatRoomNotificationLevel? _mobile_notification_level; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"mobile_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel mobile_notification_level + { + get { return _mobile_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _mobile_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool mobile_notification_levelSpecified + { + get { return _mobile_notification_level != null; } + set { if (value == (_mobile_notification_level== null)) _mobile_notification_level = value ? this.mobile_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializemobile_notification_level() { return mobile_notification_levelSpecified; } + private void Resetmobile_notification_level() { mobile_notification_levelSpecified = false; } + + + private uint? _time_last_mention; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"time_last_mention", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_last_mention + { + get { return _time_last_mention?? default(uint); } + set { _time_last_mention = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_last_mentionSpecified + { + get { return _time_last_mention != null; } + set { if (value == (_time_last_mention== null)) _time_last_mention = value ? this.time_last_mention : (uint?)null; } + } + private bool ShouldSerializetime_last_mention() { return time_last_mentionSpecified; } + private void Resettime_last_mention() { time_last_mentionSpecified = false; } + + + private bool? _unread_indicator_muted; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"unread_indicator_muted", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool unread_indicator_muted + { + get { return _unread_indicator_muted?? (bool)false; } + set { _unread_indicator_muted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool unread_indicator_mutedSpecified + { + get { return _unread_indicator_muted != null; } + set { if (value == (_unread_indicator_muted== null)) _unread_indicator_muted = value ? this.unread_indicator_muted : (bool?)null; } + } + private bool ShouldSerializeunread_indicator_muted() { return unread_indicator_mutedSpecified; } + private void Resetunread_indicator_muted() { unread_indicator_mutedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CUserChatRoomGroupState")] + public partial class CUserChatRoomGroupState : global::ProtoBuf.IExtensible + { + public CUserChatRoomGroupState() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private uint? _time_joined; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"time_joined", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_joined + { + get { return _time_joined?? default(uint); } + set { _time_joined = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_joinedSpecified + { + get { return _time_joined != null; } + set { if (value == (_time_joined== null)) _time_joined = value ? this.time_joined : (uint?)null; } + } + private bool ShouldSerializetime_joined() { return time_joinedSpecified; } + private void Resettime_joined() { time_joinedSpecified = false; } + + private readonly global::System.Collections.Generic.List _user_chat_room_state = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"user_chat_room_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List user_chat_room_state + { + get { return _user_chat_room_state; } + } + + + private EChatRoomNotificationLevel? _desktop_notification_level; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"desktop_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel desktop_notification_level + { + get { return _desktop_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _desktop_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool desktop_notification_levelSpecified + { + get { return _desktop_notification_level != null; } + set { if (value == (_desktop_notification_level== null)) _desktop_notification_level = value ? this.desktop_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializedesktop_notification_level() { return desktop_notification_levelSpecified; } + private void Resetdesktop_notification_level() { desktop_notification_levelSpecified = false; } + + + private EChatRoomNotificationLevel? _mobile_notification_level; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"mobile_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel mobile_notification_level + { + get { return _mobile_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _mobile_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool mobile_notification_levelSpecified + { + get { return _mobile_notification_level != null; } + set { if (value == (_mobile_notification_level== null)) _mobile_notification_level = value ? this.mobile_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializemobile_notification_level() { return mobile_notification_levelSpecified; } + private void Resetmobile_notification_level() { mobile_notification_levelSpecified = false; } + + + private uint? _time_last_group_ack; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"time_last_group_ack", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_last_group_ack + { + get { return _time_last_group_ack?? default(uint); } + set { _time_last_group_ack = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_last_group_ackSpecified + { + get { return _time_last_group_ack != null; } + set { if (value == (_time_last_group_ack== null)) _time_last_group_ack = value ? this.time_last_group_ack : (uint?)null; } + } + private bool ShouldSerializetime_last_group_ack() { return time_last_group_ackSpecified; } + private void Resettime_last_group_ack() { time_last_group_ackSpecified = false; } + + + private bool? _unread_indicator_muted; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"unread_indicator_muted", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool unread_indicator_muted + { + get { return _unread_indicator_muted?? (bool)false; } + set { _unread_indicator_muted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool unread_indicator_mutedSpecified + { + get { return _unread_indicator_muted != null; } + set { if (value == (_unread_indicator_muted== null)) _unread_indicator_muted = value ? this.unread_indicator_muted : (bool?)null; } + } + private bool ShouldSerializeunread_indicator_muted() { return unread_indicator_mutedSpecified; } + private void Resetunread_indicator_muted() { unread_indicator_mutedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateChatRoomGroup_Response")] + public partial class CChatRoom_CreateChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateChatRoomGroup_Response() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private CChatRoomGroupState _state = null; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomGroupState state + { + get { return _state; } + set { _state = value; } + } + + private CUserChatRoomGroupState _user_chat_state = null; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"user_chat_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CUserChatRoomGroupState user_chat_state + { + get { return _user_chat_state; } + set { _user_chat_state = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SaveChatRoomGroup_Request")] + public partial class CChatRoom_SaveChatRoomGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SaveChatRoomGroup_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SaveChatRoomGroup_Response")] + public partial class CChatRoom_SaveChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SaveChatRoomGroup_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RenameChatRoomGroup_Request")] + public partial class CChatRoom_RenameChatRoomGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_RenameChatRoomGroup_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RenameChatRoomGroup_Response")] + public partial class CChatRoom_RenameChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_RenameChatRoomGroup_Response() {} + + + private string _name; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetChatRoomGroupTagline_Request")] + public partial class CChatRoom_SetChatRoomGroupTagline_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SetChatRoomGroupTagline_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _tagline; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"tagline", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string tagline + { + get { return _tagline?? ""; } + set { _tagline = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool taglineSpecified + { + get { return _tagline != null; } + set { if (value == (_tagline== null)) _tagline = value ? this.tagline : (string)null; } + } + private bool ShouldSerializetagline() { return taglineSpecified; } + private void Resettagline() { taglineSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetChatRoomGroupTagline_Response")] + public partial class CChatRoom_SetChatRoomGroupTagline_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SetChatRoomGroupTagline_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetChatRoomGroupAvatar_Request")] + public partial class CChatRoom_SetChatRoomGroupAvatar_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SetChatRoomGroupAvatar_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private byte[] _avatar_sha; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"avatar_sha", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] avatar_sha + { + get { return _avatar_sha?? null; } + set { _avatar_sha = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool avatar_shaSpecified + { + get { return _avatar_sha != null; } + set { if (value == (_avatar_sha== null)) _avatar_sha = value ? this.avatar_sha : (byte[])null; } + } + private bool ShouldSerializeavatar_sha() { return avatar_shaSpecified; } + private void Resetavatar_sha() { avatar_shaSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetChatRoomGroupAvatar_Response")] + public partial class CChatRoom_SetChatRoomGroupAvatar_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SetChatRoomGroupAvatar_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetChatRoomGroupWatchingBroadcast_Request")] + public partial class CChatRoom_SetChatRoomGroupWatchingBroadcast_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SetChatRoomGroupWatchingBroadcast_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private uint? _watching_broadcast_accountid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"watching_broadcast_accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint watching_broadcast_accountid + { + get { return _watching_broadcast_accountid?? default(uint); } + set { _watching_broadcast_accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool watching_broadcast_accountidSpecified + { + get { return _watching_broadcast_accountid != null; } + set { if (value == (_watching_broadcast_accountid== null)) _watching_broadcast_accountid = value ? this.watching_broadcast_accountid : (uint?)null; } + } + private bool ShouldSerializewatching_broadcast_accountid() { return watching_broadcast_accountidSpecified; } + private void Resetwatching_broadcast_accountid() { watching_broadcast_accountidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetChatRoomGroupWatchingBroadcast_Response")] + public partial class CChatRoom_SetChatRoomGroupWatchingBroadcast_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SetChatRoomGroupWatchingBroadcast_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_MuteUser_Request")] + public partial class CChatRoom_MuteUser_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_MuteUser_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private int? _expiration; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"expiration", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int expiration + { + get { return _expiration?? default(int); } + set { _expiration = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool expirationSpecified + { + get { return _expiration != null; } + set { if (value == (_expiration== null)) _expiration = value ? this.expiration : (int?)null; } + } + private bool ShouldSerializeexpiration() { return expirationSpecified; } + private void Resetexpiration() { expirationSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_MuteUser_Response")] + public partial class CChatRoom_MuteUser_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_MuteUser_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_KickUser_Request")] + public partial class CChatRoom_KickUser_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_KickUser_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private int? _expiration; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"expiration", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int expiration + { + get { return _expiration?? default(int); } + set { _expiration = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool expirationSpecified + { + get { return _expiration != null; } + set { if (value == (_expiration== null)) _expiration = value ? this.expiration : (int?)null; } + } + private bool ShouldSerializeexpiration() { return expirationSpecified; } + private void Resetexpiration() { expirationSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_KickUser_Response")] + public partial class CChatRoom_KickUser_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_KickUser_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetUserBanState_Request")] + public partial class CChatRoom_SetUserBanState_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SetUserBanState_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private bool? _ban_state; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"ban_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool ban_state + { + get { return _ban_state?? default(bool); } + set { _ban_state = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ban_stateSpecified + { + get { return _ban_state != null; } + set { if (value == (_ban_state== null)) _ban_state = value ? this.ban_state : (bool?)null; } + } + private bool ShouldSerializeban_state() { return ban_stateSpecified; } + private void Resetban_state() { ban_stateSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetUserBanState_Response")] + public partial class CChatRoom_SetUserBanState_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SetUserBanState_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RevokeInvite_Request")] + public partial class CChatRoom_RevokeInvite_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_RevokeInvite_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RevokeInvite_Response")] + public partial class CChatRoom_RevokeInvite_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_RevokeInvite_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateRole_Request")] + public partial class CChatRoom_CreateRole_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateRole_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateRole_Response")] + public partial class CChatRoom_CreateRole_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateRole_Response() {} + + + private CChatRoleActions _actions = null; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"actions", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoleActions actions + { + get { return _actions; } + set { _actions = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetRoles_Request")] + public partial class CChatRoom_GetRoles_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetRoles_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetRoles_Response")] + public partial class CChatRoom_GetRoles_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetRoles_Response() {} + + private readonly global::System.Collections.Generic.List _roles = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"roles", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List roles + { + get { return _roles; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RenameRole_Request")] + public partial class CChatRoom_RenameRole_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_RenameRole_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RenameRole_Response")] + public partial class CChatRoom_RenameRole_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_RenameRole_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ReorderRole_Request")] + public partial class CChatRoom_ReorderRole_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_ReorderRole_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ReorderRole_Response")] + public partial class CChatRoom_ReorderRole_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_ReorderRole_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteRole_Request")] + public partial class CChatRoom_DeleteRole_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteRole_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteRole_Response")] + public partial class CChatRoom_DeleteRole_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteRole_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetRoleActions_Request")] + public partial class CChatRoom_GetRoleActions_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetRoleActions_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetRoleActions_Response")] + public partial class CChatRoom_GetRoleActions_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetRoleActions_Response() {} + + private readonly global::System.Collections.Generic.List _actions = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"actions", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List actions + { + get { return _actions; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ReplaceRoleActions_Request")] + public partial class CChatRoom_ReplaceRoleActions_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_ReplaceRoleActions_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private CChatRoleActions _actions = null; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"actions", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoleActions actions + { + get { return _actions; } + set { _actions = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ReplaceRoleActions_Response")] + public partial class CChatRoom_ReplaceRoleActions_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_ReplaceRoleActions_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_AddRoleToUser_Request")] + public partial class CChatRoom_AddRoleToUser_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_AddRoleToUser_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_AddRoleToUser_Response")] + public partial class CChatRoom_AddRoleToUser_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_AddRoleToUser_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetRolesForUser_Request")] + public partial class CChatRoom_GetRolesForUser_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetRolesForUser_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetRolesForUser_Response")] + public partial class CChatRoom_GetRolesForUser_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetRolesForUser_Response() {} + + private readonly global::System.Collections.Generic.List _role_ids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"role_ids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List role_ids + { + get { return _role_ids; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteRoleFromUser_Request")] + public partial class CChatRoom_DeleteRoleFromUser_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteRoleFromUser_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _role_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong role_id + { + get { return _role_id?? default(ulong); } + set { _role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool role_idSpecified + { + get { return _role_id != null; } + set { if (value == (_role_id== null)) _role_id = value ? this.role_id : (ulong?)null; } + } + private bool ShouldSerializerole_id() { return role_idSpecified; } + private void Resetrole_id() { role_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteRoleFromUser_Response")] + public partial class CChatRoom_DeleteRoleFromUser_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteRoleFromUser_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_JoinChatRoomGroup_Request")] + public partial class CChatRoom_JoinChatRoomGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_JoinChatRoomGroup_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _invite_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"invite_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string invite_code + { + get { return _invite_code?? ""; } + set { _invite_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool invite_codeSpecified + { + get { return _invite_code != null; } + set { if (value == (_invite_code== null)) _invite_code = value ? this.invite_code : (string)null; } + } + private bool ShouldSerializeinvite_code() { return invite_codeSpecified; } + private void Resetinvite_code() { invite_codeSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_JoinChatRoomGroup_Response")] + public partial class CChatRoom_JoinChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_JoinChatRoomGroup_Response() {} + + + private CChatRoomGroupState _state = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomGroupState state + { + get { return _state; } + set { _state = value; } + } + + private CUserChatRoomGroupState _user_chat_state = null; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"user_chat_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CUserChatRoomGroupState user_chat_state + { + get { return _user_chat_state; } + set { _user_chat_state = value; } + } + + private ulong? _join_chat_id; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"join_chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong join_chat_id + { + get { return _join_chat_id?? default(ulong); } + set { _join_chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool join_chat_idSpecified + { + get { return _join_chat_id != null; } + set { if (value == (_join_chat_id== null)) _join_chat_id = value ? this.join_chat_id : (ulong?)null; } + } + private bool ShouldSerializejoin_chat_id() { return join_chat_idSpecified; } + private void Resetjoin_chat_id() { join_chat_idSpecified = false; } + + + private uint? _time_expire; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"time_expire", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_expire + { + get { return _time_expire?? default(uint); } + set { _time_expire = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_expireSpecified + { + get { return _time_expire != null; } + set { if (value == (_time_expire== null)) _time_expire = value ? this.time_expire : (uint?)null; } + } + private bool ShouldSerializetime_expire() { return time_expireSpecified; } + private void Resettime_expire() { time_expireSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_InviteFriendToChatRoomGroup_Request")] + public partial class CChatRoom_InviteFriendToChatRoomGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_InviteFriendToChatRoomGroup_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private bool? _skip_friendsui_check; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"skip_friendsui_check", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool skip_friendsui_check + { + get { return _skip_friendsui_check?? default(bool); } + set { _skip_friendsui_check = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool skip_friendsui_checkSpecified + { + get { return _skip_friendsui_check != null; } + set { if (value == (_skip_friendsui_check== null)) _skip_friendsui_check = value ? this.skip_friendsui_check : (bool?)null; } + } + private bool ShouldSerializeskip_friendsui_check() { return skip_friendsui_checkSpecified; } + private void Resetskip_friendsui_check() { skip_friendsui_checkSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_InviteFriendToChatRoomGroup_Response")] + public partial class CChatRoom_InviteFriendToChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_InviteFriendToChatRoomGroup_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_LeaveChatRoomGroup_Request")] + public partial class CChatRoom_LeaveChatRoomGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_LeaveChatRoomGroup_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_LeaveChatRoomGroup_Response")] + public partial class CChatRoom_LeaveChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_LeaveChatRoomGroup_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateChatRoom_Request")] + public partial class CChatRoom_CreateChatRoom_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateChatRoom_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + + private bool? _allow_voice; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"allow_voice", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool allow_voice + { + get { return _allow_voice?? default(bool); } + set { _allow_voice = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool allow_voiceSpecified + { + get { return _allow_voice != null; } + set { if (value == (_allow_voice== null)) _allow_voice = value ? this.allow_voice : (bool?)null; } + } + private bool ShouldSerializeallow_voice() { return allow_voiceSpecified; } + private void Resetallow_voice() { allow_voiceSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateChatRoom_Response")] + public partial class CChatRoom_CreateChatRoom_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateChatRoom_Response() {} + + + private CChatRoomState _chat_room = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_room", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomState chat_room + { + get { return _chat_room; } + set { _chat_room = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteChatRoom_Request")] + public partial class CChatRoom_DeleteChatRoom_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteChatRoom_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteChatRoom_Response")] + public partial class CChatRoom_DeleteChatRoom_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteChatRoom_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RenameChatRoom_Request")] + public partial class CChatRoom_RenameChatRoom_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_RenameChatRoom_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_RenameChatRoom_Response")] + public partial class CChatRoom_RenameChatRoom_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_RenameChatRoom_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ReorderChatRoom_Request")] + public partial class CChatRoom_ReorderChatRoom_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_ReorderChatRoom_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private ulong? _move_after_chat_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"move_after_chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong move_after_chat_id + { + get { return _move_after_chat_id?? default(ulong); } + set { _move_after_chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool move_after_chat_idSpecified + { + get { return _move_after_chat_id != null; } + set { if (value == (_move_after_chat_id== null)) _move_after_chat_id = value ? this.move_after_chat_id : (ulong?)null; } + } + private bool ShouldSerializemove_after_chat_id() { return move_after_chat_idSpecified; } + private void Resetmove_after_chat_id() { move_after_chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ReorderChatRoom_Response")] + public partial class CChatRoom_ReorderChatRoom_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_ReorderChatRoom_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SendChatMessage_Request")] + public partial class CChatRoom_SendChatMessage_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SendChatMessage_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private string _message; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string message + { + get { return _message?? ""; } + set { _message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool messageSpecified + { + get { return _message != null; } + set { if (value == (_message== null)) _message = value ? this.message : (string)null; } + } + private bool ShouldSerializemessage() { return messageSpecified; } + private void Resetmessage() { messageSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SendChatMessage_Response")] + public partial class CChatRoom_SendChatMessage_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SendChatMessage_Response() {} + + + private string _modified_message; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"modified_message", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string modified_message + { + get { return _modified_message?? ""; } + set { _modified_message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool modified_messageSpecified + { + get { return _modified_message != null; } + set { if (value == (_modified_message== null)) _modified_message = value ? this.modified_message : (string)null; } + } + private bool ShouldSerializemodified_message() { return modified_messageSpecified; } + private void Resetmodified_message() { modified_messageSpecified = false; } + + + private uint? _server_timestamp; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"server_timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint server_timestamp + { + get { return _server_timestamp?? default(uint); } + set { _server_timestamp = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool server_timestampSpecified + { + get { return _server_timestamp != null; } + set { if (value == (_server_timestamp== null)) _server_timestamp = value ? this.server_timestamp : (uint?)null; } + } + private bool ShouldSerializeserver_timestamp() { return server_timestampSpecified; } + private void Resetserver_timestamp() { server_timestampSpecified = false; } + + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_JoinVoiceChat_Request")] + public partial class CChatRoom_JoinVoiceChat_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_JoinVoiceChat_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_JoinVoiceChat_Response")] + public partial class CChatRoom_JoinVoiceChat_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_JoinVoiceChat_Response() {} + + + private ulong? _voice_chatid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"voice_chatid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong voice_chatid + { + get { return _voice_chatid?? default(ulong); } + set { _voice_chatid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_chatidSpecified + { + get { return _voice_chatid != null; } + set { if (value == (_voice_chatid== null)) _voice_chatid = value ? this.voice_chatid : (ulong?)null; } + } + private bool ShouldSerializevoice_chatid() { return voice_chatidSpecified; } + private void Resetvoice_chatid() { voice_chatidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_LeaveVoiceChat_Request")] + public partial class CChatRoom_LeaveVoiceChat_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_LeaveVoiceChat_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_LeaveVoiceChat_Response")] + public partial class CChatRoom_LeaveVoiceChat_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_LeaveVoiceChat_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetMessageHistory_Request")] + public partial class CChatRoom_GetMessageHistory_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetMessageHistory_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private uint? _last_time; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"last_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint last_time + { + get { return _last_time?? default(uint); } + set { _last_time = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool last_timeSpecified + { + get { return _last_time != null; } + set { if (value == (_last_time== null)) _last_time = value ? this.last_time : (uint?)null; } + } + private bool ShouldSerializelast_time() { return last_timeSpecified; } + private void Resetlast_time() { last_timeSpecified = false; } + + + private uint? _last_ordinal; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"last_ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint last_ordinal + { + get { return _last_ordinal?? default(uint); } + set { _last_ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool last_ordinalSpecified + { + get { return _last_ordinal != null; } + set { if (value == (_last_ordinal== null)) _last_ordinal = value ? this.last_ordinal : (uint?)null; } + } + private bool ShouldSerializelast_ordinal() { return last_ordinalSpecified; } + private void Resetlast_ordinal() { last_ordinalSpecified = false; } + + + private uint? _start_time; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"start_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint start_time + { + get { return _start_time?? default(uint); } + set { _start_time = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool start_timeSpecified + { + get { return _start_time != null; } + set { if (value == (_start_time== null)) _start_time = value ? this.start_time : (uint?)null; } + } + private bool ShouldSerializestart_time() { return start_timeSpecified; } + private void Resetstart_time() { start_timeSpecified = false; } + + + private uint? _start_ordinal; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"start_ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint start_ordinal + { + get { return _start_ordinal?? default(uint); } + set { _start_ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool start_ordinalSpecified + { + get { return _start_ordinal != null; } + set { if (value == (_start_ordinal== null)) _start_ordinal = value ? this.start_ordinal : (uint?)null; } + } + private bool ShouldSerializestart_ordinal() { return start_ordinalSpecified; } + private void Resetstart_ordinal() { start_ordinalSpecified = false; } + + + private uint? _max_count; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"max_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint max_count + { + get { return _max_count?? default(uint); } + set { _max_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool max_countSpecified + { + get { return _max_count != null; } + set { if (value == (_max_count== null)) _max_count = value ? this.max_count : (uint?)null; } + } + private bool ShouldSerializemax_count() { return max_countSpecified; } + private void Resetmax_count() { max_countSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ServerMessage")] + public partial class ServerMessage : global::ProtoBuf.IExtensible + { + public ServerMessage() {} + + + private EChatRoomServerMessage? _message; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomServerMessage message + { + get { return _message?? EChatRoomServerMessage.k_EChatRoomServerMsg_Invalid; } + set { _message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool messageSpecified + { + get { return _message != null; } + set { if (value == (_message== null)) _message = value ? this.message : (EChatRoomServerMessage?)null; } + } + private bool ShouldSerializemessage() { return messageSpecified; } + private void Resetmessage() { messageSpecified = false; } + + + private string _string_param; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"string_param", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string string_param + { + get { return _string_param?? ""; } + set { _string_param = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool string_paramSpecified + { + get { return _string_param != null; } + set { if (value == (_string_param== null)) _string_param = value ? this.string_param : (string)null; } + } + private bool ShouldSerializestring_param() { return string_paramSpecified; } + private void Resetstring_param() { string_paramSpecified = false; } + + + private uint? _accountid_param; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid_param", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid_param + { + get { return _accountid_param?? default(uint); } + set { _accountid_param = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountid_paramSpecified + { + get { return _accountid_param != null; } + set { if (value == (_accountid_param== null)) _accountid_param = value ? this.accountid_param : (uint?)null; } + } + private bool ShouldSerializeaccountid_param() { return accountid_paramSpecified; } + private void Resetaccountid_param() { accountid_paramSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetMessageHistory_Response")] + public partial class CChatRoom_GetMessageHistory_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetMessageHistory_Response() {} + + private readonly global::System.Collections.Generic.List _messages = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"messages", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List messages + { + get { return _messages; } + } + + + private bool? _more_available; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"more_available", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool more_available + { + get { return _more_available?? default(bool); } + set { _more_available = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool more_availableSpecified + { + get { return _more_available != null; } + set { if (value == (_more_available== null)) _more_available = value ? this.more_available : (bool?)null; } + } + private bool ShouldSerializemore_available() { return more_availableSpecified; } + private void Resetmore_available() { more_availableSpecified = false; } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatMessage")] + public partial class ChatMessage : global::ProtoBuf.IExtensible + { + public ChatMessage() {} + + + private uint? _sender; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"sender", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint sender + { + get { return _sender?? default(uint); } + set { _sender = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool senderSpecified + { + get { return _sender != null; } + set { if (value == (_sender== null)) _sender = value ? this.sender : (uint?)null; } + } + private bool ShouldSerializesender() { return senderSpecified; } + private void Resetsender() { senderSpecified = false; } + + + private uint? _server_timestamp; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"server_timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint server_timestamp + { + get { return _server_timestamp?? default(uint); } + set { _server_timestamp = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool server_timestampSpecified + { + get { return _server_timestamp != null; } + set { if (value == (_server_timestamp== null)) _server_timestamp = value ? this.server_timestamp : (uint?)null; } + } + private bool ShouldSerializeserver_timestamp() { return server_timestampSpecified; } + private void Resetserver_timestamp() { server_timestampSpecified = false; } + + + private string _message; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string message + { + get { return _message?? ""; } + set { _message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool messageSpecified + { + get { return _message != null; } + set { if (value == (_message== null)) _message = value ? this.message : (string)null; } + } + private bool ShouldSerializemessage() { return messageSpecified; } + private void Resetmessage() { messageSpecified = false; } + + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + + private ServerMessage _server_message = null; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"server_message", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public ServerMessage server_message + { + get { return _server_message; } + set { _server_message = value; } + } + + private bool? _deleted; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"deleted", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool deleted + { + get { return _deleted?? default(bool); } + set { _deleted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool deletedSpecified + { + get { return _deleted != null; } + set { if (value == (_deleted== null)) _deleted = value ? this.deleted : (bool?)null; } + } + private bool ShouldSerializedeleted() { return deletedSpecified; } + private void Resetdeleted() { deletedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetMyChatRoomGroups_Request")] + public partial class CChatRoom_GetMyChatRoomGroups_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetMyChatRoomGroups_Request() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetChatRoomGroupSummary_Response")] + public partial class CChatRoom_GetChatRoomGroupSummary_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetChatRoomGroupSummary_Response() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _chat_group_name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_group_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string chat_group_name + { + get { return _chat_group_name?? ""; } + set { _chat_group_name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_nameSpecified + { + get { return _chat_group_name != null; } + set { if (value == (_chat_group_name== null)) _chat_group_name = value ? this.chat_group_name : (string)null; } + } + private bool ShouldSerializechat_group_name() { return chat_group_nameSpecified; } + private void Resetchat_group_name() { chat_group_nameSpecified = false; } + + + private uint? _active_member_count; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"active_member_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint active_member_count + { + get { return _active_member_count?? default(uint); } + set { _active_member_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool active_member_countSpecified + { + get { return _active_member_count != null; } + set { if (value == (_active_member_count== null)) _active_member_count = value ? this.active_member_count : (uint?)null; } + } + private bool ShouldSerializeactive_member_count() { return active_member_countSpecified; } + private void Resetactive_member_count() { active_member_countSpecified = false; } + + + private uint? _active_voice_member_count; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"active_voice_member_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint active_voice_member_count + { + get { return _active_voice_member_count?? default(uint); } + set { _active_voice_member_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool active_voice_member_countSpecified + { + get { return _active_voice_member_count != null; } + set { if (value == (_active_voice_member_count== null)) _active_voice_member_count = value ? this.active_voice_member_count : (uint?)null; } + } + private bool ShouldSerializeactive_voice_member_count() { return active_voice_member_countSpecified; } + private void Resetactive_voice_member_count() { active_voice_member_countSpecified = false; } + + + private ulong? _default_chat_id; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"default_chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong default_chat_id + { + get { return _default_chat_id?? default(ulong); } + set { _default_chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool default_chat_idSpecified + { + get { return _default_chat_id != null; } + set { if (value == (_default_chat_id== null)) _default_chat_id = value ? this.default_chat_id : (ulong?)null; } + } + private bool ShouldSerializedefault_chat_id() { return default_chat_idSpecified; } + private void Resetdefault_chat_id() { default_chat_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _chat_rooms = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(6, Name=@"chat_rooms", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List chat_rooms + { + get { return _chat_rooms; } + } + + + private uint? _clanid; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"clanid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint clanid + { + get { return _clanid?? default(uint); } + set { _clanid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool clanidSpecified + { + get { return _clanid != null; } + set { if (value == (_clanid== null)) _clanid = value ? this.clanid : (uint?)null; } + } + private bool ShouldSerializeclanid() { return clanidSpecified; } + private void Resetclanid() { clanidSpecified = false; } + + + private string _chat_group_tagline; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"chat_group_tagline", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string chat_group_tagline + { + get { return _chat_group_tagline?? ""; } + set { _chat_group_tagline = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_taglineSpecified + { + get { return _chat_group_tagline != null; } + set { if (value == (_chat_group_tagline== null)) _chat_group_tagline = value ? this.chat_group_tagline : (string)null; } + } + private bool ShouldSerializechat_group_tagline() { return chat_group_taglineSpecified; } + private void Resetchat_group_tagline() { chat_group_taglineSpecified = false; } + + + private uint? _accountid_owner; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"accountid_owner", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid_owner + { + get { return _accountid_owner?? default(uint); } + set { _accountid_owner = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountid_ownerSpecified + { + get { return _accountid_owner != null; } + set { if (value == (_accountid_owner== null)) _accountid_owner = value ? this.accountid_owner : (uint?)null; } + } + private bool ShouldSerializeaccountid_owner() { return accountid_ownerSpecified; } + private void Resetaccountid_owner() { accountid_ownerSpecified = false; } + + private readonly global::System.Collections.Generic.List _top_members = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(10, Name=@"top_members", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List top_members + { + get { return _top_members; } + } + + + private byte[] _chat_group_avatar_sha; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"chat_group_avatar_sha", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] chat_group_avatar_sha + { + get { return _chat_group_avatar_sha?? null; } + set { _chat_group_avatar_sha = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_avatar_shaSpecified + { + get { return _chat_group_avatar_sha != null; } + set { if (value == (_chat_group_avatar_sha== null)) _chat_group_avatar_sha = value ? this.chat_group_avatar_sha : (byte[])null; } + } + private bool ShouldSerializechat_group_avatar_sha() { return chat_group_avatar_shaSpecified; } + private void Resetchat_group_avatar_sha() { chat_group_avatar_shaSpecified = false; } + + + private EChatRoomGroupRank? _rank; + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"rank", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomGroupRank rank + { + get { return _rank?? EChatRoomGroupRank.k_EChatRoomGroupRank_Default; } + set { _rank = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool rankSpecified + { + get { return _rank != null; } + set { if (value == (_rank== null)) _rank = value ? this.rank : (EChatRoomGroupRank?)null; } + } + private bool ShouldSerializerank() { return rankSpecified; } + private void Resetrank() { rankSpecified = false; } + + + private ulong? _default_role_id; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"default_role_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong default_role_id + { + get { return _default_role_id?? default(ulong); } + set { _default_role_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool default_role_idSpecified + { + get { return _default_role_id != null; } + set { if (value == (_default_role_id== null)) _default_role_id = value ? this.default_role_id : (ulong?)null; } + } + private bool ShouldSerializedefault_role_id() { return default_role_idSpecified; } + private void Resetdefault_role_id() { default_role_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _role_ids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(14, Name=@"role_ids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List role_ids + { + get { return _role_ids; } + } + + private readonly global::System.Collections.Generic.List _role_actions = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(15, Name=@"role_actions", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List role_actions + { + get { return _role_actions; } + } + + + private uint? _watching_broadcast_accountid; + [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"watching_broadcast_accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint watching_broadcast_accountid + { + get { return _watching_broadcast_accountid?? default(uint); } + set { _watching_broadcast_accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool watching_broadcast_accountidSpecified + { + get { return _watching_broadcast_accountid != null; } + set { if (value == (_watching_broadcast_accountid== null)) _watching_broadcast_accountid = value ? this.watching_broadcast_accountid : (uint?)null; } + } + private bool ShouldSerializewatching_broadcast_accountid() { return watching_broadcast_accountidSpecified; } + private void Resetwatching_broadcast_accountid() { watching_broadcast_accountidSpecified = false; } + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + private readonly global::System.Collections.Generic.List _party_beacons = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(18, Name=@"party_beacons", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List party_beacons + { + get { return _party_beacons; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoomSummaryPair")] + public partial class CChatRoomSummaryPair : global::ProtoBuf.IExtensible + { + public CChatRoomSummaryPair() {} + + + private CUserChatRoomGroupState _user_chat_group_state = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"user_chat_group_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CUserChatRoomGroupState user_chat_group_state + { + get { return _user_chat_group_state; } + set { _user_chat_group_state = value; } + } + + private CChatRoom_GetChatRoomGroupSummary_Response _group_summary = null; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"group_summary", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoom_GetChatRoomGroupSummary_Response group_summary + { + get { return _group_summary; } + set { _group_summary = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetMyChatRoomGroups_Response")] + public partial class CChatRoom_GetMyChatRoomGroups_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetMyChatRoomGroups_Response() {} + + private readonly global::System.Collections.Generic.List _chat_room_groups = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"chat_room_groups", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List chat_room_groups + { + get { return _chat_room_groups; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetChatRoomGroupState_Request")] + public partial class CChatRoom_GetChatRoomGroupState_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetChatRoomGroupState_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetChatRoomGroupState_Response")] + public partial class CChatRoom_GetChatRoomGroupState_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetChatRoomGroupState_Response() {} + + + private CChatRoomGroupState _state = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomGroupState state + { + get { return _state; } + set { _state = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetChatRoomGroupSummary_Request")] + public partial class CChatRoom_GetChatRoomGroupSummary_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetChatRoomGroupSummary_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_AckChatMessage_Notification")] + public partial class CChatRoom_AckChatMessage_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_AckChatMessage_Notification() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private uint? _timestamp; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint timestamp + { + get { return _timestamp?? default(uint); } + set { _timestamp = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool timestampSpecified + { + get { return _timestamp != null; } + set { if (value == (_timestamp== null)) _timestamp = value ? this.timestamp : (uint?)null; } + } + private bool ShouldSerializetimestamp() { return timestampSpecified; } + private void Resettimestamp() { timestampSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateInviteLink_Request")] + public partial class CChatRoom_CreateInviteLink_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateInviteLink_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private uint? _seconds_valid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"seconds_valid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint seconds_valid + { + get { return _seconds_valid?? default(uint); } + set { _seconds_valid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool seconds_validSpecified + { + get { return _seconds_valid != null; } + set { if (value == (_seconds_valid== null)) _seconds_valid = value ? this.seconds_valid : (uint?)null; } + } + private bool ShouldSerializeseconds_valid() { return seconds_validSpecified; } + private void Resetseconds_valid() { seconds_validSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_CreateInviteLink_Response")] + public partial class CChatRoom_CreateInviteLink_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_CreateInviteLink_Response() {} + + + private string _invite_code; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"invite_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string invite_code + { + get { return _invite_code?? ""; } + set { _invite_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool invite_codeSpecified + { + get { return _invite_code != null; } + set { if (value == (_invite_code== null)) _invite_code = value ? this.invite_code : (string)null; } + } + private bool ShouldSerializeinvite_code() { return invite_codeSpecified; } + private void Resetinvite_code() { invite_codeSpecified = false; } + + + private uint? _seconds_valid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"seconds_valid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint seconds_valid + { + get { return _seconds_valid?? default(uint); } + set { _seconds_valid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool seconds_validSpecified + { + get { return _seconds_valid != null; } + set { if (value == (_seconds_valid== null)) _seconds_valid = value ? this.seconds_valid : (uint?)null; } + } + private bool ShouldSerializeseconds_valid() { return seconds_validSpecified; } + private void Resetseconds_valid() { seconds_validSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteLinkInfo_Request")] + public partial class CChatRoom_GetInviteLinkInfo_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteLinkInfo_Request() {} + + + private string _invite_code; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"invite_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string invite_code + { + get { return _invite_code?? ""; } + set { _invite_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool invite_codeSpecified + { + get { return _invite_code != null; } + set { if (value == (_invite_code== null)) _invite_code = value ? this.invite_code : (string)null; } + } + private bool ShouldSerializeinvite_code() { return invite_codeSpecified; } + private void Resetinvite_code() { invite_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteLinkInfo_Response")] + public partial class CChatRoom_GetInviteLinkInfo_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteLinkInfo_Response() {} + + + private ulong? _steamid_sender; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"steamid_sender", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_sender + { + get { return _steamid_sender?? default(ulong); } + set { _steamid_sender = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_senderSpecified + { + get { return _steamid_sender != null; } + set { if (value == (_steamid_sender== null)) _steamid_sender = value ? this.steamid_sender : (ulong?)null; } + } + private bool ShouldSerializesteamid_sender() { return steamid_senderSpecified; } + private void Resetsteamid_sender() { steamid_senderSpecified = false; } + + + private uint? _time_expires; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"time_expires", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_expires + { + get { return _time_expires?? default(uint); } + set { _time_expires = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_expiresSpecified + { + get { return _time_expires != null; } + set { if (value == (_time_expires== null)) _time_expires = value ? this.time_expires : (uint?)null; } + } + private bool ShouldSerializetime_expires() { return time_expiresSpecified; } + private void Resettime_expires() { time_expiresSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private CChatRoom_GetChatRoomGroupSummary_Response _group_summary = null; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"group_summary", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoom_GetChatRoomGroupSummary_Response group_summary + { + get { return _group_summary; } + set { _group_summary = value; } + } + + private CUserChatRoomGroupState _user_chat_group_state = null; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"user_chat_group_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CUserChatRoomGroupState user_chat_group_state + { + get { return _user_chat_group_state; } + set { _user_chat_group_state = value; } + } + + private uint? _time_kick_expire; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"time_kick_expire", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_kick_expire + { + get { return _time_kick_expire?? default(uint); } + set { _time_kick_expire = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_kick_expireSpecified + { + get { return _time_kick_expire != null; } + set { if (value == (_time_kick_expire== null)) _time_kick_expire = value ? this.time_kick_expire : (uint?)null; } + } + private bool ShouldSerializetime_kick_expire() { return time_kick_expireSpecified; } + private void Resettime_kick_expire() { time_kick_expireSpecified = false; } + + + private bool? _banned; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"banned", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool banned + { + get { return _banned?? default(bool); } + set { _banned = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool bannedSpecified + { + get { return _banned != null; } + set { if (value == (_banned== null)) _banned = value ? this.banned : (bool?)null; } + } + private bool ShouldSerializebanned() { return bannedSpecified; } + private void Resetbanned() { bannedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteInfo_Request")] + public partial class CChatRoom_GetInviteInfo_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteInfo_Request() {} + + + private ulong? _steamid_invitee; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid_invitee", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_invitee + { + get { return _steamid_invitee?? default(ulong); } + set { _steamid_invitee = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_inviteeSpecified + { + get { return _steamid_invitee != null; } + set { if (value == (_steamid_invitee== null)) _steamid_invitee = value ? this.steamid_invitee : (ulong?)null; } + } + private bool ShouldSerializesteamid_invitee() { return steamid_inviteeSpecified; } + private void Resetsteamid_invitee() { steamid_inviteeSpecified = false; } + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private string _invite_code; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"invite_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string invite_code + { + get { return _invite_code?? ""; } + set { _invite_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool invite_codeSpecified + { + get { return _invite_code != null; } + set { if (value == (_invite_code== null)) _invite_code = value ? this.invite_code : (string)null; } + } + private bool ShouldSerializeinvite_code() { return invite_codeSpecified; } + private void Resetinvite_code() { invite_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteInfo_Response")] + public partial class CChatRoom_GetInviteInfo_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteInfo_Response() {} + + + private CChatRoom_GetChatRoomGroupSummary_Response _group_summary = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"group_summary", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoom_GetChatRoomGroupSummary_Response group_summary + { + get { return _group_summary; } + set { _group_summary = value; } + } + + private uint? _time_kick_expire; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"time_kick_expire", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_kick_expire + { + get { return _time_kick_expire?? default(uint); } + set { _time_kick_expire = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_kick_expireSpecified + { + get { return _time_kick_expire != null; } + set { if (value == (_time_kick_expire== null)) _time_kick_expire = value ? this.time_kick_expire : (uint?)null; } + } + private bool ShouldSerializetime_kick_expire() { return time_kick_expireSpecified; } + private void Resettime_kick_expire() { time_kick_expireSpecified = false; } + + + private bool? _banned; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"banned", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool banned + { + get { return _banned?? default(bool); } + set { _banned = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool bannedSpecified + { + get { return _banned != null; } + set { if (value == (_banned== null)) _banned = value ? this.banned : (bool?)null; } + } + private bool ShouldSerializebanned() { return bannedSpecified; } + private void Resetbanned() { bannedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteLinksForGroup_Request")] + public partial class CChatRoom_GetInviteLinksForGroup_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteLinksForGroup_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteLinksForGroup_Response")] + public partial class CChatRoom_GetInviteLinksForGroup_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteLinksForGroup_Response() {} + + private readonly global::System.Collections.Generic.List _invite_links = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"invite_links", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List invite_links + { + get { return _invite_links; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"LinkInfo")] + public partial class LinkInfo : global::ProtoBuf.IExtensible + { + public LinkInfo() {} + + + private string _invite_code; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"invite_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string invite_code + { + get { return _invite_code?? ""; } + set { _invite_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool invite_codeSpecified + { + get { return _invite_code != null; } + set { if (value == (_invite_code== null)) _invite_code = value ? this.invite_code : (string)null; } + } + private bool ShouldSerializeinvite_code() { return invite_codeSpecified; } + private void Resetinvite_code() { invite_codeSpecified = false; } + + + private ulong? _steamid_creator; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"steamid_creator", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_creator + { + get { return _steamid_creator?? default(ulong); } + set { _steamid_creator = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_creatorSpecified + { + get { return _steamid_creator != null; } + set { if (value == (_steamid_creator== null)) _steamid_creator = value ? this.steamid_creator : (ulong?)null; } + } + private bool ShouldSerializesteamid_creator() { return steamid_creatorSpecified; } + private void Resetsteamid_creator() { steamid_creatorSpecified = false; } + + + private uint? _time_expires; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"time_expires", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_expires + { + get { return _time_expires?? default(uint); } + set { _time_expires = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_expiresSpecified + { + get { return _time_expires != null; } + set { if (value == (_time_expires== null)) _time_expires = value ? this.time_expires : (uint?)null; } + } + private bool ShouldSerializetime_expires() { return time_expiresSpecified; } + private void Resettime_expires() { time_expiresSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetBanList_Request")] + public partial class CChatRoom_GetBanList_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetBanList_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetBanList_Response")] + public partial class CChatRoom_GetBanList_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetBanList_Response() {} + + private readonly global::System.Collections.Generic.List _bans = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"bans", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List bans + { + get { return _bans; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BanInfo")] + public partial class BanInfo : global::ProtoBuf.IExtensible + { + public BanInfo() {} + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + + private uint? _accountid_actor; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"accountid_actor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid_actor + { + get { return _accountid_actor?? default(uint); } + set { _accountid_actor = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountid_actorSpecified + { + get { return _accountid_actor != null; } + set { if (value == (_accountid_actor== null)) _accountid_actor = value ? this.accountid_actor : (uint?)null; } + } + private bool ShouldSerializeaccountid_actor() { return accountid_actorSpecified; } + private void Resetaccountid_actor() { accountid_actorSpecified = false; } + + + private uint? _time_banned; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"time_banned", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_banned + { + get { return _time_banned?? default(uint); } + set { _time_banned = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_bannedSpecified + { + get { return _time_banned != null; } + set { if (value == (_time_banned== null)) _time_banned = value ? this.time_banned : (uint?)null; } + } + private bool ShouldSerializetime_banned() { return time_bannedSpecified; } + private void Resettime_banned() { time_bannedSpecified = false; } + + + private string _ban_reason; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"ban_reason", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string ban_reason + { + get { return _ban_reason?? ""; } + set { _ban_reason = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ban_reasonSpecified + { + get { return _ban_reason != null; } + set { if (value == (_ban_reason== null)) _ban_reason = value ? this.ban_reason : (string)null; } + } + private bool ShouldSerializeban_reason() { return ban_reasonSpecified; } + private void Resetban_reason() { ban_reasonSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteList_Request")] + public partial class CChatRoom_GetInviteList_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteList_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoomGroupInvite")] + public partial class CChatRoomGroupInvite : global::ProtoBuf.IExtensible + { + public CChatRoomGroupInvite() {} + + + private uint? _accountid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid + { + get { return _accountid?? default(uint); } + set { _accountid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountidSpecified + { + get { return _accountid != null; } + set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } + } + private bool ShouldSerializeaccountid() { return accountidSpecified; } + private void Resetaccountid() { accountidSpecified = false; } + + + private uint? _accountid_actor; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"accountid_actor", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint accountid_actor + { + get { return _accountid_actor?? default(uint); } + set { _accountid_actor = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool accountid_actorSpecified + { + get { return _accountid_actor != null; } + set { if (value == (_accountid_actor== null)) _accountid_actor = value ? this.accountid_actor : (uint?)null; } + } + private bool ShouldSerializeaccountid_actor() { return accountid_actorSpecified; } + private void Resetaccountid_actor() { accountid_actorSpecified = false; } + + + private uint? _time_invited; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"time_invited", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint time_invited + { + get { return _time_invited?? default(uint); } + set { _time_invited = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool time_invitedSpecified + { + get { return _time_invited != null; } + set { if (value == (_time_invited== null)) _time_invited = value ? this.time_invited : (uint?)null; } + } + private bool ShouldSerializetime_invited() { return time_invitedSpecified; } + private void Resettime_invited() { time_invitedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_GetInviteList_Response")] + public partial class CChatRoom_GetInviteList_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_GetInviteList_Response() {} + + private readonly global::System.Collections.Generic.List _invites = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"invites", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List invites + { + get { return _invites; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteInviteLink_Request")] + public partial class CChatRoom_DeleteInviteLink_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteInviteLink_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private string _invite_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"invite_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string invite_code + { + get { return _invite_code?? ""; } + set { _invite_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool invite_codeSpecified + { + get { return _invite_code != null; } + set { if (value == (_invite_code== null)) _invite_code = value ? this.invite_code : (string)null; } + } + private bool ShouldSerializeinvite_code() { return invite_codeSpecified; } + private void Resetinvite_code() { invite_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteInviteLink_Response")] + public partial class CChatRoom_DeleteInviteLink_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteInviteLink_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetSessionActiveChatRoomGroups_Request")] + public partial class CChatRoom_SetSessionActiveChatRoomGroups_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SetSessionActiveChatRoomGroups_Request() {} + + private readonly global::System.Collections.Generic.List _chat_group_ids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"chat_group_ids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List chat_group_ids + { + get { return _chat_group_ids; } + } + + private readonly global::System.Collections.Generic.List _chat_groups_data_requested = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"chat_groups_data_requested", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List chat_groups_data_requested + { + get { return _chat_groups_data_requested; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetSessionActiveChatRoomGroups_Response")] + public partial class CChatRoom_SetSessionActiveChatRoomGroups_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SetSessionActiveChatRoomGroups_Response() {} + + private readonly global::System.Collections.Generic.List _chat_states = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"chat_states", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List chat_states + { + get { return _chat_states; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetUserChatGroupPreferences_Request")] + public partial class CChatRoom_SetUserChatGroupPreferences_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_SetUserChatGroupPreferences_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private CChatRoom_SetUserChatGroupPreferences_Request.ChatGroupPreferences _chat_group_preferences = null; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_group_preferences", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoom_SetUserChatGroupPreferences_Request.ChatGroupPreferences chat_group_preferences + { + get { return _chat_group_preferences; } + set { _chat_group_preferences = value; } + } + private readonly global::System.Collections.Generic.List _chat_room_preferences = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"chat_room_preferences", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List chat_room_preferences + { + get { return _chat_room_preferences; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatGroupPreferences")] + public partial class ChatGroupPreferences : global::ProtoBuf.IExtensible + { + public ChatGroupPreferences() {} + + + private EChatRoomNotificationLevel? _desktop_notification_level; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"desktop_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel desktop_notification_level + { + get { return _desktop_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _desktop_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool desktop_notification_levelSpecified + { + get { return _desktop_notification_level != null; } + set { if (value == (_desktop_notification_level== null)) _desktop_notification_level = value ? this.desktop_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializedesktop_notification_level() { return desktop_notification_levelSpecified; } + private void Resetdesktop_notification_level() { desktop_notification_levelSpecified = false; } + + + private EChatRoomNotificationLevel? _mobile_notification_level; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"mobile_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel mobile_notification_level + { + get { return _mobile_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _mobile_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool mobile_notification_levelSpecified + { + get { return _mobile_notification_level != null; } + set { if (value == (_mobile_notification_level== null)) _mobile_notification_level = value ? this.mobile_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializemobile_notification_level() { return mobile_notification_levelSpecified; } + private void Resetmobile_notification_level() { mobile_notification_levelSpecified = false; } + + + private bool? _unread_indicator_muted; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"unread_indicator_muted", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool unread_indicator_muted + { + get { return _unread_indicator_muted?? default(bool); } + set { _unread_indicator_muted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool unread_indicator_mutedSpecified + { + get { return _unread_indicator_muted != null; } + set { if (value == (_unread_indicator_muted== null)) _unread_indicator_muted = value ? this.unread_indicator_muted : (bool?)null; } + } + private bool ShouldSerializeunread_indicator_muted() { return unread_indicator_mutedSpecified; } + private void Resetunread_indicator_muted() { unread_indicator_mutedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatRoomPreferences")] + public partial class ChatRoomPreferences : global::ProtoBuf.IExtensible + { + public ChatRoomPreferences() {} + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private EChatRoomNotificationLevel? _desktop_notification_level; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"desktop_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel desktop_notification_level + { + get { return _desktop_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _desktop_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool desktop_notification_levelSpecified + { + get { return _desktop_notification_level != null; } + set { if (value == (_desktop_notification_level== null)) _desktop_notification_level = value ? this.desktop_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializedesktop_notification_level() { return desktop_notification_levelSpecified; } + private void Resetdesktop_notification_level() { desktop_notification_levelSpecified = false; } + + + private EChatRoomNotificationLevel? _mobile_notification_level; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"mobile_notification_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomNotificationLevel mobile_notification_level + { + get { return _mobile_notification_level?? EChatRoomNotificationLevel.k_EChatroomNotificationLevel_Invalid; } + set { _mobile_notification_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool mobile_notification_levelSpecified + { + get { return _mobile_notification_level != null; } + set { if (value == (_mobile_notification_level== null)) _mobile_notification_level = value ? this.mobile_notification_level : (EChatRoomNotificationLevel?)null; } + } + private bool ShouldSerializemobile_notification_level() { return mobile_notification_levelSpecified; } + private void Resetmobile_notification_level() { mobile_notification_levelSpecified = false; } + + + private bool? _unread_indicator_muted; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"unread_indicator_muted", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool unread_indicator_muted + { + get { return _unread_indicator_muted?? default(bool); } + set { _unread_indicator_muted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool unread_indicator_mutedSpecified + { + get { return _unread_indicator_muted != null; } + set { if (value == (_unread_indicator_muted== null)) _unread_indicator_muted = value ? this.unread_indicator_muted : (bool?)null; } + } + private bool ShouldSerializeunread_indicator_muted() { return unread_indicator_mutedSpecified; } + private void Resetunread_indicator_muted() { unread_indicator_mutedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_SetUserChatGroupPreferences_Response")] + public partial class CChatRoom_SetUserChatGroupPreferences_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_SetUserChatGroupPreferences_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteChatMessages_Request")] + public partial class CChatRoom_DeleteChatMessages_Request : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteChatMessages_Request() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _messages = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"messages", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List messages + { + get { return _messages; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Message")] + public partial class Message : global::ProtoBuf.IExtensible + { + public Message() {} + + + private uint? _server_timestamp; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"server_timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint server_timestamp + { + get { return _server_timestamp?? default(uint); } + set { _server_timestamp = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool server_timestampSpecified + { + get { return _server_timestamp != null; } + set { if (value == (_server_timestamp== null)) _server_timestamp = value ? this.server_timestamp : (uint?)null; } + } + private bool ShouldSerializeserver_timestamp() { return server_timestampSpecified; } + private void Resetserver_timestamp() { server_timestampSpecified = false; } + + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_DeleteChatMessages_Response")] + public partial class CChatRoom_DeleteChatMessages_Response : global::ProtoBuf.IExtensible + { + public CChatRoom_DeleteChatMessages_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CClanChatRooms_GetClanChatRoomInfo_Request")] + public partial class CClanChatRooms_GetClanChatRoomInfo_Request : global::ProtoBuf.IExtensible + { + public CClanChatRooms_GetClanChatRoomInfo_Request() {} + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private bool? _autocreate; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"autocreate", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool autocreate + { + get { return _autocreate?? (bool)true; } + set { _autocreate = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool autocreateSpecified + { + get { return _autocreate != null; } + set { if (value == (_autocreate== null)) _autocreate = value ? this.autocreate : (bool?)null; } + } + private bool ShouldSerializeautocreate() { return autocreateSpecified; } + private void Resetautocreate() { autocreateSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CClanChatRooms_GetClanChatRoomInfo_Response")] + public partial class CClanChatRooms_GetClanChatRoomInfo_Response : global::ProtoBuf.IExtensible + { + public CClanChatRooms_GetClanChatRoomInfo_Response() {} + + + private CChatRoom_GetChatRoomGroupSummary_Response _chat_group_summary = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_summary", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoom_GetChatRoomGroupSummary_Response chat_group_summary + { + get { return _chat_group_summary; } + set { _chat_group_summary = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CClanChatRooms_SetClanChatRoomPrivate_Request")] + public partial class CClanChatRooms_SetClanChatRoomPrivate_Request : global::ProtoBuf.IExtensible + { + public CClanChatRooms_SetClanChatRoomPrivate_Request() {} + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private bool? _chat_room_private; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_room_private", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool chat_room_private + { + get { return _chat_room_private?? default(bool); } + set { _chat_room_private = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_room_privateSpecified + { + get { return _chat_room_private != null; } + set { if (value == (_chat_room_private== null)) _chat_room_private = value ? this.chat_room_private : (bool?)null; } + } + private bool ShouldSerializechat_room_private() { return chat_room_privateSpecified; } + private void Resetchat_room_private() { chat_room_privateSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CClanChatRooms_SetClanChatRoomPrivate_Response")] + public partial class CClanChatRooms_SetClanChatRoomPrivate_Response : global::ProtoBuf.IExtensible + { + public CClanChatRooms_SetClanChatRoomPrivate_Response() {} + + + private bool? _chat_room_private; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_room_private", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool chat_room_private + { + get { return _chat_room_private?? default(bool); } + set { _chat_room_private = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_room_privateSpecified + { + get { return _chat_room_private != null; } + set { if (value == (_chat_room_private== null)) _chat_room_private = value ? this.chat_room_private : (bool?)null; } + } + private bool ShouldSerializechat_room_private() { return chat_room_privateSpecified; } + private void Resetchat_room_private() { chat_room_privateSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatMentions")] + public partial class CChatMentions : global::ProtoBuf.IExtensible + { + public CChatMentions() {} + + + private bool? _mention_all; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"mention_all", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool mention_all + { + get { return _mention_all?? default(bool); } + set { _mention_all = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool mention_allSpecified + { + get { return _mention_all != null; } + set { if (value == (_mention_all== null)) _mention_all = value ? this.mention_all : (bool?)null; } + } + private bool ShouldSerializemention_all() { return mention_allSpecified; } + private void Resetmention_all() { mention_allSpecified = false; } + + + private bool? _mention_here; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"mention_here", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool mention_here + { + get { return _mention_here?? default(bool); } + set { _mention_here = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool mention_hereSpecified + { + get { return _mention_here != null; } + set { if (value == (_mention_here== null)) _mention_here = value ? this.mention_here : (bool?)null; } + } + private bool ShouldSerializemention_here() { return mention_hereSpecified; } + private void Resetmention_here() { mention_hereSpecified = false; } + + private readonly global::System.Collections.Generic.List _mention_accountids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"mention_accountids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List mention_accountids + { + get { return _mention_accountids; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_IncomingChatMessage_Notification")] + public partial class CChatRoom_IncomingChatMessage_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_IncomingChatMessage_Notification() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private ulong? _steamid_sender; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"steamid_sender", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_sender + { + get { return _steamid_sender?? default(ulong); } + set { _steamid_sender = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_senderSpecified + { + get { return _steamid_sender != null; } + set { if (value == (_steamid_sender== null)) _steamid_sender = value ? this.steamid_sender : (ulong?)null; } + } + private bool ShouldSerializesteamid_sender() { return steamid_senderSpecified; } + private void Resetsteamid_sender() { steamid_senderSpecified = false; } + + + private string _message; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string message + { + get { return _message?? ""; } + set { _message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool messageSpecified + { + get { return _message != null; } + set { if (value == (_message== null)) _message = value ? this.message : (string)null; } + } + private bool ShouldSerializemessage() { return messageSpecified; } + private void Resetmessage() { messageSpecified = false; } + + + private uint? _timestamp; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint timestamp + { + get { return _timestamp?? default(uint); } + set { _timestamp = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool timestampSpecified + { + get { return _timestamp != null; } + set { if (value == (_timestamp== null)) _timestamp = value ? this.timestamp : (uint?)null; } + } + private bool ShouldSerializetimestamp() { return timestampSpecified; } + private void Resettimestamp() { timestampSpecified = false; } + + + private CChatMentions _mentions = null; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"mentions", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatMentions mentions + { + get { return _mentions; } + set { _mentions = value; } + } + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + + private ServerMessage _server_message = null; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"server_message", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public ServerMessage server_message + { + get { return _server_message; } + set { _server_message = value; } + } + + private string _message_no_bbcode; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"message_no_bbcode", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string message_no_bbcode + { + get { return _message_no_bbcode?? ""; } + set { _message_no_bbcode = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool message_no_bbcodeSpecified + { + get { return _message_no_bbcode != null; } + set { if (value == (_message_no_bbcode== null)) _message_no_bbcode = value ? this.message_no_bbcode : (string)null; } + } + private bool ShouldSerializemessage_no_bbcode() { return message_no_bbcodeSpecified; } + private void Resetmessage_no_bbcode() { message_no_bbcodeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ChatMessageModified_Notification")] + public partial class CChatRoom_ChatMessageModified_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_ChatMessageModified_Notification() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _messages = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"messages", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List messages + { + get { return _messages; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatMessage")] + public partial class ChatMessage : global::ProtoBuf.IExtensible + { + public ChatMessage() {} + + + private uint? _server_timestamp; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"server_timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint server_timestamp + { + get { return _server_timestamp?? default(uint); } + set { _server_timestamp = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool server_timestampSpecified + { + get { return _server_timestamp != null; } + set { if (value == (_server_timestamp== null)) _server_timestamp = value ? this.server_timestamp : (uint?)null; } + } + private bool ShouldSerializeserver_timestamp() { return server_timestampSpecified; } + private void Resetserver_timestamp() { server_timestampSpecified = false; } + + + private uint? _ordinal; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"ordinal", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint ordinal + { + get { return _ordinal?? default(uint); } + set { _ordinal = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool ordinalSpecified + { + get { return _ordinal != null; } + set { if (value == (_ordinal== null)) _ordinal = value ? this.ordinal : (uint?)null; } + } + private bool ShouldSerializeordinal() { return ordinalSpecified; } + private void Resetordinal() { ordinalSpecified = false; } + + + private bool? _deleted; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"deleted", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool deleted + { + get { return _deleted?? default(bool); } + set { _deleted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool deletedSpecified + { + get { return _deleted != null; } + set { if (value == (_deleted== null)) _deleted = value ? this.deleted : (bool?)null; } + } + private bool ShouldSerializedeleted() { return deletedSpecified; } + private void Resetdeleted() { deletedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_MemberStateChange_Notification")] + public partial class CChatRoom_MemberStateChange_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_MemberStateChange_Notification() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private CChatRoomMember _member = null; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"member", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomMember member + { + get { return _member; } + set { _member = value; } + } + + private EChatRoomMemberStateChange? _change; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"change", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomMemberStateChange change + { + get { return _change?? EChatRoomMemberStateChange.k_EChatRoomMemberStateChange_Invalid; } + set { _change = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool changeSpecified + { + get { return _change != null; } + set { if (value == (_change== null)) _change = value ? this.change : (EChatRoomMemberStateChange?)null; } + } + private bool ShouldSerializechange() { return changeSpecified; } + private void Resetchange() { changeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ChatRoomHeaderState_Notification")] + public partial class CChatRoom_ChatRoomHeaderState_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_ChatRoomHeaderState_Notification() {} + + + private CChatRoomGroupHeaderState _header_state = null; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"header_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoomGroupHeaderState header_state + { + get { return _header_state; } + set { _header_state = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_ChatRoomGroupRoomsChange_Notification")] + public partial class CChatRoom_ChatRoomGroupRoomsChange_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_ChatRoomGroupRoomsChange_Notification() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private ulong? _default_chat_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"default_chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong default_chat_id + { + get { return _default_chat_id?? default(ulong); } + set { _default_chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool default_chat_idSpecified + { + get { return _default_chat_id != null; } + set { if (value == (_default_chat_id== null)) _default_chat_id = value ? this.default_chat_id : (ulong?)null; } + } + private bool ShouldSerializedefault_chat_id() { return default_chat_idSpecified; } + private void Resetdefault_chat_id() { default_chat_idSpecified = false; } + + private readonly global::System.Collections.Generic.List _chat_rooms = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"chat_rooms", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List chat_rooms + { + get { return _chat_rooms; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification")] + public partial class CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification : global::ProtoBuf.IExtensible + { + public CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification() {} + + + private ulong? _chat_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_id + { + get { return _chat_id?? default(ulong); } + set { _chat_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_idSpecified + { + get { return _chat_id != null; } + set { if (value == (_chat_id== null)) _chat_id = value ? this.chat_id : (ulong?)null; } + } + private bool ShouldSerializechat_id() { return chat_idSpecified; } + private void Resetchat_id() { chat_idSpecified = false; } + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatRoomClient_NotifyChatGroupUserStateChanged_Notification")] + public partial class ChatRoomClient_NotifyChatGroupUserStateChanged_Notification : global::ProtoBuf.IExtensible + { + public ChatRoomClient_NotifyChatGroupUserStateChanged_Notification() {} + + + private ulong? _chat_group_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"chat_group_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong chat_group_id + { + get { return _chat_group_id?? default(ulong); } + set { _chat_group_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_group_idSpecified + { + get { return _chat_group_id != null; } + set { if (value == (_chat_group_id== null)) _chat_group_id = value ? this.chat_group_id : (ulong?)null; } + } + private bool ShouldSerializechat_group_id() { return chat_group_idSpecified; } + private void Resetchat_group_id() { chat_group_idSpecified = false; } + + + private CUserChatRoomGroupState _user_chat_group_state = null; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"user_chat_group_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CUserChatRoomGroupState user_chat_group_state + { + get { return _user_chat_group_state; } + set { _user_chat_group_state = value; } + } + + private CChatRoom_GetChatRoomGroupSummary_Response _group_summary = null; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"group_summary", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatRoom_GetChatRoomGroupSummary_Response group_summary + { + get { return _group_summary; } + set { _group_summary = value; } + } + + private EChatRoomMemberStateChange? _user_action; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"user_action", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EChatRoomMemberStateChange user_action + { + get { return _user_action?? EChatRoomMemberStateChange.k_EChatRoomMemberStateChange_Invalid; } + set { _user_action = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool user_actionSpecified + { + get { return _user_action != null; } + set { if (value == (_user_action== null)) _user_action = value ? this.user_action : (EChatRoomMemberStateChange?)null; } + } + private bool ShouldSerializeuser_action() { return user_actionSpecified; } + private void Resetuser_action() { user_actionSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatUsability_ClientUsabilityMetrics_Notification")] + public partial class CChatUsability_ClientUsabilityMetrics_Notification : global::ProtoBuf.IExtensible + { + public CChatUsability_ClientUsabilityMetrics_Notification() {} + + + private uint? _metrics_run_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"metrics_run_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint metrics_run_id + { + get { return _metrics_run_id?? default(uint); } + set { _metrics_run_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool metrics_run_idSpecified + { + get { return _metrics_run_id != null; } + set { if (value == (_metrics_run_id== null)) _metrics_run_id = value ? this.metrics_run_id : (uint?)null; } + } + private bool ShouldSerializemetrics_run_id() { return metrics_run_idSpecified; } + private void Resetmetrics_run_id() { metrics_run_idSpecified = false; } + + + private uint? _client_build; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"client_build", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint client_build + { + get { return _client_build?? default(uint); } + set { _client_build = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool client_buildSpecified + { + get { return _client_build != null; } + set { if (value == (_client_build== null)) _client_build = value ? this.client_build : (uint?)null; } + } + private bool ShouldSerializeclient_build() { return client_buildSpecified; } + private void Resetclient_build() { client_buildSpecified = false; } + + + private uint? _metrics_version; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"metrics_version", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint metrics_version + { + get { return _metrics_version?? default(uint); } + set { _metrics_version = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool metrics_versionSpecified + { + get { return _metrics_version != null; } + set { if (value == (_metrics_version== null)) _metrics_version = value ? this.metrics_version : (uint?)null; } + } + private bool ShouldSerializemetrics_version() { return metrics_versionSpecified; } + private void Resetmetrics_version() { metrics_versionSpecified = false; } + + + private bool? _in_web; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"in_web", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool in_web + { + get { return _in_web?? default(bool); } + set { _in_web = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool in_webSpecified + { + get { return _in_web != null; } + set { if (value == (_in_web== null)) _in_web = value ? this.in_web : (bool?)null; } + } + private bool ShouldSerializein_web() { return in_webSpecified; } + private void Resetin_web() { in_webSpecified = false; } + + + private CChatUsability_ClientUsabilityMetrics_Notification.Settings _settings = null; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"settings", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatUsability_ClientUsabilityMetrics_Notification.Settings settings + { + get { return _settings; } + set { _settings = value; } + } + + private CChatUsability_ClientUsabilityMetrics_Notification.VoiceSettings _voice_settings = null; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"voice_settings", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatUsability_ClientUsabilityMetrics_Notification.VoiceSettings voice_settings + { + get { return _voice_settings; } + set { _voice_settings = value; } + } + + private CChatUsability_ClientUsabilityMetrics_Notification.UIState _ui_state = null; + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"ui_state", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatUsability_ClientUsabilityMetrics_Notification.UIState ui_state + { + get { return _ui_state; } + set { _ui_state = value; } + } + + private CChatUsability_ClientUsabilityMetrics_Notification.Metrics _metrics = null; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"metrics", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatUsability_ClientUsabilityMetrics_Notification.Metrics metrics + { + get { return _metrics; } + set { _metrics = value; } + } + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Settings")] + public partial class Settings : global::ProtoBuf.IExtensible + { + public Settings() {} + + + private bool? _notifications_show_ingame; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"notifications_show_ingame", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool notifications_show_ingame + { + get { return _notifications_show_ingame?? default(bool); } + set { _notifications_show_ingame = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool notifications_show_ingameSpecified + { + get { return _notifications_show_ingame != null; } + set { if (value == (_notifications_show_ingame== null)) _notifications_show_ingame = value ? this.notifications_show_ingame : (bool?)null; } + } + private bool ShouldSerializenotifications_show_ingame() { return notifications_show_ingameSpecified; } + private void Resetnotifications_show_ingame() { notifications_show_ingameSpecified = false; } + + + private bool? _notifications_show_online; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"notifications_show_online", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool notifications_show_online + { + get { return _notifications_show_online?? default(bool); } + set { _notifications_show_online = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool notifications_show_onlineSpecified + { + get { return _notifications_show_online != null; } + set { if (value == (_notifications_show_online== null)) _notifications_show_online = value ? this.notifications_show_online : (bool?)null; } + } + private bool ShouldSerializenotifications_show_online() { return notifications_show_onlineSpecified; } + private void Resetnotifications_show_online() { notifications_show_onlineSpecified = false; } + + + private bool? _notifications_show_message; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"notifications_show_message", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool notifications_show_message + { + get { return _notifications_show_message?? default(bool); } + set { _notifications_show_message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool notifications_show_messageSpecified + { + get { return _notifications_show_message != null; } + set { if (value == (_notifications_show_message== null)) _notifications_show_message = value ? this.notifications_show_message : (bool?)null; } + } + private bool ShouldSerializenotifications_show_message() { return notifications_show_messageSpecified; } + private void Resetnotifications_show_message() { notifications_show_messageSpecified = false; } + + + private bool? _notifications_events_and_announcements; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"notifications_events_and_announcements", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool notifications_events_and_announcements + { + get { return _notifications_events_and_announcements?? default(bool); } + set { _notifications_events_and_announcements = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool notifications_events_and_announcementsSpecified + { + get { return _notifications_events_and_announcements != null; } + set { if (value == (_notifications_events_and_announcements== null)) _notifications_events_and_announcements = value ? this.notifications_events_and_announcements : (bool?)null; } + } + private bool ShouldSerializenotifications_events_and_announcements() { return notifications_events_and_announcementsSpecified; } + private void Resetnotifications_events_and_announcements() { notifications_events_and_announcementsSpecified = false; } + + + private bool? _sounds_play_ingame; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"sounds_play_ingame", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool sounds_play_ingame + { + get { return _sounds_play_ingame?? default(bool); } + set { _sounds_play_ingame = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sounds_play_ingameSpecified + { + get { return _sounds_play_ingame != null; } + set { if (value == (_sounds_play_ingame== null)) _sounds_play_ingame = value ? this.sounds_play_ingame : (bool?)null; } + } + private bool ShouldSerializesounds_play_ingame() { return sounds_play_ingameSpecified; } + private void Resetsounds_play_ingame() { sounds_play_ingameSpecified = false; } + + + private bool? _sounds_play_online; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"sounds_play_online", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool sounds_play_online + { + get { return _sounds_play_online?? default(bool); } + set { _sounds_play_online = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sounds_play_onlineSpecified + { + get { return _sounds_play_online != null; } + set { if (value == (_sounds_play_online== null)) _sounds_play_online = value ? this.sounds_play_online : (bool?)null; } + } + private bool ShouldSerializesounds_play_online() { return sounds_play_onlineSpecified; } + private void Resetsounds_play_online() { sounds_play_onlineSpecified = false; } + + + private bool? _sounds_play_message; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"sounds_play_message", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool sounds_play_message + { + get { return _sounds_play_message?? default(bool); } + set { _sounds_play_message = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sounds_play_messageSpecified + { + get { return _sounds_play_message != null; } + set { if (value == (_sounds_play_message== null)) _sounds_play_message = value ? this.sounds_play_message : (bool?)null; } + } + private bool ShouldSerializesounds_play_message() { return sounds_play_messageSpecified; } + private void Resetsounds_play_message() { sounds_play_messageSpecified = false; } + + + private bool? _sounds_events_and_announcements; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"sounds_events_and_announcements", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool sounds_events_and_announcements + { + get { return _sounds_events_and_announcements?? default(bool); } + set { _sounds_events_and_announcements = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sounds_events_and_announcementsSpecified + { + get { return _sounds_events_and_announcements != null; } + set { if (value == (_sounds_events_and_announcements== null)) _sounds_events_and_announcements = value ? this.sounds_events_and_announcements : (bool?)null; } + } + private bool ShouldSerializesounds_events_and_announcements() { return sounds_events_and_announcementsSpecified; } + private void Resetsounds_events_and_announcements() { sounds_events_and_announcementsSpecified = false; } + + + private bool? _always_new_chat_window; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"always_new_chat_window", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool always_new_chat_window + { + get { return _always_new_chat_window?? default(bool); } + set { _always_new_chat_window = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool always_new_chat_windowSpecified + { + get { return _always_new_chat_window != null; } + set { if (value == (_always_new_chat_window== null)) _always_new_chat_window = value ? this.always_new_chat_window : (bool?)null; } + } + private bool ShouldSerializealways_new_chat_window() { return always_new_chat_windowSpecified; } + private void Resetalways_new_chat_window() { always_new_chat_windowSpecified = false; } + + + private bool? _force_alphabetic_friend_sorting; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"force_alphabetic_friend_sorting", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool force_alphabetic_friend_sorting + { + get { return _force_alphabetic_friend_sorting?? default(bool); } + set { _force_alphabetic_friend_sorting = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool force_alphabetic_friend_sortingSpecified + { + get { return _force_alphabetic_friend_sorting != null; } + set { if (value == (_force_alphabetic_friend_sorting== null)) _force_alphabetic_friend_sorting = value ? this.force_alphabetic_friend_sorting : (bool?)null; } + } + private bool ShouldSerializeforce_alphabetic_friend_sorting() { return force_alphabetic_friend_sortingSpecified; } + private void Resetforce_alphabetic_friend_sorting() { force_alphabetic_friend_sortingSpecified = false; } + + + private int? _chat_flash_mode; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"chat_flash_mode", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int chat_flash_mode + { + get { return _chat_flash_mode?? default(int); } + set { _chat_flash_mode = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_flash_modeSpecified + { + get { return _chat_flash_mode != null; } + set { if (value == (_chat_flash_mode== null)) _chat_flash_mode = value ? this.chat_flash_mode : (int?)null; } + } + private bool ShouldSerializechat_flash_mode() { return chat_flash_modeSpecified; } + private void Resetchat_flash_mode() { chat_flash_modeSpecified = false; } + + + private bool? _remember_open_chats; + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"remember_open_chats", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool remember_open_chats + { + get { return _remember_open_chats?? default(bool); } + set { _remember_open_chats = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool remember_open_chatsSpecified + { + get { return _remember_open_chats != null; } + set { if (value == (_remember_open_chats== null)) _remember_open_chats = value ? this.remember_open_chats : (bool?)null; } + } + private bool ShouldSerializeremember_open_chats() { return remember_open_chatsSpecified; } + private void Resetremember_open_chats() { remember_open_chatsSpecified = false; } + + + private bool? _compact_quick_access; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"compact_quick_access", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool compact_quick_access + { + get { return _compact_quick_access?? default(bool); } + set { _compact_quick_access = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool compact_quick_accessSpecified + { + get { return _compact_quick_access != null; } + set { if (value == (_compact_quick_access== null)) _compact_quick_access = value ? this.compact_quick_access : (bool?)null; } + } + private bool ShouldSerializecompact_quick_access() { return compact_quick_accessSpecified; } + private void Resetcompact_quick_access() { compact_quick_accessSpecified = false; } + + + private bool? _compact_friends_list; + [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"compact_friends_list", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool compact_friends_list + { + get { return _compact_friends_list?? default(bool); } + set { _compact_friends_list = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool compact_friends_listSpecified + { + get { return _compact_friends_list != null; } + set { if (value == (_compact_friends_list== null)) _compact_friends_list = value ? this.compact_friends_list : (bool?)null; } + } + private bool ShouldSerializecompact_friends_list() { return compact_friends_listSpecified; } + private void Resetcompact_friends_list() { compact_friends_listSpecified = false; } + + + private bool? _notifications_show_chat_room_notification; + [global::ProtoBuf.ProtoMember(15, IsRequired = false, Name=@"notifications_show_chat_room_notification", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool notifications_show_chat_room_notification + { + get { return _notifications_show_chat_room_notification?? default(bool); } + set { _notifications_show_chat_room_notification = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool notifications_show_chat_room_notificationSpecified + { + get { return _notifications_show_chat_room_notification != null; } + set { if (value == (_notifications_show_chat_room_notification== null)) _notifications_show_chat_room_notification = value ? this.notifications_show_chat_room_notification : (bool?)null; } + } + private bool ShouldSerializenotifications_show_chat_room_notification() { return notifications_show_chat_room_notificationSpecified; } + private void Resetnotifications_show_chat_room_notification() { notifications_show_chat_room_notificationSpecified = false; } + + + private bool? _sounds_play_chat_room_notification; + [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"sounds_play_chat_room_notification", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool sounds_play_chat_room_notification + { + get { return _sounds_play_chat_room_notification?? default(bool); } + set { _sounds_play_chat_room_notification = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sounds_play_chat_room_notificationSpecified + { + get { return _sounds_play_chat_room_notification != null; } + set { if (value == (_sounds_play_chat_room_notification== null)) _sounds_play_chat_room_notification = value ? this.sounds_play_chat_room_notification : (bool?)null; } + } + private bool ShouldSerializesounds_play_chat_room_notification() { return sounds_play_chat_room_notificationSpecified; } + private void Resetsounds_play_chat_room_notification() { sounds_play_chat_room_notificationSpecified = false; } + + + private bool? _hide_offline_friends_in_tag_groups; + [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"hide_offline_friends_in_tag_groups", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool hide_offline_friends_in_tag_groups + { + get { return _hide_offline_friends_in_tag_groups?? default(bool); } + set { _hide_offline_friends_in_tag_groups = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool hide_offline_friends_in_tag_groupsSpecified + { + get { return _hide_offline_friends_in_tag_groups != null; } + set { if (value == (_hide_offline_friends_in_tag_groups== null)) _hide_offline_friends_in_tag_groups = value ? this.hide_offline_friends_in_tag_groups : (bool?)null; } + } + private bool ShouldSerializehide_offline_friends_in_tag_groups() { return hide_offline_friends_in_tag_groupsSpecified; } + private void Resethide_offline_friends_in_tag_groups() { hide_offline_friends_in_tag_groupsSpecified = false; } + + + private bool? _hide_categorized_friends; + [global::ProtoBuf.ProtoMember(18, IsRequired = false, Name=@"hide_categorized_friends", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool hide_categorized_friends + { + get { return _hide_categorized_friends?? default(bool); } + set { _hide_categorized_friends = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool hide_categorized_friendsSpecified + { + get { return _hide_categorized_friends != null; } + set { if (value == (_hide_categorized_friends== null)) _hide_categorized_friends = value ? this.hide_categorized_friends : (bool?)null; } + } + private bool ShouldSerializehide_categorized_friends() { return hide_categorized_friendsSpecified; } + private void Resethide_categorized_friends() { hide_categorized_friendsSpecified = false; } + + + private bool? _categorize_in_game_friends_by_game; + [global::ProtoBuf.ProtoMember(19, IsRequired = false, Name=@"categorize_in_game_friends_by_game", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool categorize_in_game_friends_by_game + { + get { return _categorize_in_game_friends_by_game?? default(bool); } + set { _categorize_in_game_friends_by_game = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool categorize_in_game_friends_by_gameSpecified + { + get { return _categorize_in_game_friends_by_game != null; } + set { if (value == (_categorize_in_game_friends_by_game== null)) _categorize_in_game_friends_by_game = value ? this.categorize_in_game_friends_by_game : (bool?)null; } + } + private bool ShouldSerializecategorize_in_game_friends_by_game() { return categorize_in_game_friends_by_gameSpecified; } + private void Resetcategorize_in_game_friends_by_game() { categorize_in_game_friends_by_gameSpecified = false; } + + + private int? _chat_font_size; + [global::ProtoBuf.ProtoMember(20, IsRequired = false, Name=@"chat_font_size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int chat_font_size + { + get { return _chat_font_size?? default(int); } + set { _chat_font_size = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_font_sizeSpecified + { + get { return _chat_font_size != null; } + set { if (value == (_chat_font_size== null)) _chat_font_size = value ? this.chat_font_size : (int?)null; } + } + private bool ShouldSerializechat_font_size() { return chat_font_sizeSpecified; } + private void Resetchat_font_size() { chat_font_sizeSpecified = false; } + + + private bool? _use24hour_clock; + [global::ProtoBuf.ProtoMember(21, IsRequired = false, Name=@"use24hour_clock", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool use24hour_clock + { + get { return _use24hour_clock?? default(bool); } + set { _use24hour_clock = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool use24hour_clockSpecified + { + get { return _use24hour_clock != null; } + set { if (value == (_use24hour_clock== null)) _use24hour_clock = value ? this.use24hour_clock : (bool?)null; } + } + private bool ShouldSerializeuse24hour_clock() { return use24hour_clockSpecified; } + private void Resetuse24hour_clock() { use24hour_clockSpecified = false; } + + + private bool? _do_not_disturb_mode; + [global::ProtoBuf.ProtoMember(22, IsRequired = false, Name=@"do_not_disturb_mode", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool do_not_disturb_mode + { + get { return _do_not_disturb_mode?? default(bool); } + set { _do_not_disturb_mode = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool do_not_disturb_modeSpecified + { + get { return _do_not_disturb_mode != null; } + set { if (value == (_do_not_disturb_mode== null)) _do_not_disturb_mode = value ? this.do_not_disturb_mode : (bool?)null; } + } + private bool ShouldSerializedo_not_disturb_mode() { return do_not_disturb_modeSpecified; } + private void Resetdo_not_disturb_mode() { do_not_disturb_modeSpecified = false; } + + + private bool? _disable_embed_inlining; + [global::ProtoBuf.ProtoMember(23, IsRequired = false, Name=@"disable_embed_inlining", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool disable_embed_inlining + { + get { return _disable_embed_inlining?? default(bool); } + set { _disable_embed_inlining = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool disable_embed_inliningSpecified + { + get { return _disable_embed_inlining != null; } + set { if (value == (_disable_embed_inlining== null)) _disable_embed_inlining = value ? this.disable_embed_inlining : (bool?)null; } + } + private bool ShouldSerializedisable_embed_inlining() { return disable_embed_inliningSpecified; } + private void Resetdisable_embed_inlining() { disable_embed_inliningSpecified = false; } + + + private bool? _sign_into_friends; + [global::ProtoBuf.ProtoMember(24, IsRequired = false, Name=@"sign_into_friends", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool sign_into_friends + { + get { return _sign_into_friends?? default(bool); } + set { _sign_into_friends = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sign_into_friendsSpecified + { + get { return _sign_into_friends != null; } + set { if (value == (_sign_into_friends== null)) _sign_into_friends = value ? this.sign_into_friends : (bool?)null; } + } + private bool ShouldSerializesign_into_friends() { return sign_into_friendsSpecified; } + private void Resetsign_into_friends() { sign_into_friendsSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VoiceSettings")] + public partial class VoiceSettings : global::ProtoBuf.IExtensible + { + public VoiceSettings() {} + + + private float? _voice_input_gain; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"voice_input_gain", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public float voice_input_gain + { + get { return _voice_input_gain?? default(float); } + set { _voice_input_gain = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_input_gainSpecified + { + get { return _voice_input_gain != null; } + set { if (value == (_voice_input_gain== null)) _voice_input_gain = value ? this.voice_input_gain : (float?)null; } + } + private bool ShouldSerializevoice_input_gain() { return voice_input_gainSpecified; } + private void Resetvoice_input_gain() { voice_input_gainSpecified = false; } + + + private float? _voice_output_gain; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"voice_output_gain", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public float voice_output_gain + { + get { return _voice_output_gain?? default(float); } + set { _voice_output_gain = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_output_gainSpecified + { + get { return _voice_output_gain != null; } + set { if (value == (_voice_output_gain== null)) _voice_output_gain = value ? this.voice_output_gain : (float?)null; } + } + private bool ShouldSerializevoice_output_gain() { return voice_output_gainSpecified; } + private void Resetvoice_output_gain() { voice_output_gainSpecified = false; } + + + private int? _noise_gate_level; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"noise_gate_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int noise_gate_level + { + get { return _noise_gate_level?? default(int); } + set { _noise_gate_level = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool noise_gate_levelSpecified + { + get { return _noise_gate_level != null; } + set { if (value == (_noise_gate_level== null)) _noise_gate_level = value ? this.noise_gate_level : (int?)null; } + } + private bool ShouldSerializenoise_gate_level() { return noise_gate_levelSpecified; } + private void Resetnoise_gate_level() { noise_gate_levelSpecified = false; } + + + private bool? _voice_use_echo_cancellation; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"voice_use_echo_cancellation", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool voice_use_echo_cancellation + { + get { return _voice_use_echo_cancellation?? default(bool); } + set { _voice_use_echo_cancellation = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_use_echo_cancellationSpecified + { + get { return _voice_use_echo_cancellation != null; } + set { if (value == (_voice_use_echo_cancellation== null)) _voice_use_echo_cancellation = value ? this.voice_use_echo_cancellation : (bool?)null; } + } + private bool ShouldSerializevoice_use_echo_cancellation() { return voice_use_echo_cancellationSpecified; } + private void Resetvoice_use_echo_cancellation() { voice_use_echo_cancellationSpecified = false; } + + + private bool? _voice_use_noise_cancellation; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"voice_use_noise_cancellation", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool voice_use_noise_cancellation + { + get { return _voice_use_noise_cancellation?? default(bool); } + set { _voice_use_noise_cancellation = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_use_noise_cancellationSpecified + { + get { return _voice_use_noise_cancellation != null; } + set { if (value == (_voice_use_noise_cancellation== null)) _voice_use_noise_cancellation = value ? this.voice_use_noise_cancellation : (bool?)null; } + } + private bool ShouldSerializevoice_use_noise_cancellation() { return voice_use_noise_cancellationSpecified; } + private void Resetvoice_use_noise_cancellation() { voice_use_noise_cancellationSpecified = false; } + + + private bool? _voice_use_auto_gain_control; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"voice_use_auto_gain_control", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool voice_use_auto_gain_control + { + get { return _voice_use_auto_gain_control?? default(bool); } + set { _voice_use_auto_gain_control = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool voice_use_auto_gain_controlSpecified + { + get { return _voice_use_auto_gain_control != null; } + set { if (value == (_voice_use_auto_gain_control== null)) _voice_use_auto_gain_control = value ? this.voice_use_auto_gain_control : (bool?)null; } + } + private bool ShouldSerializevoice_use_auto_gain_control() { return voice_use_auto_gain_controlSpecified; } + private void Resetvoice_use_auto_gain_control() { voice_use_auto_gain_controlSpecified = false; } + + + private bool? _selected_non_default_mic; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"selected_non_default_mic", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool selected_non_default_mic + { + get { return _selected_non_default_mic?? default(bool); } + set { _selected_non_default_mic = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool selected_non_default_micSpecified + { + get { return _selected_non_default_mic != null; } + set { if (value == (_selected_non_default_mic== null)) _selected_non_default_mic = value ? this.selected_non_default_mic : (bool?)null; } + } + private bool ShouldSerializeselected_non_default_mic() { return selected_non_default_micSpecified; } + private void Resetselected_non_default_mic() { selected_non_default_micSpecified = false; } + + + private bool? _selected_non_default_output; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"selected_non_default_output", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool selected_non_default_output + { + get { return _selected_non_default_output?? default(bool); } + set { _selected_non_default_output = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool selected_non_default_outputSpecified + { + get { return _selected_non_default_output != null; } + set { if (value == (_selected_non_default_output== null)) _selected_non_default_output = value ? this.selected_non_default_output : (bool?)null; } + } + private bool ShouldSerializeselected_non_default_output() { return selected_non_default_outputSpecified; } + private void Resetselected_non_default_output() { selected_non_default_outputSpecified = false; } + + + private bool? _push_to_talk_enabled; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"push_to_talk_enabled", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool push_to_talk_enabled + { + get { return _push_to_talk_enabled?? default(bool); } + set { _push_to_talk_enabled = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool push_to_talk_enabledSpecified + { + get { return _push_to_talk_enabled != null; } + set { if (value == (_push_to_talk_enabled== null)) _push_to_talk_enabled = value ? this.push_to_talk_enabled : (bool?)null; } + } + private bool ShouldSerializepush_to_talk_enabled() { return push_to_talk_enabledSpecified; } + private void Resetpush_to_talk_enabled() { push_to_talk_enabledSpecified = false; } + + + private bool? _push_to_mute_enabled; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"push_to_mute_enabled", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool push_to_mute_enabled + { + get { return _push_to_mute_enabled?? default(bool); } + set { _push_to_mute_enabled = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool push_to_mute_enabledSpecified + { + get { return _push_to_mute_enabled != null; } + set { if (value == (_push_to_mute_enabled== null)) _push_to_mute_enabled = value ? this.push_to_mute_enabled : (bool?)null; } + } + private bool ShouldSerializepush_to_mute_enabled() { return push_to_mute_enabledSpecified; } + private void Resetpush_to_mute_enabled() { push_to_mute_enabledSpecified = false; } + + + private bool? _play_ptt_sounds; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"play_ptt_sounds", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool play_ptt_sounds + { + get { return _play_ptt_sounds?? default(bool); } + set { _play_ptt_sounds = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool play_ptt_soundsSpecified + { + get { return _play_ptt_sounds != null; } + set { if (value == (_play_ptt_sounds== null)) _play_ptt_sounds = value ? this.play_ptt_sounds : (bool?)null; } + } + private bool ShouldSerializeplay_ptt_sounds() { return play_ptt_soundsSpecified; } + private void Resetplay_ptt_sounds() { play_ptt_soundsSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UIState")] + public partial class UIState : global::ProtoBuf.IExtensible + { + public UIState() {} + + + private int? _friends_list_height; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"friends_list_height", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_list_height + { + get { return _friends_list_height?? default(int); } + set { _friends_list_height = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_list_heightSpecified + { + get { return _friends_list_height != null; } + set { if (value == (_friends_list_height== null)) _friends_list_height = value ? this.friends_list_height : (int?)null; } + } + private bool ShouldSerializefriends_list_height() { return friends_list_heightSpecified; } + private void Resetfriends_list_height() { friends_list_heightSpecified = false; } + + + private int? _friends_list_width; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"friends_list_width", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_list_width + { + get { return _friends_list_width?? default(int); } + set { _friends_list_width = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_list_widthSpecified + { + get { return _friends_list_width != null; } + set { if (value == (_friends_list_width== null)) _friends_list_width = value ? this.friends_list_width : (int?)null; } + } + private bool ShouldSerializefriends_list_width() { return friends_list_widthSpecified; } + private void Resetfriends_list_width() { friends_list_widthSpecified = false; } + + + private bool? _friends_list_docked; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"friends_list_docked", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool friends_list_docked + { + get { return _friends_list_docked?? default(bool); } + set { _friends_list_docked = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_list_dockedSpecified + { + get { return _friends_list_docked != null; } + set { if (value == (_friends_list_docked== null)) _friends_list_docked = value ? this.friends_list_docked : (bool?)null; } + } + private bool ShouldSerializefriends_list_docked() { return friends_list_dockedSpecified; } + private void Resetfriends_list_docked() { friends_list_dockedSpecified = false; } + + + private bool? _friends_list_collapsed; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"friends_list_collapsed", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool friends_list_collapsed + { + get { return _friends_list_collapsed?? default(bool); } + set { _friends_list_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_list_collapsedSpecified + { + get { return _friends_list_collapsed != null; } + set { if (value == (_friends_list_collapsed== null)) _friends_list_collapsed = value ? this.friends_list_collapsed : (bool?)null; } + } + private bool ShouldSerializefriends_list_collapsed() { return friends_list_collapsedSpecified; } + private void Resetfriends_list_collapsed() { friends_list_collapsedSpecified = false; } + + + private int? _friends_list_group_chats_height; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"friends_list_group_chats_height", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_list_group_chats_height + { + get { return _friends_list_group_chats_height?? default(int); } + set { _friends_list_group_chats_height = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_list_group_chats_heightSpecified + { + get { return _friends_list_group_chats_height != null; } + set { if (value == (_friends_list_group_chats_height== null)) _friends_list_group_chats_height = value ? this.friends_list_group_chats_height : (int?)null; } + } + private bool ShouldSerializefriends_list_group_chats_height() { return friends_list_group_chats_heightSpecified; } + private void Resetfriends_list_group_chats_height() { friends_list_group_chats_heightSpecified = false; } + + + private bool? _friends_list_visible; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"friends_list_visible", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool friends_list_visible + { + get { return _friends_list_visible?? default(bool); } + set { _friends_list_visible = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_list_visibleSpecified + { + get { return _friends_list_visible != null; } + set { if (value == (_friends_list_visible== null)) _friends_list_visible = value ? this.friends_list_visible : (bool?)null; } + } + private bool ShouldSerializefriends_list_visible() { return friends_list_visibleSpecified; } + private void Resetfriends_list_visible() { friends_list_visibleSpecified = false; } + + + private int? _chat_popups_opened; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"chat_popups_opened", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int chat_popups_opened + { + get { return _chat_popups_opened?? default(int); } + set { _chat_popups_opened = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_popups_openedSpecified + { + get { return _chat_popups_opened != null; } + set { if (value == (_chat_popups_opened== null)) _chat_popups_opened = value ? this.chat_popups_opened : (int?)null; } + } + private bool ShouldSerializechat_popups_opened() { return chat_popups_openedSpecified; } + private void Resetchat_popups_opened() { chat_popups_openedSpecified = false; } + + + private int? _group_chat_tabs_opened; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"group_chat_tabs_opened", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int group_chat_tabs_opened + { + get { return _group_chat_tabs_opened?? default(int); } + set { _group_chat_tabs_opened = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool group_chat_tabs_openedSpecified + { + get { return _group_chat_tabs_opened != null; } + set { if (value == (_group_chat_tabs_opened== null)) _group_chat_tabs_opened = value ? this.group_chat_tabs_opened : (int?)null; } + } + private bool ShouldSerializegroup_chat_tabs_opened() { return group_chat_tabs_openedSpecified; } + private void Resetgroup_chat_tabs_opened() { group_chat_tabs_openedSpecified = false; } + + + private int? _friend_chat_tabs_opened; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"friend_chat_tabs_opened", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friend_chat_tabs_opened + { + get { return _friend_chat_tabs_opened?? default(int); } + set { _friend_chat_tabs_opened = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friend_chat_tabs_openedSpecified + { + get { return _friend_chat_tabs_opened != null; } + set { if (value == (_friend_chat_tabs_opened== null)) _friend_chat_tabs_opened = value ? this.friend_chat_tabs_opened : (int?)null; } + } + private bool ShouldSerializefriend_chat_tabs_opened() { return friend_chat_tabs_openedSpecified; } + private void Resetfriend_chat_tabs_opened() { friend_chat_tabs_openedSpecified = false; } + + + private int? _chat_window_width; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"chat_window_width", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int chat_window_width + { + get { return _chat_window_width?? default(int); } + set { _chat_window_width = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_window_widthSpecified + { + get { return _chat_window_width != null; } + set { if (value == (_chat_window_width== null)) _chat_window_width = value ? this.chat_window_width : (int?)null; } + } + private bool ShouldSerializechat_window_width() { return chat_window_widthSpecified; } + private void Resetchat_window_width() { chat_window_widthSpecified = false; } + + + private int? _chat_window_height; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"chat_window_height", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int chat_window_height + { + get { return _chat_window_height?? default(int); } + set { _chat_window_height = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool chat_window_heightSpecified + { + get { return _chat_window_height != null; } + set { if (value == (_chat_window_height== null)) _chat_window_height = value ? this.chat_window_height : (int?)null; } + } + private bool ShouldSerializechat_window_height() { return chat_window_heightSpecified; } + private void Resetchat_window_height() { chat_window_heightSpecified = false; } + + + private CChatUsability_ClientUsabilityMetrics_Notification.UIState.CategoryCollapseState _category_collapse = null; + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"category_collapse", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(null)] + public CChatUsability_ClientUsabilityMetrics_Notification.UIState.CategoryCollapseState category_collapse + { + get { return _category_collapse; } + set { _category_collapse = value; } + } + + private int? _group_chat_left_col_collapsed; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"group_chat_left_col_collapsed", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int group_chat_left_col_collapsed + { + get { return _group_chat_left_col_collapsed?? default(int); } + set { _group_chat_left_col_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool group_chat_left_col_collapsedSpecified + { + get { return _group_chat_left_col_collapsed != null; } + set { if (value == (_group_chat_left_col_collapsed== null)) _group_chat_left_col_collapsed = value ? this.group_chat_left_col_collapsed : (int?)null; } + } + private bool ShouldSerializegroup_chat_left_col_collapsed() { return group_chat_left_col_collapsedSpecified; } + private void Resetgroup_chat_left_col_collapsed() { group_chat_left_col_collapsedSpecified = false; } + + + private int? _group_chat_right_col_collapsed; + [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"group_chat_right_col_collapsed", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int group_chat_right_col_collapsed + { + get { return _group_chat_right_col_collapsed?? default(int); } + set { _group_chat_right_col_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool group_chat_right_col_collapsedSpecified + { + get { return _group_chat_right_col_collapsed != null; } + set { if (value == (_group_chat_right_col_collapsed== null)) _group_chat_right_col_collapsed = value ? this.group_chat_right_col_collapsed : (int?)null; } + } + private bool ShouldSerializegroup_chat_right_col_collapsed() { return group_chat_right_col_collapsedSpecified; } + private void Resetgroup_chat_right_col_collapsed() { group_chat_right_col_collapsedSpecified = false; } + + + private bool? _in_one_on_one_voice_chat; + [global::ProtoBuf.ProtoMember(15, IsRequired = false, Name=@"in_one_on_one_voice_chat", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool in_one_on_one_voice_chat + { + get { return _in_one_on_one_voice_chat?? default(bool); } + set { _in_one_on_one_voice_chat = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool in_one_on_one_voice_chatSpecified + { + get { return _in_one_on_one_voice_chat != null; } + set { if (value == (_in_one_on_one_voice_chat== null)) _in_one_on_one_voice_chat = value ? this.in_one_on_one_voice_chat : (bool?)null; } + } + private bool ShouldSerializein_one_on_one_voice_chat() { return in_one_on_one_voice_chatSpecified; } + private void Resetin_one_on_one_voice_chat() { in_one_on_one_voice_chatSpecified = false; } + + + private bool? _in_group_voice_chat; + [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"in_group_voice_chat", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool in_group_voice_chat + { + get { return _in_group_voice_chat?? default(bool); } + set { _in_group_voice_chat = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool in_group_voice_chatSpecified + { + get { return _in_group_voice_chat != null; } + set { if (value == (_in_group_voice_chat== null)) _in_group_voice_chat = value ? this.in_group_voice_chat : (bool?)null; } + } + private bool ShouldSerializein_group_voice_chat() { return in_group_voice_chatSpecified; } + private void Resetin_group_voice_chat() { in_group_voice_chatSpecified = false; } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CategoryCollapseState")] + public partial class CategoryCollapseState : global::ProtoBuf.IExtensible + { + public CategoryCollapseState() {} + + + private bool? _in_game_collapsed; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"in_game_collapsed", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool in_game_collapsed + { + get { return _in_game_collapsed?? default(bool); } + set { _in_game_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool in_game_collapsedSpecified + { + get { return _in_game_collapsed != null; } + set { if (value == (_in_game_collapsed== null)) _in_game_collapsed = value ? this.in_game_collapsed : (bool?)null; } + } + private bool ShouldSerializein_game_collapsed() { return in_game_collapsedSpecified; } + private void Resetin_game_collapsed() { in_game_collapsedSpecified = false; } + + + private bool? _online_collapsed; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"online_collapsed", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool online_collapsed + { + get { return _online_collapsed?? default(bool); } + set { _online_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool online_collapsedSpecified + { + get { return _online_collapsed != null; } + set { if (value == (_online_collapsed== null)) _online_collapsed = value ? this.online_collapsed : (bool?)null; } + } + private bool ShouldSerializeonline_collapsed() { return online_collapsedSpecified; } + private void Resetonline_collapsed() { online_collapsedSpecified = false; } + + + private bool? _offline_collapsed; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"offline_collapsed", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool offline_collapsed + { + get { return _offline_collapsed?? default(bool); } + set { _offline_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool offline_collapsedSpecified + { + get { return _offline_collapsed != null; } + set { if (value == (_offline_collapsed== null)) _offline_collapsed = value ? this.offline_collapsed : (bool?)null; } + } + private bool ShouldSerializeoffline_collapsed() { return offline_collapsedSpecified; } + private void Resetoffline_collapsed() { offline_collapsedSpecified = false; } + + + private int? _game_groups_collapsed; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"game_groups_collapsed", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int game_groups_collapsed + { + get { return _game_groups_collapsed?? default(int); } + set { _game_groups_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool game_groups_collapsedSpecified + { + get { return _game_groups_collapsed != null; } + set { if (value == (_game_groups_collapsed== null)) _game_groups_collapsed = value ? this.game_groups_collapsed : (int?)null; } + } + private bool ShouldSerializegame_groups_collapsed() { return game_groups_collapsedSpecified; } + private void Resetgame_groups_collapsed() { game_groups_collapsedSpecified = false; } + + + private int? _categories_collapsed; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"categories_collapsed", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int categories_collapsed + { + get { return _categories_collapsed?? default(int); } + set { _categories_collapsed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool categories_collapsedSpecified + { + get { return _categories_collapsed != null; } + set { if (value == (_categories_collapsed== null)) _categories_collapsed = value ? this.categories_collapsed : (int?)null; } + } + private bool ShouldSerializecategories_collapsed() { return categories_collapsedSpecified; } + private void Resetcategories_collapsed() { categories_collapsedSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Metrics")] + public partial class Metrics : global::ProtoBuf.IExtensible + { + public Metrics() {} + + + private int? _friends_count; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"friends_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_count + { + get { return _friends_count?? default(int); } + set { _friends_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_countSpecified + { + get { return _friends_count != null; } + set { if (value == (_friends_count== null)) _friends_count = value ? this.friends_count : (int?)null; } + } + private bool ShouldSerializefriends_count() { return friends_countSpecified; } + private void Resetfriends_count() { friends_countSpecified = false; } + + + private int? _friends_category_count; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"friends_category_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_category_count + { + get { return _friends_category_count?? default(int); } + set { _friends_category_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_category_countSpecified + { + get { return _friends_category_count != null; } + set { if (value == (_friends_category_count== null)) _friends_category_count = value ? this.friends_category_count : (int?)null; } + } + private bool ShouldSerializefriends_category_count() { return friends_category_countSpecified; } + private void Resetfriends_category_count() { friends_category_countSpecified = false; } + + + private int? _friends_categorized_count; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"friends_categorized_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_categorized_count + { + get { return _friends_categorized_count?? default(int); } + set { _friends_categorized_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_categorized_countSpecified + { + get { return _friends_categorized_count != null; } + set { if (value == (_friends_categorized_count== null)) _friends_categorized_count = value ? this.friends_categorized_count : (int?)null; } + } + private bool ShouldSerializefriends_categorized_count() { return friends_categorized_countSpecified; } + private void Resetfriends_categorized_count() { friends_categorized_countSpecified = false; } + + + private int? _friends_online_count; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"friends_online_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_online_count + { + get { return _friends_online_count?? default(int); } + set { _friends_online_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_online_countSpecified + { + get { return _friends_online_count != null; } + set { if (value == (_friends_online_count== null)) _friends_online_count = value ? this.friends_online_count : (int?)null; } + } + private bool ShouldSerializefriends_online_count() { return friends_online_countSpecified; } + private void Resetfriends_online_count() { friends_online_countSpecified = false; } + + + private int? _friends_in_game_count; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"friends_in_game_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_in_game_count + { + get { return _friends_in_game_count?? default(int); } + set { _friends_in_game_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_in_game_countSpecified + { + get { return _friends_in_game_count != null; } + set { if (value == (_friends_in_game_count== null)) _friends_in_game_count = value ? this.friends_in_game_count : (int?)null; } + } + private bool ShouldSerializefriends_in_game_count() { return friends_in_game_countSpecified; } + private void Resetfriends_in_game_count() { friends_in_game_countSpecified = false; } + + + private int? _friends_in_game_singleton_count; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"friends_in_game_singleton_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_in_game_singleton_count + { + get { return _friends_in_game_singleton_count?? default(int); } + set { _friends_in_game_singleton_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_in_game_singleton_countSpecified + { + get { return _friends_in_game_singleton_count != null; } + set { if (value == (_friends_in_game_singleton_count== null)) _friends_in_game_singleton_count = value ? this.friends_in_game_singleton_count : (int?)null; } + } + private bool ShouldSerializefriends_in_game_singleton_count() { return friends_in_game_singleton_countSpecified; } + private void Resetfriends_in_game_singleton_count() { friends_in_game_singleton_countSpecified = false; } + + + private int? _game_group_count; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"game_group_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int game_group_count + { + get { return _game_group_count?? default(int); } + set { _game_group_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool game_group_countSpecified + { + get { return _game_group_count != null; } + set { if (value == (_game_group_count== null)) _game_group_count = value ? this.game_group_count : (int?)null; } + } + private bool ShouldSerializegame_group_count() { return game_group_countSpecified; } + private void Resetgame_group_count() { game_group_countSpecified = false; } + + + private int? _friends_favorite_count; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"friends_favorite_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int friends_favorite_count + { + get { return _friends_favorite_count?? default(int); } + set { _friends_favorite_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool friends_favorite_countSpecified + { + get { return _friends_favorite_count != null; } + set { if (value == (_friends_favorite_count== null)) _friends_favorite_count = value ? this.friends_favorite_count : (int?)null; } + } + private bool ShouldSerializefriends_favorite_count() { return friends_favorite_countSpecified; } + private void Resetfriends_favorite_count() { friends_favorite_countSpecified = false; } + + + private int? _group_chat_count; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"group_chat_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int group_chat_count + { + get { return _group_chat_count?? default(int); } + set { _group_chat_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool group_chat_countSpecified + { + get { return _group_chat_count != null; } + set { if (value == (_group_chat_count== null)) _group_chat_count = value ? this.group_chat_count : (int?)null; } + } + private bool ShouldSerializegroup_chat_count() { return group_chat_countSpecified; } + private void Resetgroup_chat_count() { group_chat_countSpecified = false; } + + + private int? _group_chat_favorite_count; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"group_chat_favorite_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int group_chat_favorite_count + { + get { return _group_chat_favorite_count?? default(int); } + set { _group_chat_favorite_count = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool group_chat_favorite_countSpecified + { + get { return _group_chat_favorite_count != null; } + set { if (value == (_group_chat_favorite_count== null)) _group_chat_favorite_count = value ? this.group_chat_favorite_count : (int?)null; } + } + private bool ShouldSerializegroup_chat_favorite_count() { return group_chat_favorite_countSpecified; } + private void Resetgroup_chat_favorite_count() { group_chat_favorite_countSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CChatUsability_RequestClientUsabilityMetrics_Notification")] + public partial class CChatUsability_RequestClientUsabilityMetrics_Notification : global::ProtoBuf.IExtensible + { + public CChatUsability_RequestClientUsabilityMetrics_Notification() {} + + + private uint? _metrics_run_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"metrics_run_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint metrics_run_id + { + get { return _metrics_run_id?? default(uint); } + set { _metrics_run_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool metrics_run_idSpecified + { + get { return _metrics_run_id != null; } + set { if (value == (_metrics_run_id== null)) _metrics_run_id = value ? this.metrics_run_id : (uint?)null; } + } + private bool ShouldSerializemetrics_run_id() { return metrics_run_idSpecified; } + private void Resetmetrics_run_id() { metrics_run_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::ProtoBuf.ProtoContract(Name=@"EChatRoomJoinState", EnumPassthru=true)] + public enum EChatRoomJoinState + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomJoinState_Default", Value=0)] + k_EChatRoomJoinState_Default = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomJoinState_None", Value=1)] + k_EChatRoomJoinState_None = 1, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomJoinState_Joined", Value=2)] + k_EChatRoomJoinState_Joined = 2, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomJoinState_TestInvalid", Value=99)] + k_EChatRoomJoinState_TestInvalid = 99 + } + + [global::ProtoBuf.ProtoContract(Name=@"EChatRoomGroupRank", EnumPassthru=true)] + public enum EChatRoomGroupRank + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Default", Value=0)] + k_EChatRoomGroupRank_Default = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Viewer", Value=10)] + k_EChatRoomGroupRank_Viewer = 10, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Guest", Value=15)] + k_EChatRoomGroupRank_Guest = 15, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Member", Value=20)] + k_EChatRoomGroupRank_Member = 20, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Moderator", Value=30)] + k_EChatRoomGroupRank_Moderator = 30, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Officer", Value=40)] + k_EChatRoomGroupRank_Officer = 40, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_Owner", Value=50)] + k_EChatRoomGroupRank_Owner = 50, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomGroupRank_TestInvalid", Value=99)] + k_EChatRoomGroupRank_TestInvalid = 99 + } + + [global::ProtoBuf.ProtoContract(Name=@"EChatRoomNotificationLevel", EnumPassthru=true)] + public enum EChatRoomNotificationLevel + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatroomNotificationLevel_Invalid", Value=0)] + k_EChatroomNotificationLevel_Invalid = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatroomNotificationLevel_None", Value=1)] + k_EChatroomNotificationLevel_None = 1, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatroomNotificationLevel_MentionMe", Value=2)] + k_EChatroomNotificationLevel_MentionMe = 2, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatroomNotificationLevel_MentionAll", Value=3)] + k_EChatroomNotificationLevel_MentionAll = 3, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatroomNotificationLevel_AllMessages", Value=4)] + k_EChatroomNotificationLevel_AllMessages = 4 + } + + [global::ProtoBuf.ProtoContract(Name=@"EChatRoomServerMessage", EnumPassthru=true)] + public enum EChatRoomServerMessage + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_Invalid", Value=0)] + k_EChatRoomServerMsg_Invalid = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_RenameChatRoom", Value=1)] + k_EChatRoomServerMsg_RenameChatRoom = 1, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_Joined", Value=2)] + k_EChatRoomServerMsg_Joined = 2, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_Parted", Value=3)] + k_EChatRoomServerMsg_Parted = 3, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_Kicked", Value=4)] + k_EChatRoomServerMsg_Kicked = 4, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_Invited", Value=5)] + k_EChatRoomServerMsg_Invited = 5, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_InviteDismissed", Value=8)] + k_EChatRoomServerMsg_InviteDismissed = 8, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_ChatRoomTaglineChanged", Value=9)] + k_EChatRoomServerMsg_ChatRoomTaglineChanged = 9, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_ChatRoomAvatarChanged", Value=10)] + k_EChatRoomServerMsg_ChatRoomAvatarChanged = 10, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomServerMsg_AppCustom", Value=11)] + k_EChatRoomServerMsg_AppCustom = 11 + } + + [global::ProtoBuf.ProtoContract(Name=@"EChatRoomMemberStateChange", EnumPassthru=true)] + public enum EChatRoomMemberStateChange + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Invalid", Value=0)] + k_EChatRoomMemberStateChange_Invalid = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Joined", Value=1)] + k_EChatRoomMemberStateChange_Joined = 1, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Parted", Value=2)] + k_EChatRoomMemberStateChange_Parted = 2, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Kicked", Value=3)] + k_EChatRoomMemberStateChange_Kicked = 3, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Invited", Value=4)] + k_EChatRoomMemberStateChange_Invited = 4, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_RankChanged", Value=7)] + k_EChatRoomMemberStateChange_RankChanged = 7, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_InviteDismissed", Value=8)] + k_EChatRoomMemberStateChange_InviteDismissed = 8, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Muted", Value=9)] + k_EChatRoomMemberStateChange_Muted = 9, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_Banned", Value=10)] + k_EChatRoomMemberStateChange_Banned = 10, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EChatRoomMemberStateChange_RolesChanged", Value=12)] + k_EChatRoomMemberStateChange_RolesChanged = 12 + } + + public interface IChat + { + CChat_RequestFriendPersonaStates_Response RequestFriendPersonaStates(CChat_RequestFriendPersonaStates_Request request); + + } + + + public interface IChatRoom + { + CChatRoom_CreateChatRoomGroup_Response CreateChatRoomGroup(CChatRoom_CreateChatRoomGroup_Request request); + CChatRoom_SaveChatRoomGroup_Response SaveChatRoomGroup(CChatRoom_SaveChatRoomGroup_Request request); + CChatRoom_RenameChatRoomGroup_Response RenameChatRoomGroup(CChatRoom_RenameChatRoomGroup_Request request); + CChatRoom_SetChatRoomGroupTagline_Response SetChatRoomGroupTagline(CChatRoom_SetChatRoomGroupTagline_Request request); + CChatRoom_SetChatRoomGroupAvatar_Response SetChatRoomGroupAvatar(CChatRoom_SetChatRoomGroupAvatar_Request request); + CChatRoom_SetChatRoomGroupWatchingBroadcast_Response SetChatRoomGroupWatchingBroadcast(CChatRoom_SetChatRoomGroupWatchingBroadcast_Request request); + CChatRoom_MuteUser_Response MuteUserInGroup(CChatRoom_MuteUser_Request request); + CChatRoom_KickUser_Response KickUserFromGroup(CChatRoom_KickUser_Request request); + CChatRoom_SetUserBanState_Response SetUserBanState(CChatRoom_SetUserBanState_Request request); + CChatRoom_RevokeInvite_Response RevokeInviteToGroup(CChatRoom_RevokeInvite_Request request); + CChatRoom_CreateRole_Response CreateRole(CChatRoom_CreateRole_Request request); + CChatRoom_GetRoles_Response GetRoles(CChatRoom_GetRoles_Request request); + CChatRoom_RenameRole_Response RenameRole(CChatRoom_RenameRole_Request request); + CChatRoom_ReorderRole_Response ReorderRole(CChatRoom_ReorderRole_Request request); + CChatRoom_DeleteRole_Response DeleteRole(CChatRoom_DeleteRole_Request request); + CChatRoom_GetRoleActions_Response GetRoleActions(CChatRoom_GetRoleActions_Request request); + CChatRoom_ReplaceRoleActions_Response ReplaceRoleActions(CChatRoom_ReplaceRoleActions_Request request); + CChatRoom_AddRoleToUser_Response AddRoleToUser(CChatRoom_AddRoleToUser_Request request); + CChatRoom_GetRolesForUser_Response GetRolesForUser(CChatRoom_GetRolesForUser_Request request); + CChatRoom_DeleteRoleFromUser_Response DeleteRoleFromUser(CChatRoom_DeleteRoleFromUser_Request request); + CChatRoom_JoinChatRoomGroup_Response JoinChatRoomGroup(CChatRoom_JoinChatRoomGroup_Request request); + CChatRoom_InviteFriendToChatRoomGroup_Response InviteFriendToChatRoomGroup(CChatRoom_InviteFriendToChatRoomGroup_Request request); + CChatRoom_LeaveChatRoomGroup_Response LeaveChatRoomGroup(CChatRoom_LeaveChatRoomGroup_Request request); + CChatRoom_CreateChatRoom_Response CreateChatRoom(CChatRoom_CreateChatRoom_Request request); + CChatRoom_DeleteChatRoom_Response DeleteChatRoom(CChatRoom_DeleteChatRoom_Request request); + CChatRoom_RenameChatRoom_Response RenameChatRoom(CChatRoom_RenameChatRoom_Request request); + CChatRoom_ReorderChatRoom_Response ReorderChatRoom(CChatRoom_ReorderChatRoom_Request request); + CChatRoom_SendChatMessage_Response SendChatMessage(CChatRoom_SendChatMessage_Request request); + CChatRoom_JoinVoiceChat_Response JoinVoiceChat(CChatRoom_JoinVoiceChat_Request request); + CChatRoom_LeaveVoiceChat_Response LeaveVoiceChat(CChatRoom_LeaveVoiceChat_Request request); + CChatRoom_GetMessageHistory_Response GetMessageHistory(CChatRoom_GetMessageHistory_Request request); + CChatRoom_GetMyChatRoomGroups_Response GetMyChatRoomGroups(CChatRoom_GetMyChatRoomGroups_Request request); + CChatRoom_GetChatRoomGroupState_Response GetChatRoomGroupState(CChatRoom_GetChatRoomGroupState_Request request); + CChatRoom_GetChatRoomGroupSummary_Response GetChatRoomGroupSummary(CChatRoom_GetChatRoomGroupSummary_Request request); + NoResponse AckChatMessage(CChatRoom_AckChatMessage_Notification request); + CChatRoom_CreateInviteLink_Response CreateInviteLink(CChatRoom_CreateInviteLink_Request request); + CChatRoom_GetInviteLinkInfo_Response GetInviteLinkInfo(CChatRoom_GetInviteLinkInfo_Request request); + CChatRoom_GetInviteInfo_Response GetInviteInfo(CChatRoom_GetInviteInfo_Request request); + CChatRoom_GetInviteLinksForGroup_Response GetInviteLinksForGroup(CChatRoom_GetInviteLinksForGroup_Request request); + CChatRoom_GetBanList_Response GetBanList(CChatRoom_GetBanList_Request request); + CChatRoom_GetInviteList_Response GetInviteList(CChatRoom_GetInviteList_Request request); + CChatRoom_DeleteInviteLink_Response DeleteInviteLink(CChatRoom_DeleteInviteLink_Request request); + CChatRoom_SetSessionActiveChatRoomGroups_Response SetSessionActiveChatRoomGroups(CChatRoom_SetSessionActiveChatRoomGroups_Request request); + CChatRoom_SetUserChatGroupPreferences_Response SetUserChatGroupPreferences(CChatRoom_SetUserChatGroupPreferences_Request request); + CChatRoom_DeleteChatMessages_Response DeleteChatMessages(CChatRoom_DeleteChatMessages_Request request); + + } + + + public interface IClanChatRooms + { + CClanChatRooms_GetClanChatRoomInfo_Response GetClanChatRoomInfo(CClanChatRooms_GetClanChatRoomInfo_Request request); + CClanChatRooms_SetClanChatRoomPrivate_Response SetClanChatRoomPrivate(CClanChatRooms_SetClanChatRoomPrivate_Request request); + + } + + + public interface IChatRoomClient + { + NoResponse NotifyIncomingChatMessage(CChatRoom_IncomingChatMessage_Notification request); + NoResponse NotifyChatMessageModified(CChatRoom_ChatMessageModified_Notification request); + NoResponse NotifyMemberStateChange(CChatRoom_MemberStateChange_Notification request); + NoResponse NotifyChatRoomHeaderStateChange(CChatRoom_ChatRoomHeaderState_Notification request); + NoResponse NotifyChatRoomGroupRoomsChange(CChatRoom_ChatRoomGroupRoomsChange_Notification request); + NoResponse NotifyShouldRejoinChatRoomVoiceChat(CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification request); + NoResponse NotifyChatGroupUserStateChanged(ChatRoomClient_NotifyChatGroupUserStateChanged_Notification request); + NoResponse NotifyAckChatMessageEcho(CChatRoom_AckChatMessage_Notification request); + + } + + + public interface IChatUsability + { + NoResponse NotifyClientUsabilityMetrics(CChatUsability_ClientUsabilityMetrics_Notification request); + + } + + + public interface IChatUsabilityClient + { + NoResponse NotifyRequestClientUsabilityMetrics(CChatUsability_RequestClientUsabilityMetrics_Notification request); + + } + + +} +#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs new file mode 100644 index 000000000..1d8ceedd3 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs @@ -0,0 +1,225 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_market.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CEconMarket_IsMarketplaceAllowed_Request")] + public partial class CEconMarket_IsMarketplaceAllowed_Request : global::ProtoBuf.IExtensible + { + public CEconMarket_IsMarketplaceAllowed_Request() {} + + + private string _webcookie; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"webcookie", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string webcookie + { + get { return _webcookie?? ""; } + set { _webcookie = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool webcookieSpecified + { + get { return _webcookie != null; } + set { if (value == (_webcookie== null)) _webcookie = value ? this.webcookie : (string)null; } + } + private bool ShouldSerializewebcookie() { return webcookieSpecified; } + private void Resetwebcookie() { webcookieSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CEconMarket_IsMarketplaceAllowed_Response")] + public partial class CEconMarket_IsMarketplaceAllowed_Response : global::ProtoBuf.IExtensible + { + public CEconMarket_IsMarketplaceAllowed_Response() {} + + + private bool? _allowed; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"allowed", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool allowed + { + get { return _allowed?? default(bool); } + set { _allowed = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool allowedSpecified + { + get { return _allowed != null; } + set { if (value == (_allowed== null)) _allowed = value ? this.allowed : (bool?)null; } + } + private bool ShouldSerializeallowed() { return allowedSpecified; } + private void Resetallowed() { allowedSpecified = false; } + + + private uint? _reason; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"reason", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint reason + { + get { return _reason?? default(uint); } + set { _reason = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool reasonSpecified + { + get { return _reason != null; } + set { if (value == (_reason== null)) _reason = value ? this.reason : (uint?)null; } + } + private bool ShouldSerializereason() { return reasonSpecified; } + private void Resetreason() { reasonSpecified = false; } + + + private uint? _allowed_at_time; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"allowed_at_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint allowed_at_time + { + get { return _allowed_at_time?? default(uint); } + set { _allowed_at_time = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool allowed_at_timeSpecified + { + get { return _allowed_at_time != null; } + set { if (value == (_allowed_at_time== null)) _allowed_at_time = value ? this.allowed_at_time : (uint?)null; } + } + private bool ShouldSerializeallowed_at_time() { return allowed_at_timeSpecified; } + private void Resetallowed_at_time() { allowed_at_timeSpecified = false; } + + + private uint? _steamguard_required_days; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"steamguard_required_days", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint steamguard_required_days + { + get { return _steamguard_required_days?? default(uint); } + set { _steamguard_required_days = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamguard_required_daysSpecified + { + get { return _steamguard_required_days != null; } + set { if (value == (_steamguard_required_days== null)) _steamguard_required_days = value ? this.steamguard_required_days : (uint?)null; } + } + private bool ShouldSerializesteamguard_required_days() { return steamguard_required_daysSpecified; } + private void Resetsteamguard_required_days() { steamguard_required_daysSpecified = false; } + + + private int? _sales_this_year; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"sales_this_year", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int sales_this_year + { + get { return _sales_this_year?? default(int); } + set { _sales_this_year = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool sales_this_yearSpecified + { + get { return _sales_this_year != null; } + set { if (value == (_sales_this_year== null)) _sales_this_year = value ? this.sales_this_year : (int?)null; } + } + private bool ShouldSerializesales_this_year() { return sales_this_yearSpecified; } + private void Resetsales_this_year() { sales_this_yearSpecified = false; } + + + private int? _max_sales_per_year; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"max_sales_per_year", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public int max_sales_per_year + { + get { return _max_sales_per_year?? default(int); } + set { _max_sales_per_year = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool max_sales_per_yearSpecified + { + get { return _max_sales_per_year != null; } + set { if (value == (_max_sales_per_year== null)) _max_sales_per_year = value ? this.max_sales_per_year : (int?)null; } + } + private bool ShouldSerializemax_sales_per_year() { return max_sales_per_yearSpecified; } + private void Resetmax_sales_per_year() { max_sales_per_yearSpecified = false; } + + + private bool? _forms_requested; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"forms_requested", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool forms_requested + { + get { return _forms_requested?? default(bool); } + set { _forms_requested = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool forms_requestedSpecified + { + get { return _forms_requested != null; } + set { if (value == (_forms_requested== null)) _forms_requested = value ? this.forms_requested : (bool?)null; } + } + private bool ShouldSerializeforms_requested() { return forms_requestedSpecified; } + private void Resetforms_requested() { forms_requestedSpecified = false; } + + + private bool? _forms_require_verification; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"forms_require_verification", DataFormat = global::ProtoBuf.DataFormat.Default)] + public bool forms_require_verification + { + get { return _forms_require_verification?? default(bool); } + set { _forms_require_verification = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool forms_require_verificationSpecified + { + get { return _forms_require_verification != null; } + set { if (value == (_forms_require_verification== null)) _forms_require_verification = value ? this.forms_require_verification : (bool?)null; } + } + private bool ShouldSerializeforms_require_verification() { return forms_require_verificationSpecified; } + private void Resetforms_require_verification() { forms_require_verificationSpecified = false; } + + + private uint? _new_device_cooldown_days; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"new_device_cooldown_days", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint new_device_cooldown_days + { + get { return _new_device_cooldown_days?? default(uint); } + set { _new_device_cooldown_days = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool new_device_cooldown_daysSpecified + { + get { return _new_device_cooldown_days != null; } + set { if (value == (_new_device_cooldown_days== null)) _new_device_cooldown_days = value ? this.new_device_cooldown_days : (uint?)null; } + } + private bool ShouldSerializenew_device_cooldown_days() { return new_device_cooldown_daysSpecified; } + private void Resetnew_device_cooldown_days() { new_device_cooldown_daysSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + public interface IEconMarket + { + CEconMarket_IsMarketplaceAllowed_Response IsMarketplaceAllowed(CEconMarket_IsMarketplaceAllowed_Request request); + + } + + +} +#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs new file mode 100644 index 000000000..137ed1b13 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs @@ -0,0 +1,563 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_parties.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_JoinParty_Request")] + public partial class CParties_JoinParty_Request : global::ProtoBuf.IExtensible + { + public CParties_JoinParty_Request() {} + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_JoinParty_Response")] + public partial class CParties_JoinParty_Response : global::ProtoBuf.IExtensible + { + public CParties_JoinParty_Response() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + + private string _connect_string; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"connect_string", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string connect_string + { + get { return _connect_string?? ""; } + set { _connect_string = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool connect_stringSpecified + { + get { return _connect_string != null; } + set { if (value == (_connect_string== null)) _connect_string = value ? this.connect_string : (string)null; } + } + private bool ShouldSerializeconnect_string() { return connect_stringSpecified; } + private void Resetconnect_string() { connect_stringSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_BeaconLocation")] + public partial class CParties_BeaconLocation : global::ProtoBuf.IExtensible + { + public CParties_BeaconLocation() {} + + + private uint? _location_type; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"location_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint location_type + { + get { return _location_type?? default(uint); } + set { _location_type = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool location_typeSpecified + { + get { return _location_type != null; } + set { if (value == (_location_type== null)) _location_type = value ? this.location_type : (uint?)null; } + } + private bool ShouldSerializelocation_type() { return location_typeSpecified; } + private void Resetlocation_type() { location_typeSpecified = false; } + + + private ulong? _location_id; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"location_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong location_id + { + get { return _location_id?? default(ulong); } + set { _location_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool location_idSpecified + { + get { return _location_id != null; } + set { if (value == (_location_id== null)) _location_id = value ? this.location_id : (ulong?)null; } + } + private bool ShouldSerializelocation_id() { return location_idSpecified; } + private void Resetlocation_id() { location_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_CreateBeacon_Request")] + public partial class CParties_CreateBeacon_Request : global::ProtoBuf.IExtensible + { + public CParties_CreateBeacon_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private uint? _num_open_slots; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"num_open_slots", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint num_open_slots + { + get { return _num_open_slots?? default(uint); } + set { _num_open_slots = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool num_open_slotsSpecified + { + get { return _num_open_slots != null; } + set { if (value == (_num_open_slots== null)) _num_open_slots = value ? this.num_open_slots : (uint?)null; } + } + private bool ShouldSerializenum_open_slots() { return num_open_slotsSpecified; } + private void Resetnum_open_slots() { num_open_slotsSpecified = false; } + + private readonly global::System.Collections.Generic.List _locations = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"locations", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List locations + { + get { return _locations; } + } + + + private string _connect_string; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"connect_string", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string connect_string + { + get { return _connect_string?? ""; } + set { _connect_string = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool connect_stringSpecified + { + get { return _connect_string != null; } + set { if (value == (_connect_string== null)) _connect_string = value ? this.connect_string : (string)null; } + } + private bool ShouldSerializeconnect_string() { return connect_stringSpecified; } + private void Resetconnect_string() { connect_stringSpecified = false; } + + + private string _metadata; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"metadata", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string metadata + { + get { return _metadata?? ""; } + set { _metadata = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool metadataSpecified + { + get { return _metadata != null; } + set { if (value == (_metadata== null)) _metadata = value ? this.metadata : (string)null; } + } + private bool ShouldSerializemetadata() { return metadataSpecified; } + private void Resetmetadata() { metadataSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_CreateBeacon_Response")] + public partial class CParties_CreateBeacon_Response : global::ProtoBuf.IExtensible + { + public CParties_CreateBeacon_Response() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_OnReservationCompleted_Request")] + public partial class CParties_OnReservationCompleted_Request : global::ProtoBuf.IExtensible + { + public CParties_OnReservationCompleted_Request() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + + private ulong? _user_steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"user_steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong user_steamid + { + get { return _user_steamid?? default(ulong); } + set { _user_steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool user_steamidSpecified + { + get { return _user_steamid != null; } + set { if (value == (_user_steamid== null)) _user_steamid = value ? this.user_steamid : (ulong?)null; } + } + private bool ShouldSerializeuser_steamid() { return user_steamidSpecified; } + private void Resetuser_steamid() { user_steamidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_OnReservationCompleted_Response")] + public partial class CParties_OnReservationCompleted_Response : global::ProtoBuf.IExtensible + { + public CParties_OnReservationCompleted_Response() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_CancelReservation_Request")] + public partial class CParties_CancelReservation_Request : global::ProtoBuf.IExtensible + { + public CParties_CancelReservation_Request() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + + private ulong? _user_steamid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"user_steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong user_steamid + { + get { return _user_steamid?? default(ulong); } + set { _user_steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool user_steamidSpecified + { + get { return _user_steamid != null; } + set { if (value == (_user_steamid== null)) _user_steamid = value ? this.user_steamid : (ulong?)null; } + } + private bool ShouldSerializeuser_steamid() { return user_steamidSpecified; } + private void Resetuser_steamid() { user_steamidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_CancelReservation_Response")] + public partial class CParties_CancelReservation_Response : global::ProtoBuf.IExtensible + { + public CParties_CancelReservation_Response() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_ChangeNumOpenSlots_Request")] + public partial class CParties_ChangeNumOpenSlots_Request : global::ProtoBuf.IExtensible + { + public CParties_ChangeNumOpenSlots_Request() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + + private uint? _num_open_slots; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"num_open_slots", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint num_open_slots + { + get { return _num_open_slots?? default(uint); } + set { _num_open_slots = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool num_open_slotsSpecified + { + get { return _num_open_slots != null; } + set { if (value == (_num_open_slots== null)) _num_open_slots = value ? this.num_open_slots : (uint?)null; } + } + private bool ShouldSerializenum_open_slots() { return num_open_slotsSpecified; } + private void Resetnum_open_slots() { num_open_slotsSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_ChangeNumOpenSlots_Response")] + public partial class CParties_ChangeNumOpenSlots_Response : global::ProtoBuf.IExtensible + { + public CParties_ChangeNumOpenSlots_Response() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_DestroyBeacon_Request")] + public partial class CParties_DestroyBeacon_Request : global::ProtoBuf.IExtensible + { + public CParties_DestroyBeacon_Request() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CParties_DestroyBeacon_Response")] + public partial class CParties_DestroyBeacon_Response : global::ProtoBuf.IExtensible + { + public CParties_DestroyBeacon_Response() {} + + + private ulong? _beacon_id; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"beacon_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong beacon_id + { + get { return _beacon_id?? default(ulong); } + set { _beacon_id = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool beacon_idSpecified + { + get { return _beacon_id != null; } + set { if (value == (_beacon_id== null)) _beacon_id = value ? this.beacon_id : (ulong?)null; } + } + private bool ShouldSerializebeacon_id() { return beacon_idSpecified; } + private void Resetbeacon_id() { beacon_idSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + public interface IParties + { + CParties_JoinParty_Response JoinParty(CParties_JoinParty_Request request); + CParties_CreateBeacon_Response CreateBeacon(CParties_CreateBeacon_Request request); + CParties_OnReservationCompleted_Response OnReservationCompleted(CParties_OnReservationCompleted_Request request); + CParties_CancelReservation_Response CancelReservation(CParties_CancelReservation_Request request); + CParties_ChangeNumOpenSlots_Response ChangeNumOpenSlots(CParties_ChangeNumOpenSlots_Request request); + CParties_DestroyBeacon_Response DestroyBeacon(CParties_DestroyBeacon_Request request); + + } + + +} +#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs new file mode 100644 index 000000000..ecdb1c1f9 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs @@ -0,0 +1,967 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_qms.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GameSearchParam")] + public partial class GameSearchParam : global::ProtoBuf.IExtensible + { + public GameSearchParam() {} + + + private string _key_name; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"key_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string key_name + { + get { return _key_name?? ""; } + set { _key_name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool key_nameSpecified + { + get { return _key_name != null; } + set { if (value == (_key_name== null)) _key_name = value ? this.key_name : (string)null; } + } + private bool ShouldSerializekey_name() { return key_nameSpecified; } + private void Resetkey_name() { key_nameSpecified = false; } + + private readonly global::System.Collections.Generic.List _value = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List value + { + get { return _value; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmaking_SearchForGame_Request")] + public partial class CQueuedMatchmaking_SearchForGame_Request : global::ProtoBuf.IExtensible + { + public CQueuedMatchmaking_SearchForGame_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private EGameSearchAction? _action; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"action", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EGameSearchAction action + { + get { return _action?? EGameSearchAction.k_EGameSearchAction_None; } + set { _action = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool actionSpecified + { + get { return _action != null; } + set { if (value == (_action== null)) _action = value ? this.action : (EGameSearchAction?)null; } + } + private bool ShouldSerializeaction() { return actionSpecified; } + private void Resetaction() { actionSpecified = false; } + + private readonly global::System.Collections.Generic.List _params = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"params", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List @params + { + get { return _params; } + } + + + private uint? _player_min; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"player_min", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint player_min + { + get { return _player_min?? default(uint); } + set { _player_min = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool player_minSpecified + { + get { return _player_min != null; } + set { if (value == (_player_min== null)) _player_min = value ? this.player_min : (uint?)null; } + } + private bool ShouldSerializeplayer_min() { return player_minSpecified; } + private void Resetplayer_min() { player_minSpecified = false; } + + + private uint? _player_max; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"player_max", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint player_max + { + get { return _player_max?? default(uint); } + set { _player_max = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool player_maxSpecified + { + get { return _player_max != null; } + set { if (value == (_player_max== null)) _player_max = value ? this.player_max : (uint?)null; } + } + private bool ShouldSerializeplayer_max() { return player_maxSpecified; } + private void Resetplayer_max() { player_maxSpecified = false; } + + + private ulong? _steamidlobby; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"steamidlobby", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamidlobby + { + get { return _steamidlobby?? default(ulong); } + set { _steamidlobby = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidlobbySpecified + { + get { return _steamidlobby != null; } + set { if (value == (_steamidlobby== null)) _steamidlobby = value ? this.steamidlobby : (ulong?)null; } + } + private bool ShouldSerializesteamidlobby() { return steamidlobbySpecified; } + private void Resetsteamidlobby() { steamidlobbySpecified = false; } + + + private ulong? _searchid; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"searchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong searchid + { + get { return _searchid?? default(ulong); } + set { _searchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool searchidSpecified + { + get { return _searchid != null; } + set { if (value == (_searchid== null)) _searchid = value ? this.searchid : (ulong?)null; } + } + private bool ShouldSerializesearchid() { return searchidSpecified; } + private void Resetsearchid() { searchidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmaking_SearchForGame_Response")] + public partial class CQueuedMatchmaking_SearchForGame_Response : global::ProtoBuf.IExtensible + { + public CQueuedMatchmaking_SearchForGame_Response() {} + + + private EGameSearchResult? _gamesearchresult; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"gamesearchresult", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EGameSearchResult gamesearchresult + { + get { return _gamesearchresult?? EGameSearchResult.k_EGameSearchResult_Invalid; } + set { _gamesearchresult = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool gamesearchresultSpecified + { + get { return _gamesearchresult != null; } + set { if (value == (_gamesearchresult== null)) _gamesearchresult = value ? this.gamesearchresult : (EGameSearchResult?)null; } + } + private bool ShouldSerializegamesearchresult() { return gamesearchresultSpecified; } + private void Resetgamesearchresult() { gamesearchresultSpecified = false; } + + + private ulong? _searchid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"searchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong searchid + { + get { return _searchid?? default(ulong); } + set { _searchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool searchidSpecified + { + get { return _searchid != null; } + set { if (value == (_searchid== null)) _searchid = value ? this.searchid : (ulong?)null; } + } + private bool ShouldSerializesearchid() { return searchidSpecified; } + private void Resetsearchid() { searchidSpecified = false; } + + + private uint? _seconds_time_estimate; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"seconds_time_estimate", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint seconds_time_estimate + { + get { return _seconds_time_estimate?? default(uint); } + set { _seconds_time_estimate = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool seconds_time_estimateSpecified + { + get { return _seconds_time_estimate != null; } + set { if (value == (_seconds_time_estimate== null)) _seconds_time_estimate = value ? this.seconds_time_estimate : (uint?)null; } + } + private bool ShouldSerializeseconds_time_estimate() { return seconds_time_estimateSpecified; } + private void Resetseconds_time_estimate() { seconds_time_estimateSpecified = false; } + + + private uint? _poll_frequency; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"poll_frequency", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint poll_frequency + { + get { return _poll_frequency?? default(uint); } + set { _poll_frequency = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool poll_frequencySpecified + { + get { return _poll_frequency != null; } + set { if (value == (_poll_frequency== null)) _poll_frequency = value ? this.poll_frequency : (uint?)null; } + } + private bool ShouldSerializepoll_frequency() { return poll_frequencySpecified; } + private void Resetpoll_frequency() { poll_frequencySpecified = false; } + + + private uint? _count_searching; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"count_searching", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint count_searching + { + get { return _count_searching?? default(uint); } + set { _count_searching = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool count_searchingSpecified + { + get { return _count_searching != null; } + set { if (value == (_count_searching== null)) _count_searching = value ? this.count_searching : (uint?)null; } + } + private bool ShouldSerializecount_searching() { return count_searchingSpecified; } + private void Resetcount_searching() { count_searchingSpecified = false; } + + + private uint? _players_in_match; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"players_in_match", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint players_in_match + { + get { return _players_in_match?? default(uint); } + set { _players_in_match = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool players_in_matchSpecified + { + get { return _players_in_match != null; } + set { if (value == (_players_in_match== null)) _players_in_match = value ? this.players_in_match : (uint?)null; } + } + private bool ShouldSerializeplayers_in_match() { return players_in_matchSpecified; } + private void Resetplayers_in_match() { players_in_matchSpecified = false; } + + + private uint? _players_accepted; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"players_accepted", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint players_accepted + { + get { return _players_accepted?? default(uint); } + set { _players_accepted = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool players_acceptedSpecified + { + get { return _players_accepted != null; } + set { if (value == (_players_accepted== null)) _players_accepted = value ? this.players_accepted : (uint?)null; } + } + private bool ShouldSerializeplayers_accepted() { return players_acceptedSpecified; } + private void Resetplayers_accepted() { players_acceptedSpecified = false; } + + + private string _connect_string; + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"connect_string", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string connect_string + { + get { return _connect_string?? ""; } + set { _connect_string = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool connect_stringSpecified + { + get { return _connect_string != null; } + set { if (value == (_connect_string== null)) _connect_string = value ? this.connect_string : (string)null; } + } + private bool ShouldSerializeconnect_string() { return connect_stringSpecified; } + private void Resetconnect_string() { connect_stringSpecified = false; } + + + private ulong? _steamidhost; + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"steamidhost", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamidhost + { + get { return _steamidhost?? default(ulong); } + set { _steamidhost = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidhostSpecified + { + get { return _steamidhost != null; } + set { if (value == (_steamidhost== null)) _steamidhost = value ? this.steamidhost : (ulong?)null; } + } + private bool ShouldSerializesteamidhost() { return steamidhostSpecified; } + private void Resetsteamidhost() { steamidhostSpecified = false; } + + + private uint? _rtime_match_made; + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"rtime_match_made", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint rtime_match_made + { + get { return _rtime_match_made?? default(uint); } + set { _rtime_match_made = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool rtime_match_madeSpecified + { + get { return _rtime_match_made != null; } + set { if (value == (_rtime_match_made== null)) _rtime_match_made = value ? this.rtime_match_made : (uint?)null; } + } + private bool ShouldSerializertime_match_made() { return rtime_match_madeSpecified; } + private void Resetrtime_match_made() { rtime_match_madeSpecified = false; } + + + private uint? _rtime_now; + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"rtime_now", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint rtime_now + { + get { return _rtime_now?? default(uint); } + set { _rtime_now = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool rtime_nowSpecified + { + get { return _rtime_now != null; } + set { if (value == (_rtime_now== null)) _rtime_now = value ? this.rtime_now : (uint?)null; } + } + private bool ShouldSerializertime_now() { return rtime_nowSpecified; } + private void Resetrtime_now() { rtime_nowSpecified = false; } + + + private ulong? _steamid_canceled_search; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"steamid_canceled_search", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid_canceled_search + { + get { return _steamid_canceled_search?? default(ulong); } + set { _steamid_canceled_search = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamid_canceled_searchSpecified + { + get { return _steamid_canceled_search != null; } + set { if (value == (_steamid_canceled_search== null)) _steamid_canceled_search = value ? this.steamid_canceled_search : (ulong?)null; } + } + private bool ShouldSerializesteamid_canceled_search() { return steamid_canceled_searchSpecified; } + private void Resetsteamid_canceled_search() { steamid_canceled_searchSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmakingGameHost_SearchForPlayers_Request")] + public partial class CQueuedMatchmakingGameHost_SearchForPlayers_Request : global::ProtoBuf.IExtensible + { + public CQueuedMatchmakingGameHost_SearchForPlayers_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private EGameSearchAction? _action; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"action", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EGameSearchAction action + { + get { return _action?? EGameSearchAction.k_EGameSearchAction_None; } + set { _action = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool actionSpecified + { + get { return _action != null; } + set { if (value == (_action== null)) _action = value ? this.action : (EGameSearchAction?)null; } + } + private bool ShouldSerializeaction() { return actionSpecified; } + private void Resetaction() { actionSpecified = false; } + + private readonly global::System.Collections.Generic.List _params = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"params", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List @params + { + get { return _params; } + } + + + private uint? _player_min; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"player_min", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint player_min + { + get { return _player_min?? default(uint); } + set { _player_min = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool player_minSpecified + { + get { return _player_min != null; } + set { if (value == (_player_min== null)) _player_min = value ? this.player_min : (uint?)null; } + } + private bool ShouldSerializeplayer_min() { return player_minSpecified; } + private void Resetplayer_min() { player_minSpecified = false; } + + + private uint? _player_max; + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"player_max", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint player_max + { + get { return _player_max?? default(uint); } + set { _player_max = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool player_maxSpecified + { + get { return _player_max != null; } + set { if (value == (_player_max== null)) _player_max = value ? this.player_max : (uint?)null; } + } + private bool ShouldSerializeplayer_max() { return player_maxSpecified; } + private void Resetplayer_max() { player_maxSpecified = false; } + + + private uint? _player_max_team_size; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"player_max_team_size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint player_max_team_size + { + get { return _player_max_team_size?? default(uint); } + set { _player_max_team_size = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool player_max_team_sizeSpecified + { + get { return _player_max_team_size != null; } + set { if (value == (_player_max_team_size== null)) _player_max_team_size = value ? this.player_max_team_size : (uint?)null; } + } + private bool ShouldSerializeplayer_max_team_size() { return player_max_team_sizeSpecified; } + private void Resetplayer_max_team_size() { player_max_team_sizeSpecified = false; } + + + private string _connection_string; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"connection_string", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string connection_string + { + get { return _connection_string?? ""; } + set { _connection_string = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool connection_stringSpecified + { + get { return _connection_string != null; } + set { if (value == (_connection_string== null)) _connection_string = value ? this.connection_string : (string)null; } + } + private bool ShouldSerializeconnection_string() { return connection_stringSpecified; } + private void Resetconnection_string() { connection_stringSpecified = false; } + + + private ulong? _searchid; + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"searchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong searchid + { + get { return _searchid?? default(ulong); } + set { _searchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool searchidSpecified + { + get { return _searchid != null; } + set { if (value == (_searchid== null)) _searchid = value ? this.searchid : (ulong?)null; } + } + private bool ShouldSerializesearchid() { return searchidSpecified; } + private void Resetsearchid() { searchidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PlayerFound")] + public partial class PlayerFound : global::ProtoBuf.IExtensible + { + public PlayerFound() {} + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private EGameSearchAction? _action; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"action", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EGameSearchAction action + { + get { return _action?? EGameSearchAction.k_EGameSearchAction_None; } + set { _action = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool actionSpecified + { + get { return _action != null; } + set { if (value == (_action== null)) _action = value ? this.action : (EGameSearchAction?)null; } + } + private bool ShouldSerializeaction() { return actionSpecified; } + private void Resetaction() { actionSpecified = false; } + + private readonly global::System.Collections.Generic.List _params = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"params", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List @params + { + get { return _params; } + } + + + private uint? _team_number; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"team_number", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint team_number + { + get { return _team_number?? default(uint); } + set { _team_number = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool team_numberSpecified + { + get { return _team_number != null; } + set { if (value == (_team_number== null)) _team_number = value ? this.team_number : (uint?)null; } + } + private bool ShouldSerializeteam_number() { return team_numberSpecified; } + private void Resetteam_number() { team_numberSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmakingGameHost_SearchForPlayers_Response")] + public partial class CQueuedMatchmakingGameHost_SearchForPlayers_Response : global::ProtoBuf.IExtensible + { + public CQueuedMatchmakingGameHost_SearchForPlayers_Response() {} + + + private EGameSearchResult? _gamesearchresult; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"gamesearchresult", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public EGameSearchResult gamesearchresult + { + get { return _gamesearchresult?? EGameSearchResult.k_EGameSearchResult_Invalid; } + set { _gamesearchresult = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool gamesearchresultSpecified + { + get { return _gamesearchresult != null; } + set { if (value == (_gamesearchresult== null)) _gamesearchresult = value ? this.gamesearchresult : (EGameSearchResult?)null; } + } + private bool ShouldSerializegamesearchresult() { return gamesearchresultSpecified; } + private void Resetgamesearchresult() { gamesearchresultSpecified = false; } + + + private ulong? _searchid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"searchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong searchid + { + get { return _searchid?? default(ulong); } + set { _searchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool searchidSpecified + { + get { return _searchid != null; } + set { if (value == (_searchid== null)) _searchid = value ? this.searchid : (ulong?)null; } + } + private bool ShouldSerializesearchid() { return searchidSpecified; } + private void Resetsearchid() { searchidSpecified = false; } + + + private uint? _poll_frequency; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"poll_frequency", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint poll_frequency + { + get { return _poll_frequency?? default(uint); } + set { _poll_frequency = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool poll_frequencySpecified + { + get { return _poll_frequency != null; } + set { if (value == (_poll_frequency== null)) _poll_frequency = value ? this.poll_frequency : (uint?)null; } + } + private bool ShouldSerializepoll_frequency() { return poll_frequencySpecified; } + private void Resetpoll_frequency() { poll_frequencySpecified = false; } + + + private ulong? _matchid; + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"matchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong matchid + { + get { return _matchid?? default(ulong); } + set { _matchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool matchidSpecified + { + get { return _matchid != null; } + set { if (value == (_matchid== null)) _matchid = value ? this.matchid : (ulong?)null; } + } + private bool ShouldSerializematchid() { return matchidSpecified; } + private void Resetmatchid() { matchidSpecified = false; } + + private readonly global::System.Collections.Generic.List _players = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5, Name=@"players", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List players + { + get { return _players; } + } + + + private uint? _rtime_match_made; + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"rtime_match_made", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint rtime_match_made + { + get { return _rtime_match_made?? default(uint); } + set { _rtime_match_made = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool rtime_match_madeSpecified + { + get { return _rtime_match_made != null; } + set { if (value == (_rtime_match_made== null)) _rtime_match_made = value ? this.rtime_match_made : (uint?)null; } + } + private bool ShouldSerializertime_match_made() { return rtime_match_madeSpecified; } + private void Resetrtime_match_made() { rtime_match_madeSpecified = false; } + + + private uint? _rtime_now; + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"rtime_now", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint rtime_now + { + get { return _rtime_now?? default(uint); } + set { _rtime_now = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool rtime_nowSpecified + { + get { return _rtime_now != null; } + set { if (value == (_rtime_now== null)) _rtime_now = value ? this.rtime_now : (uint?)null; } + } + private bool ShouldSerializertime_now() { return rtime_nowSpecified; } + private void Resetrtime_now() { rtime_nowSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PlayerResult")] + public partial class PlayerResult : global::ProtoBuf.IExtensible + { + public PlayerResult() {} + + + private ulong? _steamid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"steamid", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return _steamid?? default(ulong); } + set { _steamid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool steamidSpecified + { + get { return _steamid != null; } + set { if (value == (_steamid== null)) _steamid = value ? this.steamid : (ulong?)null; } + } + private bool ShouldSerializesteamid() { return steamidSpecified; } + private void Resetsteamid() { steamidSpecified = false; } + + + private uint? _value; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint value + { + get { return _value?? default(uint); } + set { _value = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool valueSpecified + { + get { return _value != null; } + set { if (value == (_value== null)) _value = value ? this.value : (uint?)null; } + } + private bool ShouldSerializevalue() { return valueSpecified; } + private void Resetvalue() { valueSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmakingGameHost_SubmitPlayerResult_Request")] + public partial class CQueuedMatchmakingGameHost_SubmitPlayerResult_Request : global::ProtoBuf.IExtensible + { + public CQueuedMatchmakingGameHost_SubmitPlayerResult_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private ulong? _matchid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"matchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong matchid + { + get { return _matchid?? default(ulong); } + set { _matchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool matchidSpecified + { + get { return _matchid != null; } + set { if (value == (_matchid== null)) _matchid = value ? this.matchid : (ulong?)null; } + } + private bool ShouldSerializematchid() { return matchidSpecified; } + private void Resetmatchid() { matchidSpecified = false; } + + private readonly global::System.Collections.Generic.List _player_results = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"player_results", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List player_results + { + get { return _player_results; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmakingGameHost_SubmitPlayerResult_Response")] + public partial class CQueuedMatchmakingGameHost_SubmitPlayerResult_Response : global::ProtoBuf.IExtensible + { + public CQueuedMatchmakingGameHost_SubmitPlayerResult_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmakingGameHost_EndGame_Request")] + public partial class CQueuedMatchmakingGameHost_EndGame_Request : global::ProtoBuf.IExtensible + { + public CQueuedMatchmakingGameHost_EndGame_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private ulong? _matchid; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"matchid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong matchid + { + get { return _matchid?? default(ulong); } + set { _matchid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool matchidSpecified + { + get { return _matchid != null; } + set { if (value == (_matchid== null)) _matchid = value ? this.matchid : (ulong?)null; } + } + private bool ShouldSerializematchid() { return matchidSpecified; } + private void Resetmatchid() { matchidSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CQueuedMatchmakingGameHost_EndGame_Response")] + public partial class CQueuedMatchmakingGameHost_EndGame_Response : global::ProtoBuf.IExtensible + { + public CQueuedMatchmakingGameHost_EndGame_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::ProtoBuf.ProtoContract(Name=@"EGameSearchAction", EnumPassthru=true)] + public enum EGameSearchAction + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchAction_None", Value=0)] + k_EGameSearchAction_None = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchAction_Accept", Value=1)] + k_EGameSearchAction_Accept = 1, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchAction_Decline", Value=2)] + k_EGameSearchAction_Decline = 2, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchAction_Cancel", Value=3)] + k_EGameSearchAction_Cancel = 3 + } + + [global::ProtoBuf.ProtoContract(Name=@"EGameSearchResult", EnumPassthru=true)] + public enum EGameSearchResult + { + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_Invalid", Value=0)] + k_EGameSearchResult_Invalid = 0, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_SearchInProgress", Value=1)] + k_EGameSearchResult_SearchInProgress = 1, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_SearchFailedNoHosts", Value=2)] + k_EGameSearchResult_SearchFailedNoHosts = 2, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_SearchGameFound", Value=3)] + k_EGameSearchResult_SearchGameFound = 3, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_SearchCompleteAccepted", Value=4)] + k_EGameSearchResult_SearchCompleteAccepted = 4, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_SearchCompleteDeclined", Value=5)] + k_EGameSearchResult_SearchCompleteDeclined = 5, + + [global::ProtoBuf.ProtoEnum(Name=@"k_EGameSearchResult_SearchCanceled", Value=6)] + k_EGameSearchResult_SearchCanceled = 6 + } + + public interface IQueuedMatchmaking + { + CQueuedMatchmaking_SearchForGame_Response SearchForGame(CQueuedMatchmaking_SearchForGame_Request request); + + } + + + public interface IQueuedMatchmakingGameHost + { + CQueuedMatchmakingGameHost_SearchForPlayers_Response SearchForPlayers(CQueuedMatchmakingGameHost_SearchForPlayers_Request request); + CQueuedMatchmakingGameHost_SubmitPlayerResult_Response SubmitPlayerResult(CQueuedMatchmakingGameHost_SubmitPlayerResult_Request request); + CQueuedMatchmakingGameHost_EndGame_Response EndGame(CQueuedMatchmakingGameHost_EndGame_Request request); + + } + + +} +#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs new file mode 100644 index 000000000..710678095 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs @@ -0,0 +1,362 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_shader.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CShader_RegisterShader_Request")] + public partial class CShader_RegisterShader_Request : global::ProtoBuf.IExtensible + { + public CShader_RegisterShader_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private string _gpu_desc; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"gpu_desc", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string gpu_desc + { + get { return _gpu_desc?? ""; } + set { _gpu_desc = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool gpu_descSpecified + { + get { return _gpu_desc != null; } + set { if (value == (_gpu_desc== null)) _gpu_desc = value ? this.gpu_desc : (string)null; } + } + private bool ShouldSerializegpu_desc() { return gpu_descSpecified; } + private void Resetgpu_desc() { gpu_descSpecified = false; } + + + private string _driver_desc; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"driver_desc", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string driver_desc + { + get { return _driver_desc?? ""; } + set { _driver_desc = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool driver_descSpecified + { + get { return _driver_desc != null; } + set { if (value == (_driver_desc== null)) _driver_desc = value ? this.driver_desc : (string)null; } + } + private bool ShouldSerializedriver_desc() { return driver_descSpecified; } + private void Resetdriver_desc() { driver_descSpecified = false; } + + private readonly global::System.Collections.Generic.List _shaders = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(4, Name=@"shaders", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List shaders + { + get { return _shaders; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Shader")] + public partial class Shader : global::ProtoBuf.IExtensible + { + public Shader() {} + + + private byte[] _cache_key_sha; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"cache_key_sha", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] cache_key_sha + { + get { return _cache_key_sha?? null; } + set { _cache_key_sha = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool cache_key_shaSpecified + { + get { return _cache_key_sha != null; } + set { if (value == (_cache_key_sha== null)) _cache_key_sha = value ? this.cache_key_sha : (byte[])null; } + } + private bool ShouldSerializecache_key_sha() { return cache_key_shaSpecified; } + private void Resetcache_key_sha() { cache_key_shaSpecified = false; } + + + private byte[] _shader_code_sha; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"shader_code_sha", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] shader_code_sha + { + get { return _shader_code_sha?? null; } + set { _shader_code_sha = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool shader_code_shaSpecified + { + get { return _shader_code_sha != null; } + set { if (value == (_shader_code_sha== null)) _shader_code_sha = value ? this.shader_code_sha : (byte[])null; } + } + private bool ShouldSerializeshader_code_sha() { return shader_code_shaSpecified; } + private void Resetshader_code_sha() { shader_code_shaSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CShader_RegisterShader_Response")] + public partial class CShader_RegisterShader_Response : global::ProtoBuf.IExtensible + { + public CShader_RegisterShader_Response() {} + + private readonly global::System.Collections.Generic.List _requested_codeids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"requested_codeids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List requested_codeids + { + get { return _requested_codeids; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CShader_SendShader_Request")] + public partial class CShader_SendShader_Request : global::ProtoBuf.IExtensible + { + public CShader_SendShader_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + private readonly global::System.Collections.Generic.List _shaders = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"shaders", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List shaders + { + get { return _shaders; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ShaderCode")] + public partial class ShaderCode : global::ProtoBuf.IExtensible + { + public ShaderCode() {} + + + private byte[] _shader_code_sha; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"shader_code_sha", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] shader_code_sha + { + get { return _shader_code_sha?? null; } + set { _shader_code_sha = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool shader_code_shaSpecified + { + get { return _shader_code_sha != null; } + set { if (value == (_shader_code_sha== null)) _shader_code_sha = value ? this.shader_code_sha : (byte[])null; } + } + private bool ShouldSerializeshader_code_sha() { return shader_code_shaSpecified; } + private void Resetshader_code_sha() { shader_code_shaSpecified = false; } + + + private byte[] _shader_code; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"shader_code", DataFormat = global::ProtoBuf.DataFormat.Default)] + public byte[] shader_code + { + get { return _shader_code?? null; } + set { _shader_code = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool shader_codeSpecified + { + get { return _shader_code != null; } + set { if (value == (_shader_code== null)) _shader_code = value ? this.shader_code : (byte[])null; } + } + private bool ShouldSerializeshader_code() { return shader_codeSpecified; } + private void Resetshader_code() { shader_codeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CShader_SendShader_Response")] + public partial class CShader_SendShader_Response : global::ProtoBuf.IExtensible + { + public CShader_SendShader_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CShader_GetBucketManifest_Request")] + public partial class CShader_GetBucketManifest_Request : global::ProtoBuf.IExtensible + { + public CShader_GetBucketManifest_Request() {} + + + private uint? _appid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint appid + { + get { return _appid?? default(uint); } + set { _appid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool appidSpecified + { + get { return _appid != null; } + set { if (value == (_appid== null)) _appid = value ? this.appid : (uint?)null; } + } + private bool ShouldSerializeappid() { return appidSpecified; } + private void Resetappid() { appidSpecified = false; } + + + private string _gpu_desc; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"gpu_desc", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string gpu_desc + { + get { return _gpu_desc?? ""; } + set { _gpu_desc = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool gpu_descSpecified + { + get { return _gpu_desc != null; } + set { if (value == (_gpu_desc== null)) _gpu_desc = value ? this.gpu_desc : (string)null; } + } + private bool ShouldSerializegpu_desc() { return gpu_descSpecified; } + private void Resetgpu_desc() { gpu_descSpecified = false; } + + + private string _driver_desc; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"driver_desc", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string driver_desc + { + get { return _driver_desc?? ""; } + set { _driver_desc = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool driver_descSpecified + { + get { return _driver_desc != null; } + set { if (value == (_driver_desc== null)) _driver_desc = value ? this.driver_desc : (string)null; } + } + private bool ShouldSerializedriver_desc() { return driver_descSpecified; } + private void Resetdriver_desc() { driver_descSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CShader_GetBucketManifest_Response")] + public partial class CShader_GetBucketManifest_Response : global::ProtoBuf.IExtensible + { + public CShader_GetBucketManifest_Response() {} + + + private ulong? _manifestid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"manifestid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public ulong manifestid + { + get { return _manifestid?? default(ulong); } + set { _manifestid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool manifestidSpecified + { + get { return _manifestid != null; } + set { if (value == (_manifestid== null)) _manifestid = value ? this.manifestid : (ulong?)null; } + } + private bool ShouldSerializemanifestid() { return manifestidSpecified; } + private void Resetmanifestid() { manifestidSpecified = false; } + + + private uint? _depotsize; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"depotsize", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint depotsize + { + get { return _depotsize?? default(uint); } + set { _depotsize = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool depotsizeSpecified + { + get { return _depotsize != null; } + set { if (value == (_depotsize== null)) _depotsize = value ? this.depotsize : (uint?)null; } + } + private bool ShouldSerializedepotsize() { return depotsizeSpecified; } + private void Resetdepotsize() { depotsizeSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + public interface IShader + { + CShader_RegisterShader_Response RegisterShader(CShader_RegisterShader_Request request); + CShader_SendShader_Response SendShader(CShader_SendShader_Request request); + CShader_GetBucketManifest_Response GetBucketManifest(CShader_GetBucketManifest_Request request); + + } + + +} +#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs new file mode 100644 index 000000000..b7b0d9850 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs @@ -0,0 +1,141 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#pragma warning disable 1591 + +// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled + +// Generated from: steammessages_store.steamclient.proto +// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto +namespace SteamKit2.Unified.Internal +{ + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CStore_GetLocalizedNameForTags_Request")] + public partial class CStore_GetLocalizedNameForTags_Request : global::ProtoBuf.IExtensible + { + public CStore_GetLocalizedNameForTags_Request() {} + + + private string _language; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"language", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string language + { + get { return _language?? ""; } + set { _language = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool languageSpecified + { + get { return _language != null; } + set { if (value == (_language== null)) _language = value ? this.language : (string)null; } + } + private bool ShouldSerializelanguage() { return languageSpecified; } + private void Resetlanguage() { languageSpecified = false; } + + private readonly global::System.Collections.Generic.List _tagids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"tagids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List tagids + { + get { return _tagids; } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CStore_GetLocalizedNameForTags_Response")] + public partial class CStore_GetLocalizedNameForTags_Response : global::ProtoBuf.IExtensible + { + public CStore_GetLocalizedNameForTags_Response() {} + + private readonly global::System.Collections.Generic.List _tags = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1, Name=@"tags", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List tags + { + get { return _tags; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Tag")] + public partial class Tag : global::ProtoBuf.IExtensible + { + public Tag() {} + + + private uint? _tagid; + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"tagid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public uint tagid + { + get { return _tagid?? default(uint); } + set { _tagid = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool tagidSpecified + { + get { return _tagid != null; } + set { if (value == (_tagid== null)) _tagid = value ? this.tagid : (uint?)null; } + } + private bool ShouldSerializetagid() { return tagidSpecified; } + private void Resettagid() { tagidSpecified = false; } + + + private string _english_name; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"english_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string english_name + { + get { return _english_name?? ""; } + set { _english_name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool english_nameSpecified + { + get { return _english_name != null; } + set { if (value == (_english_name== null)) _english_name = value ? this.english_name : (string)null; } + } + private bool ShouldSerializeenglish_name() { return english_nameSpecified; } + private void Resetenglish_name() { english_nameSpecified = false; } + + + private string _name; + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] + public string name + { + get { return _name?? ""; } + set { _name = value; } + } + [global::System.Xml.Serialization.XmlIgnore] + [global::System.ComponentModel.Browsable(false)] + public bool nameSpecified + { + get { return _name != null; } + set { if (value == (_name== null)) _name = value ? this.name : (string)null; } + } + private bool ShouldSerializename() { return nameSpecified; } + private void Resetname() { nameSpecified = false; } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + public interface IStore + { + CStore_GetLocalizedNameForTags_Response GetLocalizedNameForTags(CStore_GetLocalizedNameForTags_Request request); + + } + + +} +#pragma warning restore 1591