// <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_clientserver_userstats.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 CMsgClientGetUserStats : 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 game_id
        {
            get => __pbn__game_id.GetValueOrDefault();
            set => __pbn__game_id = value;
        }
        public bool ShouldSerializegame_id() => __pbn__game_id != null;
        public void Resetgame_id() => __pbn__game_id = null;
        private ulong? __pbn__game_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint crc_stats
        {
            get => __pbn__crc_stats.GetValueOrDefault();
            set => __pbn__crc_stats = value;
        }
        public bool ShouldSerializecrc_stats() => __pbn__crc_stats != null;
        public void Resetcrc_stats() => __pbn__crc_stats = null;
        private uint? __pbn__crc_stats;

        [global::ProtoBuf.ProtoMember(3)]
        public int schema_local_version
        {
            get => __pbn__schema_local_version.GetValueOrDefault();
            set => __pbn__schema_local_version = value;
        }
        public bool ShouldSerializeschema_local_version() => __pbn__schema_local_version != null;
        public void Resetschema_local_version() => __pbn__schema_local_version = null;
        private int? __pbn__schema_local_version;

        [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steam_id_for_user
        {
            get => __pbn__steam_id_for_user.GetValueOrDefault();
            set => __pbn__steam_id_for_user = value;
        }
        public bool ShouldSerializesteam_id_for_user() => __pbn__steam_id_for_user != null;
        public void Resetsteam_id_for_user() => __pbn__steam_id_for_user = null;
        private ulong? __pbn__steam_id_for_user;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientGetUserStatsResponse : 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 game_id
        {
            get => __pbn__game_id.GetValueOrDefault();
            set => __pbn__game_id = value;
        }
        public bool ShouldSerializegame_id() => __pbn__game_id != null;
        public void Resetgame_id() => __pbn__game_id = null;
        private ulong? __pbn__game_id;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue(2)]
        public int eresult
        {
            get => __pbn__eresult ?? 2;
            set => __pbn__eresult = value;
        }
        public bool ShouldSerializeeresult() => __pbn__eresult != null;
        public void Reseteresult() => __pbn__eresult = null;
        private int? __pbn__eresult;

        [global::ProtoBuf.ProtoMember(3)]
        public uint crc_stats
        {
            get => __pbn__crc_stats.GetValueOrDefault();
            set => __pbn__crc_stats = value;
        }
        public bool ShouldSerializecrc_stats() => __pbn__crc_stats != null;
        public void Resetcrc_stats() => __pbn__crc_stats = null;
        private uint? __pbn__crc_stats;

        [global::ProtoBuf.ProtoMember(4)]
        public byte[] schema
        {
            get => __pbn__schema;
            set => __pbn__schema = value;
        }
        public bool ShouldSerializeschema() => __pbn__schema != null;
        public void Resetschema() => __pbn__schema = null;
        private byte[] __pbn__schema;

        [global::ProtoBuf.ProtoMember(5)]
        public global::System.Collections.Generic.List<Stats> stats { get; } = new global::System.Collections.Generic.List<Stats>();

        [global::ProtoBuf.ProtoMember(6)]
        public global::System.Collections.Generic.List<Achievement_Blocks> achievement_blocks { get; } = new global::System.Collections.Generic.List<Achievement_Blocks>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Stats : 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 stat_id
            {
                get => __pbn__stat_id.GetValueOrDefault();
                set => __pbn__stat_id = value;
            }
            public bool ShouldSerializestat_id() => __pbn__stat_id != null;
            public void Resetstat_id() => __pbn__stat_id = null;
            private uint? __pbn__stat_id;

            [global::ProtoBuf.ProtoMember(2)]
            public uint stat_value
            {
                get => __pbn__stat_value.GetValueOrDefault();
                set => __pbn__stat_value = value;
            }
            public bool ShouldSerializestat_value() => __pbn__stat_value != null;
            public void Resetstat_value() => __pbn__stat_value = null;
            private uint? __pbn__stat_value;

        }

        [global::ProtoBuf.ProtoContract()]
        public partial class Achievement_Blocks : 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 achievement_id
            {
                get => __pbn__achievement_id.GetValueOrDefault();
                set => __pbn__achievement_id = value;
            }
            public bool ShouldSerializeachievement_id() => __pbn__achievement_id != null;
            public void Resetachievement_id() => __pbn__achievement_id = null;
            private uint? __pbn__achievement_id;

            [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public global::System.Collections.Generic.List<uint> unlock_time { get; } = new global::System.Collections.Generic.List<uint>();

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientStoreUserStatsResponse : 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 game_id
        {
            get => __pbn__game_id.GetValueOrDefault();
            set => __pbn__game_id = value;
        }
        public bool ShouldSerializegame_id() => __pbn__game_id != null;
        public void Resetgame_id() => __pbn__game_id = null;
        private ulong? __pbn__game_id;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue(2)]
        public int eresult
        {
            get => __pbn__eresult ?? 2;
            set => __pbn__eresult = value;
        }
        public bool ShouldSerializeeresult() => __pbn__eresult != null;
        public void Reseteresult() => __pbn__eresult = null;
        private int? __pbn__eresult;

        [global::ProtoBuf.ProtoMember(3)]
        public uint crc_stats
        {
            get => __pbn__crc_stats.GetValueOrDefault();
            set => __pbn__crc_stats = value;
        }
        public bool ShouldSerializecrc_stats() => __pbn__crc_stats != null;
        public void Resetcrc_stats() => __pbn__crc_stats = null;
        private uint? __pbn__crc_stats;

        [global::ProtoBuf.ProtoMember(4)]
        public global::System.Collections.Generic.List<Stats_Failed_Validation> stats_failed_validation { get; } = new global::System.Collections.Generic.List<Stats_Failed_Validation>();

        [global::ProtoBuf.ProtoMember(5)]
        public bool stats_out_of_date
        {
            get => __pbn__stats_out_of_date.GetValueOrDefault();
            set => __pbn__stats_out_of_date = value;
        }
        public bool ShouldSerializestats_out_of_date() => __pbn__stats_out_of_date != null;
        public void Resetstats_out_of_date() => __pbn__stats_out_of_date = null;
        private bool? __pbn__stats_out_of_date;

        [global::ProtoBuf.ProtoContract()]
        public partial class Stats_Failed_Validation : 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 stat_id
            {
                get => __pbn__stat_id.GetValueOrDefault();
                set => __pbn__stat_id = value;
            }
            public bool ShouldSerializestat_id() => __pbn__stat_id != null;
            public void Resetstat_id() => __pbn__stat_id = null;
            private uint? __pbn__stat_id;

            [global::ProtoBuf.ProtoMember(2)]
            public uint reverted_stat_value
            {
                get => __pbn__reverted_stat_value.GetValueOrDefault();
                set => __pbn__reverted_stat_value = value;
            }
            public bool ShouldSerializereverted_stat_value() => __pbn__reverted_stat_value != null;
            public void Resetreverted_stat_value() => __pbn__reverted_stat_value = null;
            private uint? __pbn__reverted_stat_value;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientStoreUserStats2 : 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 game_id
        {
            get => __pbn__game_id.GetValueOrDefault();
            set => __pbn__game_id = value;
        }
        public bool ShouldSerializegame_id() => __pbn__game_id != null;
        public void Resetgame_id() => __pbn__game_id = null;
        private ulong? __pbn__game_id;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong settor_steam_id
        {
            get => __pbn__settor_steam_id.GetValueOrDefault();
            set => __pbn__settor_steam_id = value;
        }
        public bool ShouldSerializesettor_steam_id() => __pbn__settor_steam_id != null;
        public void Resetsettor_steam_id() => __pbn__settor_steam_id = null;
        private ulong? __pbn__settor_steam_id;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong settee_steam_id
        {
            get => __pbn__settee_steam_id.GetValueOrDefault();
            set => __pbn__settee_steam_id = value;
        }
        public bool ShouldSerializesettee_steam_id() => __pbn__settee_steam_id != null;
        public void Resetsettee_steam_id() => __pbn__settee_steam_id = null;
        private ulong? __pbn__settee_steam_id;

        [global::ProtoBuf.ProtoMember(4)]
        public uint crc_stats
        {
            get => __pbn__crc_stats.GetValueOrDefault();
            set => __pbn__crc_stats = value;
        }
        public bool ShouldSerializecrc_stats() => __pbn__crc_stats != null;
        public void Resetcrc_stats() => __pbn__crc_stats = null;
        private uint? __pbn__crc_stats;

        [global::ProtoBuf.ProtoMember(5)]
        public bool explicit_reset
        {
            get => __pbn__explicit_reset.GetValueOrDefault();
            set => __pbn__explicit_reset = value;
        }
        public bool ShouldSerializeexplicit_reset() => __pbn__explicit_reset != null;
        public void Resetexplicit_reset() => __pbn__explicit_reset = null;
        private bool? __pbn__explicit_reset;

        [global::ProtoBuf.ProtoMember(6)]
        public global::System.Collections.Generic.List<Stats> stats { get; } = new global::System.Collections.Generic.List<Stats>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Stats : 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 stat_id
            {
                get => __pbn__stat_id.GetValueOrDefault();
                set => __pbn__stat_id = value;
            }
            public bool ShouldSerializestat_id() => __pbn__stat_id != null;
            public void Resetstat_id() => __pbn__stat_id = null;
            private uint? __pbn__stat_id;

            [global::ProtoBuf.ProtoMember(2)]
            public uint stat_value
            {
                get => __pbn__stat_value.GetValueOrDefault();
                set => __pbn__stat_value = value;
            }
            public bool ShouldSerializestat_value() => __pbn__stat_value != null;
            public void Resetstat_value() => __pbn__stat_value = null;
            private uint? __pbn__stat_value;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientStatsUpdated : 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 steam_id
        {
            get => __pbn__steam_id.GetValueOrDefault();
            set => __pbn__steam_id = value;
        }
        public bool ShouldSerializesteam_id() => __pbn__steam_id != null;
        public void Resetsteam_id() => __pbn__steam_id = null;
        private ulong? __pbn__steam_id;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong game_id
        {
            get => __pbn__game_id.GetValueOrDefault();
            set => __pbn__game_id = value;
        }
        public bool ShouldSerializegame_id() => __pbn__game_id != null;
        public void Resetgame_id() => __pbn__game_id = null;
        private ulong? __pbn__game_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint crc_stats
        {
            get => __pbn__crc_stats.GetValueOrDefault();
            set => __pbn__crc_stats = value;
        }
        public bool ShouldSerializecrc_stats() => __pbn__crc_stats != null;
        public void Resetcrc_stats() => __pbn__crc_stats = null;
        private uint? __pbn__crc_stats;

        [global::ProtoBuf.ProtoMember(4)]
        public global::System.Collections.Generic.List<Updated_Stats> updated_stats { get; } = new global::System.Collections.Generic.List<Updated_Stats>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Updated_Stats : 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 stat_id
            {
                get => __pbn__stat_id.GetValueOrDefault();
                set => __pbn__stat_id = value;
            }
            public bool ShouldSerializestat_id() => __pbn__stat_id != null;
            public void Resetstat_id() => __pbn__stat_id = null;
            private uint? __pbn__stat_id;

            [global::ProtoBuf.ProtoMember(2)]
            public uint stat_value
            {
                get => __pbn__stat_value.GetValueOrDefault();
                set => __pbn__stat_value = value;
            }
            public bool ShouldSerializestat_value() => __pbn__stat_value != null;
            public void Resetstat_value() => __pbn__stat_value = null;
            private uint? __pbn__stat_value;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientStoreUserStats : 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 game_id
        {
            get => __pbn__game_id.GetValueOrDefault();
            set => __pbn__game_id = value;
        }
        public bool ShouldSerializegame_id() => __pbn__game_id != null;
        public void Resetgame_id() => __pbn__game_id = null;
        private ulong? __pbn__game_id;

        [global::ProtoBuf.ProtoMember(2)]
        public bool explicit_reset
        {
            get => __pbn__explicit_reset.GetValueOrDefault();
            set => __pbn__explicit_reset = value;
        }
        public bool ShouldSerializeexplicit_reset() => __pbn__explicit_reset != null;
        public void Resetexplicit_reset() => __pbn__explicit_reset = null;
        private bool? __pbn__explicit_reset;

        [global::ProtoBuf.ProtoMember(3)]
        public global::System.Collections.Generic.List<Stats_To_Store> stats_to_store { get; } = new global::System.Collections.Generic.List<Stats_To_Store>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Stats_To_Store : 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 stat_id
            {
                get => __pbn__stat_id.GetValueOrDefault();
                set => __pbn__stat_id = value;
            }
            public bool ShouldSerializestat_id() => __pbn__stat_id != null;
            public void Resetstat_id() => __pbn__stat_id = null;
            private uint? __pbn__stat_id;

            [global::ProtoBuf.ProtoMember(2)]
            public uint stat_value
            {
                get => __pbn__stat_value.GetValueOrDefault();
                set => __pbn__stat_value = value;
            }
            public bool ShouldSerializestat_value() => __pbn__stat_value != null;
            public void Resetstat_value() => __pbn__stat_value = null;
            private uint? __pbn__stat_value;

        }

    }

}

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