// <auto-generated>
//   This file was generated by a tool; you should avoid making direct changes.
//   Consider using 'partial classes' to extend these types
//   Input: steammessages_useraccount.steamclient.proto
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.Internal
{

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetAvailableValveDiscountPromotions_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        [global::System.ComponentModel.DefaultValue("")]
        public string country_code
        {
            get => __pbn__country_code ?? "";
            set => __pbn__country_code = value;
        }
        public bool ShouldSerializecountry_code() => __pbn__country_code != null;
        public void Resetcountry_code() => __pbn__country_code = null;
        private string __pbn__country_code;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetAvailableValveDiscountPromotions_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<ValveDiscountPromotionDetails> promotions { get; } = new global::System.Collections.Generic.List<ValveDiscountPromotionDetails>();

        [global::ProtoBuf.ProtoContract()]
        public partial class ValveDiscountPromotionDetails : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1)]
            public uint promotionid
            {
                get => __pbn__promotionid.GetValueOrDefault();
                set => __pbn__promotionid = value;
            }
            public bool ShouldSerializepromotionid() => __pbn__promotionid != null;
            public void Resetpromotionid() => __pbn__promotionid = null;
            private uint? __pbn__promotionid;

            [global::ProtoBuf.ProtoMember(2)]
            [global::System.ComponentModel.DefaultValue("")]
            public string promotion_description
            {
                get => __pbn__promotion_description ?? "";
                set => __pbn__promotion_description = value;
            }
            public bool ShouldSerializepromotion_description() => __pbn__promotion_description != null;
            public void Resetpromotion_description() => __pbn__promotion_description = null;
            private string __pbn__promotion_description;

            [global::ProtoBuf.ProtoMember(3)]
            public long minimum_cart_amount
            {
                get => __pbn__minimum_cart_amount.GetValueOrDefault();
                set => __pbn__minimum_cart_amount = value;
            }
            public bool ShouldSerializeminimum_cart_amount() => __pbn__minimum_cart_amount != null;
            public void Resetminimum_cart_amount() => __pbn__minimum_cart_amount = null;
            private long? __pbn__minimum_cart_amount;

            [global::ProtoBuf.ProtoMember(4)]
            public long minimum_cart_amount_for_display
            {
                get => __pbn__minimum_cart_amount_for_display.GetValueOrDefault();
                set => __pbn__minimum_cart_amount_for_display = value;
            }
            public bool ShouldSerializeminimum_cart_amount_for_display() => __pbn__minimum_cart_amount_for_display != null;
            public void Resetminimum_cart_amount_for_display() => __pbn__minimum_cart_amount_for_display = null;
            private long? __pbn__minimum_cart_amount_for_display;

            [global::ProtoBuf.ProtoMember(5)]
            public long discount_amount
            {
                get => __pbn__discount_amount.GetValueOrDefault();
                set => __pbn__discount_amount = value;
            }
            public bool ShouldSerializediscount_amount() => __pbn__discount_amount != null;
            public void Resetdiscount_amount() => __pbn__discount_amount = null;
            private long? __pbn__discount_amount;

            [global::ProtoBuf.ProtoMember(6)]
            public int currency_code
            {
                get => __pbn__currency_code.GetValueOrDefault();
                set => __pbn__currency_code = value;
            }
            public bool ShouldSerializecurrency_code() => __pbn__currency_code != null;
            public void Resetcurrency_code() => __pbn__currency_code = null;
            private int? __pbn__currency_code;

            [global::ProtoBuf.ProtoMember(7)]
            public int available_use_count
            {
                get => __pbn__available_use_count.GetValueOrDefault();
                set => __pbn__available_use_count = value;
            }
            public bool ShouldSerializeavailable_use_count() => __pbn__available_use_count != null;
            public void Resetavailable_use_count() => __pbn__available_use_count = null;
            private int? __pbn__available_use_count;

            [global::ProtoBuf.ProtoMember(8)]
            public int promotional_discount_type
            {
                get => __pbn__promotional_discount_type.GetValueOrDefault();
                set => __pbn__promotional_discount_type = value;
            }
            public bool ShouldSerializepromotional_discount_type() => __pbn__promotional_discount_type != null;
            public void Resetpromotional_discount_type() => __pbn__promotional_discount_type = null;
            private int? __pbn__promotional_discount_type;

            [global::ProtoBuf.ProtoMember(9)]
            public int loyalty_reward_id
            {
                get => __pbn__loyalty_reward_id.GetValueOrDefault();
                set => __pbn__loyalty_reward_id = value;
            }
            public bool ShouldSerializeloyalty_reward_id() => __pbn__loyalty_reward_id != null;
            public void Resetloyalty_reward_id() => __pbn__loyalty_reward_id = null;
            private int? __pbn__loyalty_reward_id;

            [global::ProtoBuf.ProtoMember(10)]
            [global::System.ComponentModel.DefaultValue("")]
            public string localized_name_token
            {
                get => __pbn__localized_name_token ?? "";
                set => __pbn__localized_name_token = value;
            }
            public bool ShouldSerializelocalized_name_token() => __pbn__localized_name_token != null;
            public void Resetlocalized_name_token() => __pbn__localized_name_token = null;
            private string __pbn__localized_name_token;

            [global::ProtoBuf.ProtoMember(11)]
            public int max_use_count
            {
                get => __pbn__max_use_count.GetValueOrDefault();
                set => __pbn__max_use_count = value;
            }
            public bool ShouldSerializemax_use_count() => __pbn__max_use_count != null;
            public void Resetmax_use_count() => __pbn__max_use_count = null;
            private int? __pbn__max_use_count;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetClientWalletDetails_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public bool include_balance_in_usd
        {
            get => __pbn__include_balance_in_usd.GetValueOrDefault();
            set => __pbn__include_balance_in_usd = value;
        }
        public bool ShouldSerializeinclude_balance_in_usd() => __pbn__include_balance_in_usd != null;
        public void Resetinclude_balance_in_usd() => __pbn__include_balance_in_usd = null;
        private bool? __pbn__include_balance_in_usd;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue(1)]
        public int wallet_region
        {
            get => __pbn__wallet_region ?? 1;
            set => __pbn__wallet_region = value;
        }
        public bool ShouldSerializewallet_region() => __pbn__wallet_region != null;
        public void Resetwallet_region() => __pbn__wallet_region = null;
        private int? __pbn__wallet_region;

        [global::ProtoBuf.ProtoMember(3)]
        public bool include_formatted_balance
        {
            get => __pbn__include_formatted_balance.GetValueOrDefault();
            set => __pbn__include_formatted_balance = value;
        }
        public bool ShouldSerializeinclude_formatted_balance() => __pbn__include_formatted_balance != null;
        public void Resetinclude_formatted_balance() => __pbn__include_formatted_balance = null;
        private bool? __pbn__include_formatted_balance;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetWalletDetails_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public bool has_wallet
        {
            get => __pbn__has_wallet.GetValueOrDefault();
            set => __pbn__has_wallet = value;
        }
        public bool ShouldSerializehas_wallet() => __pbn__has_wallet != null;
        public void Resethas_wallet() => __pbn__has_wallet = null;
        private bool? __pbn__has_wallet;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string user_country_code
        {
            get => __pbn__user_country_code ?? "";
            set => __pbn__user_country_code = value;
        }
        public bool ShouldSerializeuser_country_code() => __pbn__user_country_code != null;
        public void Resetuser_country_code() => __pbn__user_country_code = null;
        private string __pbn__user_country_code;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string wallet_country_code
        {
            get => __pbn__wallet_country_code ?? "";
            set => __pbn__wallet_country_code = value;
        }
        public bool ShouldSerializewallet_country_code() => __pbn__wallet_country_code != null;
        public void Resetwallet_country_code() => __pbn__wallet_country_code = null;
        private string __pbn__wallet_country_code;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue("")]
        public string wallet_state
        {
            get => __pbn__wallet_state ?? "";
            set => __pbn__wallet_state = value;
        }
        public bool ShouldSerializewallet_state() => __pbn__wallet_state != null;
        public void Resetwallet_state() => __pbn__wallet_state = null;
        private string __pbn__wallet_state;

        [global::ProtoBuf.ProtoMember(5)]
        public long balance
        {
            get => __pbn__balance.GetValueOrDefault();
            set => __pbn__balance = value;
        }
        public bool ShouldSerializebalance() => __pbn__balance != null;
        public void Resetbalance() => __pbn__balance = null;
        private long? __pbn__balance;

        [global::ProtoBuf.ProtoMember(6)]
        public long delayed_balance
        {
            get => __pbn__delayed_balance.GetValueOrDefault();
            set => __pbn__delayed_balance = value;
        }
        public bool ShouldSerializedelayed_balance() => __pbn__delayed_balance != null;
        public void Resetdelayed_balance() => __pbn__delayed_balance = null;
        private long? __pbn__delayed_balance;

        [global::ProtoBuf.ProtoMember(7)]
        public int currency_code
        {
            get => __pbn__currency_code.GetValueOrDefault();
            set => __pbn__currency_code = value;
        }
        public bool ShouldSerializecurrency_code() => __pbn__currency_code != null;
        public void Resetcurrency_code() => __pbn__currency_code = null;
        private int? __pbn__currency_code;

        [global::ProtoBuf.ProtoMember(8)]
        public uint time_most_recent_txn
        {
            get => __pbn__time_most_recent_txn.GetValueOrDefault();
            set => __pbn__time_most_recent_txn = value;
        }
        public bool ShouldSerializetime_most_recent_txn() => __pbn__time_most_recent_txn != null;
        public void Resettime_most_recent_txn() => __pbn__time_most_recent_txn = null;
        private uint? __pbn__time_most_recent_txn;

        [global::ProtoBuf.ProtoMember(9)]
        public ulong most_recent_txnid
        {
            get => __pbn__most_recent_txnid.GetValueOrDefault();
            set => __pbn__most_recent_txnid = value;
        }
        public bool ShouldSerializemost_recent_txnid() => __pbn__most_recent_txnid != null;
        public void Resetmost_recent_txnid() => __pbn__most_recent_txnid = null;
        private ulong? __pbn__most_recent_txnid;

        [global::ProtoBuf.ProtoMember(10)]
        public long balance_in_usd
        {
            get => __pbn__balance_in_usd.GetValueOrDefault();
            set => __pbn__balance_in_usd = value;
        }
        public bool ShouldSerializebalance_in_usd() => __pbn__balance_in_usd != null;
        public void Resetbalance_in_usd() => __pbn__balance_in_usd = null;
        private long? __pbn__balance_in_usd;

        [global::ProtoBuf.ProtoMember(11)]
        public long delayed_balance_in_usd
        {
            get => __pbn__delayed_balance_in_usd.GetValueOrDefault();
            set => __pbn__delayed_balance_in_usd = value;
        }
        public bool ShouldSerializedelayed_balance_in_usd() => __pbn__delayed_balance_in_usd != null;
        public void Resetdelayed_balance_in_usd() => __pbn__delayed_balance_in_usd = null;
        private long? __pbn__delayed_balance_in_usd;

        [global::ProtoBuf.ProtoMember(12)]
        public bool has_wallet_in_other_regions
        {
            get => __pbn__has_wallet_in_other_regions.GetValueOrDefault();
            set => __pbn__has_wallet_in_other_regions = value;
        }
        public bool ShouldSerializehas_wallet_in_other_regions() => __pbn__has_wallet_in_other_regions != null;
        public void Resethas_wallet_in_other_regions() => __pbn__has_wallet_in_other_regions = null;
        private bool? __pbn__has_wallet_in_other_regions;

        [global::ProtoBuf.ProtoMember(13)]
        public global::System.Collections.Generic.List<int> other_regions { get; } = new global::System.Collections.Generic.List<int>();

        [global::ProtoBuf.ProtoMember(14)]
        [global::System.ComponentModel.DefaultValue("")]
        public string formatted_balance
        {
            get => __pbn__formatted_balance ?? "";
            set => __pbn__formatted_balance = value;
        }
        public bool ShouldSerializeformatted_balance() => __pbn__formatted_balance != null;
        public void Resetformatted_balance() => __pbn__formatted_balance = null;
        private string __pbn__formatted_balance;

        [global::ProtoBuf.ProtoMember(15)]
        [global::System.ComponentModel.DefaultValue("")]
        public string formatted_delayed_balance
        {
            get => __pbn__formatted_delayed_balance ?? "";
            set => __pbn__formatted_delayed_balance = value;
        }
        public bool ShouldSerializeformatted_delayed_balance() => __pbn__formatted_delayed_balance != null;
        public void Resetformatted_delayed_balance() => __pbn__formatted_delayed_balance = null;
        private string __pbn__formatted_delayed_balance;

        [global::ProtoBuf.ProtoMember(16)]
        public int delayed_balance_available_min_time
        {
            get => __pbn__delayed_balance_available_min_time.GetValueOrDefault();
            set => __pbn__delayed_balance_available_min_time = value;
        }
        public bool ShouldSerializedelayed_balance_available_min_time() => __pbn__delayed_balance_available_min_time != null;
        public void Resetdelayed_balance_available_min_time() => __pbn__delayed_balance_available_min_time = null;
        private int? __pbn__delayed_balance_available_min_time;

        [global::ProtoBuf.ProtoMember(17)]
        public int delayed_balance_available_max_time
        {
            get => __pbn__delayed_balance_available_max_time.GetValueOrDefault();
            set => __pbn__delayed_balance_available_max_time = value;
        }
        public bool ShouldSerializedelayed_balance_available_max_time() => __pbn__delayed_balance_available_max_time != null;
        public void Resetdelayed_balance_available_max_time() => __pbn__delayed_balance_available_max_time = null;
        private int? __pbn__delayed_balance_available_max_time;

        [global::ProtoBuf.ProtoMember(18)]
        public int delayed_balance_newest_source
        {
            get => __pbn__delayed_balance_newest_source.GetValueOrDefault();
            set => __pbn__delayed_balance_newest_source = value;
        }
        public bool ShouldSerializedelayed_balance_newest_source() => __pbn__delayed_balance_newest_source != null;
        public void Resetdelayed_balance_newest_source() => __pbn__delayed_balance_newest_source = null;
        private int? __pbn__delayed_balance_newest_source;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetAccountLinkStatus_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetAccountLinkStatus_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public uint pwid
        {
            get => __pbn__pwid.GetValueOrDefault();
            set => __pbn__pwid = value;
        }
        public bool ShouldSerializepwid() => __pbn__pwid != null;
        public void Resetpwid() => __pbn__pwid = null;
        private uint? __pbn__pwid;

        [global::ProtoBuf.ProtoMember(2)]
        public uint identity_verification
        {
            get => __pbn__identity_verification.GetValueOrDefault();
            set => __pbn__identity_verification = value;
        }
        public bool ShouldSerializeidentity_verification() => __pbn__identity_verification != null;
        public void Resetidentity_verification() => __pbn__identity_verification = null;
        private uint? __pbn__identity_verification;

        [global::ProtoBuf.ProtoMember(3)]
        public bool performed_age_verification
        {
            get => __pbn__performed_age_verification.GetValueOrDefault();
            set => __pbn__performed_age_verification = value;
        }
        public bool ShouldSerializeperformed_age_verification() => __pbn__performed_age_verification != null;
        public void Resetperformed_age_verification() => __pbn__performed_age_verification = null;
        private bool? __pbn__performed_age_verification;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_CancelLicenseForApp_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public uint appid
        {
            get => __pbn__appid.GetValueOrDefault();
            set => __pbn__appid = value;
        }
        public bool ShouldSerializeappid() => __pbn__appid != null;
        public void Resetappid() => __pbn__appid = null;
        private uint? __pbn__appid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_CancelLicenseForApp_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetUserCountry_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetUserCountry_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        [global::System.ComponentModel.DefaultValue("")]
        public string country
        {
            get => __pbn__country ?? "";
            set => __pbn__country = value;
        }
        public bool ShouldSerializecountry() => __pbn__country != null;
        public void Resetcountry() => __pbn__country = null;
        private string __pbn__country;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_CreateFriendInviteToken_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public uint invite_limit
        {
            get => __pbn__invite_limit.GetValueOrDefault();
            set => __pbn__invite_limit = value;
        }
        public bool ShouldSerializeinvite_limit() => __pbn__invite_limit != null;
        public void Resetinvite_limit() => __pbn__invite_limit = null;
        private uint? __pbn__invite_limit;

        [global::ProtoBuf.ProtoMember(2)]
        public uint invite_duration
        {
            get => __pbn__invite_duration.GetValueOrDefault();
            set => __pbn__invite_duration = value;
        }
        public bool ShouldSerializeinvite_duration() => __pbn__invite_duration != null;
        public void Resetinvite_duration() => __pbn__invite_duration = null;
        private uint? __pbn__invite_duration;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string invite_note
        {
            get => __pbn__invite_note ?? "";
            set => __pbn__invite_note = value;
        }
        public bool ShouldSerializeinvite_note() => __pbn__invite_note != null;
        public void Resetinvite_note() => __pbn__invite_note = null;
        private string __pbn__invite_note;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_CreateFriendInviteToken_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        [global::System.ComponentModel.DefaultValue("")]
        public string invite_token
        {
            get => __pbn__invite_token ?? "";
            set => __pbn__invite_token = value;
        }
        public bool ShouldSerializeinvite_token() => __pbn__invite_token != null;
        public void Resetinvite_token() => __pbn__invite_token = null;
        private string __pbn__invite_token;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong invite_limit
        {
            get => __pbn__invite_limit.GetValueOrDefault();
            set => __pbn__invite_limit = value;
        }
        public bool ShouldSerializeinvite_limit() => __pbn__invite_limit != null;
        public void Resetinvite_limit() => __pbn__invite_limit = null;
        private ulong? __pbn__invite_limit;

        [global::ProtoBuf.ProtoMember(3)]
        public ulong invite_duration
        {
            get => __pbn__invite_duration.GetValueOrDefault();
            set => __pbn__invite_duration = value;
        }
        public bool ShouldSerializeinvite_duration() => __pbn__invite_duration != null;
        public void Resetinvite_duration() => __pbn__invite_duration = null;
        private ulong? __pbn__invite_duration;

        [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public uint time_created
        {
            get => __pbn__time_created.GetValueOrDefault();
            set => __pbn__time_created = value;
        }
        public bool ShouldSerializetime_created() => __pbn__time_created != null;
        public void Resettime_created() => __pbn__time_created = null;
        private uint? __pbn__time_created;

        [global::ProtoBuf.ProtoMember(5)]
        public bool valid
        {
            get => __pbn__valid.GetValueOrDefault();
            set => __pbn__valid = value;
        }
        public bool ShouldSerializevalid() => __pbn__valid != null;
        public void Resetvalid() => __pbn__valid = null;
        private bool? __pbn__valid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetFriendInviteTokens_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_GetFriendInviteTokens_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<CUserAccount_CreateFriendInviteToken_Response> tokens { get; } = new global::System.Collections.Generic.List<CUserAccount_CreateFriendInviteToken_Response>();

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_ViewFriendInviteToken_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string invite_token
        {
            get => __pbn__invite_token ?? "";
            set => __pbn__invite_token = value;
        }
        public bool ShouldSerializeinvite_token() => __pbn__invite_token != null;
        public void Resetinvite_token() => __pbn__invite_token = null;
        private string __pbn__invite_token;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_ViewFriendInviteToken_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public bool valid
        {
            get => __pbn__valid.GetValueOrDefault();
            set => __pbn__valid = value;
        }
        public bool ShouldSerializevalid() => __pbn__valid != null;
        public void Resetvalid() => __pbn__valid = null;
        private bool? __pbn__valid;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(3)]
        public ulong invite_duration
        {
            get => __pbn__invite_duration.GetValueOrDefault();
            set => __pbn__invite_duration = value;
        }
        public bool ShouldSerializeinvite_duration() => __pbn__invite_duration != null;
        public void Resetinvite_duration() => __pbn__invite_duration = null;
        private ulong? __pbn__invite_duration;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_RedeemFriendInviteToken_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string invite_token
        {
            get => __pbn__invite_token ?? "";
            set => __pbn__invite_token = value;
        }
        public bool ShouldSerializeinvite_token() => __pbn__invite_token != null;
        public void Resetinvite_token() => __pbn__invite_token = null;
        private string __pbn__invite_token;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_RedeemFriendInviteToken_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_RevokeFriendInviteToken_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        [global::System.ComponentModel.DefaultValue("")]
        public string invite_token
        {
            get => __pbn__invite_token ?? "";
            set => __pbn__invite_token = value;
        }
        public bool ShouldSerializeinvite_token() => __pbn__invite_token != null;
        public void Resetinvite_token() => __pbn__invite_token = null;
        private string __pbn__invite_token;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_RevokeFriendInviteToken_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_RegisterCompatTool_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public uint compat_tool
        {
            get => __pbn__compat_tool.GetValueOrDefault();
            set => __pbn__compat_tool = value;
        }
        public bool ShouldSerializecompat_tool() => __pbn__compat_tool != null;
        public void Resetcompat_tool() => __pbn__compat_tool = null;
        private uint? __pbn__compat_tool;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CUserAccount_RegisterCompatTool_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CEmbeddedClient_AuthorizeCurrentDevice_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        public uint appid
        {
            get => __pbn__appid.GetValueOrDefault();
            set => __pbn__appid = value;
        }
        public bool ShouldSerializeappid() => __pbn__appid != null;
        public void Resetappid() => __pbn__appid = null;
        private uint? __pbn__appid;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string device_info
        {
            get => __pbn__device_info ?? "";
            set => __pbn__device_info = value;
        }
        public bool ShouldSerializedevice_info() => __pbn__device_info != null;
        public void Resetdevice_info() => __pbn__device_info = null;
        private string __pbn__device_info;

        [global::ProtoBuf.ProtoMember(4)]
        public uint deviceid
        {
            get => __pbn__deviceid.GetValueOrDefault();
            set => __pbn__deviceid = value;
        }
        public bool ShouldSerializedeviceid() => __pbn__deviceid != null;
        public void Resetdeviceid() => __pbn__deviceid = null;
        private uint? __pbn__deviceid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CEmbeddedClient_Token : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        public byte[] client_token
        {
            get => __pbn__client_token;
            set => __pbn__client_token = value;
        }
        public bool ShouldSerializeclient_token() => __pbn__client_token != null;
        public void Resetclient_token() => __pbn__client_token = null;
        private byte[] __pbn__client_token;

        [global::ProtoBuf.ProtoMember(3)]
        public uint expiry
        {
            get => __pbn__expiry.GetValueOrDefault();
            set => __pbn__expiry = value;
        }
        public bool ShouldSerializeexpiry() => __pbn__expiry != null;
        public void Resetexpiry() => __pbn__expiry = null;
        private uint? __pbn__expiry;

        [global::ProtoBuf.ProtoMember(4)]
        public uint deviceid
        {
            get => __pbn__deviceid.GetValueOrDefault();
            set => __pbn__deviceid = value;
        }
        public bool ShouldSerializedeviceid() => __pbn__deviceid != null;
        public void Resetdeviceid() => __pbn__deviceid = null;
        private uint? __pbn__deviceid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CEmbeddedClient_AuthorizeDevice_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public uint result
        {
            get => __pbn__result.GetValueOrDefault();
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private uint? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public CEmbeddedClient_Token token { get; set; }

    }

    public class UserAccount : SteamUnifiedMessages.UnifiedService
    {
        public override string ServiceName { get; } = "UserAccount";

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_GetAvailableValveDiscountPromotions_Response>> GetAvailableValveDiscountPromotions( CUserAccount_GetAvailableValveDiscountPromotions_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_GetAvailableValveDiscountPromotions_Request, CUserAccount_GetAvailableValveDiscountPromotions_Response>( "UserAccount.GetAvailableValveDiscountPromotions#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_GetWalletDetails_Response>> GetClientWalletDetails( CUserAccount_GetClientWalletDetails_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_GetClientWalletDetails_Request, CUserAccount_GetWalletDetails_Response>( "UserAccount.GetClientWalletDetails#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_GetAccountLinkStatus_Response>> GetAccountLinkStatus( CUserAccount_GetAccountLinkStatus_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_GetAccountLinkStatus_Request, CUserAccount_GetAccountLinkStatus_Response>( "UserAccount.GetAccountLinkStatus#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_CancelLicenseForApp_Response>> CancelLicenseForApp( CUserAccount_CancelLicenseForApp_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_CancelLicenseForApp_Request, CUserAccount_CancelLicenseForApp_Response>( "UserAccount.CancelLicenseForApp#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_GetUserCountry_Response>> GetUserCountry( CUserAccount_GetUserCountry_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_GetUserCountry_Request, CUserAccount_GetUserCountry_Response>( "UserAccount.GetUserCountry#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_CreateFriendInviteToken_Response>> CreateFriendInviteToken( CUserAccount_CreateFriendInviteToken_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_CreateFriendInviteToken_Request, CUserAccount_CreateFriendInviteToken_Response>( "UserAccount.CreateFriendInviteToken#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_GetFriendInviteTokens_Response>> GetFriendInviteTokens( CUserAccount_GetFriendInviteTokens_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_GetFriendInviteTokens_Request, CUserAccount_GetFriendInviteTokens_Response>( "UserAccount.GetFriendInviteTokens#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_ViewFriendInviteToken_Response>> ViewFriendInviteToken( CUserAccount_ViewFriendInviteToken_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_ViewFriendInviteToken_Request, CUserAccount_ViewFriendInviteToken_Response>( "UserAccount.ViewFriendInviteToken#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_RedeemFriendInviteToken_Response>> RedeemFriendInviteToken( CUserAccount_RedeemFriendInviteToken_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_RedeemFriendInviteToken_Request, CUserAccount_RedeemFriendInviteToken_Response>( "UserAccount.RedeemFriendInviteToken#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_RevokeFriendInviteToken_Response>> RevokeFriendInviteToken( CUserAccount_RevokeFriendInviteToken_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_RevokeFriendInviteToken_Request, CUserAccount_RevokeFriendInviteToken_Response>( "UserAccount.RevokeFriendInviteToken#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CUserAccount_RegisterCompatTool_Response>> RegisterCompatTool( CUserAccount_RegisterCompatTool_Request request )
        {
            return UnifiedMessages.SendMessage<CUserAccount_RegisterCompatTool_Request, CUserAccount_RegisterCompatTool_Response>( "UserAccount.RegisterCompatTool#1", request );
        }

        public override void HandleResponseMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
            switch ( methodName )
            {
                case "GetAvailableValveDiscountPromotions":
                    PostResponseMsg<CUserAccount_GetAvailableValveDiscountPromotions_Response>( packetMsg );
                    break;
                case "GetClientWalletDetails":
                    PostResponseMsg<CUserAccount_GetWalletDetails_Response>( packetMsg );
                    break;
                case "GetAccountLinkStatus":
                    PostResponseMsg<CUserAccount_GetAccountLinkStatus_Response>( packetMsg );
                    break;
                case "CancelLicenseForApp":
                    PostResponseMsg<CUserAccount_CancelLicenseForApp_Response>( packetMsg );
                    break;
                case "GetUserCountry":
                    PostResponseMsg<CUserAccount_GetUserCountry_Response>( packetMsg );
                    break;
                case "CreateFriendInviteToken":
                    PostResponseMsg<CUserAccount_CreateFriendInviteToken_Response>( packetMsg );
                    break;
                case "GetFriendInviteTokens":
                    PostResponseMsg<CUserAccount_GetFriendInviteTokens_Response>( packetMsg );
                    break;
                case "ViewFriendInviteToken":
                    PostResponseMsg<CUserAccount_ViewFriendInviteToken_Response>( packetMsg );
                    break;
                case "RedeemFriendInviteToken":
                    PostResponseMsg<CUserAccount_RedeemFriendInviteToken_Response>( packetMsg );
                    break;
                case "RevokeFriendInviteToken":
                    PostResponseMsg<CUserAccount_RevokeFriendInviteToken_Response>( packetMsg );
                    break;
                case "RegisterCompatTool":
                    PostResponseMsg<CUserAccount_RegisterCompatTool_Response>( packetMsg );
                    break;
            }
        }

        public override void HandleNotificationMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
        }
    }

    public class EmbeddedClient : SteamUnifiedMessages.UnifiedService
    {
        public override string ServiceName { get; } = "EmbeddedClient";

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CEmbeddedClient_AuthorizeDevice_Response>> AuthorizeCurrentDevice( CEmbeddedClient_AuthorizeCurrentDevice_Request request )
        {
            return UnifiedMessages.SendMessage<CEmbeddedClient_AuthorizeCurrentDevice_Request, CEmbeddedClient_AuthorizeDevice_Response>( "EmbeddedClient.AuthorizeCurrentDevice#1", request );
        }

        public override void HandleResponseMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
            switch ( methodName )
            {
                case "AuthorizeCurrentDevice":
                    PostResponseMsg<CEmbeddedClient_AuthorizeDevice_Response>( packetMsg );
                    break;
            }
        }

        public override void HandleNotificationMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
        }
    }

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
