// <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_lbs.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 CMsgClientLBSSetScore : 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 app_id
        {
            get => __pbn__app_id.GetValueOrDefault();
            set => __pbn__app_id = value;
        }
        public bool ShouldSerializeapp_id() => __pbn__app_id != null;
        public void Resetapp_id() => __pbn__app_id = null;
        private uint? __pbn__app_id;

        [global::ProtoBuf.ProtoMember(2)]
        public int leaderboard_id
        {
            get => __pbn__leaderboard_id.GetValueOrDefault();
            set => __pbn__leaderboard_id = value;
        }
        public bool ShouldSerializeleaderboard_id() => __pbn__leaderboard_id != null;
        public void Resetleaderboard_id() => __pbn__leaderboard_id = null;
        private int? __pbn__leaderboard_id;

        [global::ProtoBuf.ProtoMember(3)]
        public int score
        {
            get => __pbn__score.GetValueOrDefault();
            set => __pbn__score = value;
        }
        public bool ShouldSerializescore() => __pbn__score != null;
        public void Resetscore() => __pbn__score = null;
        private int? __pbn__score;

        [global::ProtoBuf.ProtoMember(4)]
        public byte[] details
        {
            get => __pbn__details;
            set => __pbn__details = value;
        }
        public bool ShouldSerializedetails() => __pbn__details != null;
        public void Resetdetails() => __pbn__details = null;
        private byte[] __pbn__details;

        [global::ProtoBuf.ProtoMember(5)]
        public int upload_score_method
        {
            get => __pbn__upload_score_method.GetValueOrDefault();
            set => __pbn__upload_score_method = value;
        }
        public bool ShouldSerializeupload_score_method() => __pbn__upload_score_method != null;
        public void Resetupload_score_method() => __pbn__upload_score_method = null;
        private int? __pbn__upload_score_method;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientLBSSetScoreResponse : 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(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(2)]
        public int leaderboard_entry_count
        {
            get => __pbn__leaderboard_entry_count.GetValueOrDefault();
            set => __pbn__leaderboard_entry_count = value;
        }
        public bool ShouldSerializeleaderboard_entry_count() => __pbn__leaderboard_entry_count != null;
        public void Resetleaderboard_entry_count() => __pbn__leaderboard_entry_count = null;
        private int? __pbn__leaderboard_entry_count;

        [global::ProtoBuf.ProtoMember(3)]
        public bool score_changed
        {
            get => __pbn__score_changed.GetValueOrDefault();
            set => __pbn__score_changed = value;
        }
        public bool ShouldSerializescore_changed() => __pbn__score_changed != null;
        public void Resetscore_changed() => __pbn__score_changed = null;
        private bool? __pbn__score_changed;

        [global::ProtoBuf.ProtoMember(4)]
        public int global_rank_previous
        {
            get => __pbn__global_rank_previous.GetValueOrDefault();
            set => __pbn__global_rank_previous = value;
        }
        public bool ShouldSerializeglobal_rank_previous() => __pbn__global_rank_previous != null;
        public void Resetglobal_rank_previous() => __pbn__global_rank_previous = null;
        private int? __pbn__global_rank_previous;

        [global::ProtoBuf.ProtoMember(5)]
        public int global_rank_new
        {
            get => __pbn__global_rank_new.GetValueOrDefault();
            set => __pbn__global_rank_new = value;
        }
        public bool ShouldSerializeglobal_rank_new() => __pbn__global_rank_new != null;
        public void Resetglobal_rank_new() => __pbn__global_rank_new = null;
        private int? __pbn__global_rank_new;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientLBSSetUGC : 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 app_id
        {
            get => __pbn__app_id.GetValueOrDefault();
            set => __pbn__app_id = value;
        }
        public bool ShouldSerializeapp_id() => __pbn__app_id != null;
        public void Resetapp_id() => __pbn__app_id = null;
        private uint? __pbn__app_id;

        [global::ProtoBuf.ProtoMember(2)]
        public int leaderboard_id
        {
            get => __pbn__leaderboard_id.GetValueOrDefault();
            set => __pbn__leaderboard_id = value;
        }
        public bool ShouldSerializeleaderboard_id() => __pbn__leaderboard_id != null;
        public void Resetleaderboard_id() => __pbn__leaderboard_id = null;
        private int? __pbn__leaderboard_id;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong ugc_id
        {
            get => __pbn__ugc_id.GetValueOrDefault();
            set => __pbn__ugc_id = value;
        }
        public bool ShouldSerializeugc_id() => __pbn__ugc_id != null;
        public void Resetugc_id() => __pbn__ugc_id = null;
        private ulong? __pbn__ugc_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientLBSSetUGCResponse : 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(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.ProtoContract()]
    public partial class CMsgClientLBSFindOrCreateLB : 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 app_id
        {
            get => __pbn__app_id.GetValueOrDefault();
            set => __pbn__app_id = value;
        }
        public bool ShouldSerializeapp_id() => __pbn__app_id != null;
        public void Resetapp_id() => __pbn__app_id = null;
        private uint? __pbn__app_id;

        [global::ProtoBuf.ProtoMember(2)]
        public int leaderboard_sort_method
        {
            get => __pbn__leaderboard_sort_method.GetValueOrDefault();
            set => __pbn__leaderboard_sort_method = value;
        }
        public bool ShouldSerializeleaderboard_sort_method() => __pbn__leaderboard_sort_method != null;
        public void Resetleaderboard_sort_method() => __pbn__leaderboard_sort_method = null;
        private int? __pbn__leaderboard_sort_method;

        [global::ProtoBuf.ProtoMember(3)]
        public int leaderboard_display_type
        {
            get => __pbn__leaderboard_display_type.GetValueOrDefault();
            set => __pbn__leaderboard_display_type = value;
        }
        public bool ShouldSerializeleaderboard_display_type() => __pbn__leaderboard_display_type != null;
        public void Resetleaderboard_display_type() => __pbn__leaderboard_display_type = null;
        private int? __pbn__leaderboard_display_type;

        [global::ProtoBuf.ProtoMember(4)]
        public bool create_if_not_found
        {
            get => __pbn__create_if_not_found.GetValueOrDefault();
            set => __pbn__create_if_not_found = value;
        }
        public bool ShouldSerializecreate_if_not_found() => __pbn__create_if_not_found != null;
        public void Resetcreate_if_not_found() => __pbn__create_if_not_found = null;
        private bool? __pbn__create_if_not_found;

        [global::ProtoBuf.ProtoMember(5)]
        [global::System.ComponentModel.DefaultValue("")]
        public string leaderboard_name
        {
            get => __pbn__leaderboard_name ?? "";
            set => __pbn__leaderboard_name = value;
        }
        public bool ShouldSerializeleaderboard_name() => __pbn__leaderboard_name != null;
        public void Resetleaderboard_name() => __pbn__leaderboard_name = null;
        private string __pbn__leaderboard_name;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientLBSFindOrCreateLBResponse : 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(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(2)]
        public int leaderboard_id
        {
            get => __pbn__leaderboard_id.GetValueOrDefault();
            set => __pbn__leaderboard_id = value;
        }
        public bool ShouldSerializeleaderboard_id() => __pbn__leaderboard_id != null;
        public void Resetleaderboard_id() => __pbn__leaderboard_id = null;
        private int? __pbn__leaderboard_id;

        [global::ProtoBuf.ProtoMember(3)]
        public int leaderboard_entry_count
        {
            get => __pbn__leaderboard_entry_count.GetValueOrDefault();
            set => __pbn__leaderboard_entry_count = value;
        }
        public bool ShouldSerializeleaderboard_entry_count() => __pbn__leaderboard_entry_count != null;
        public void Resetleaderboard_entry_count() => __pbn__leaderboard_entry_count = null;
        private int? __pbn__leaderboard_entry_count;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue(0)]
        public int leaderboard_sort_method
        {
            get => __pbn__leaderboard_sort_method ?? 0;
            set => __pbn__leaderboard_sort_method = value;
        }
        public bool ShouldSerializeleaderboard_sort_method() => __pbn__leaderboard_sort_method != null;
        public void Resetleaderboard_sort_method() => __pbn__leaderboard_sort_method = null;
        private int? __pbn__leaderboard_sort_method;

        [global::ProtoBuf.ProtoMember(5)]
        [global::System.ComponentModel.DefaultValue(0)]
        public int leaderboard_display_type
        {
            get => __pbn__leaderboard_display_type ?? 0;
            set => __pbn__leaderboard_display_type = value;
        }
        public bool ShouldSerializeleaderboard_display_type() => __pbn__leaderboard_display_type != null;
        public void Resetleaderboard_display_type() => __pbn__leaderboard_display_type = null;
        private int? __pbn__leaderboard_display_type;

        [global::ProtoBuf.ProtoMember(6)]
        [global::System.ComponentModel.DefaultValue("")]
        public string leaderboard_name
        {
            get => __pbn__leaderboard_name ?? "";
            set => __pbn__leaderboard_name = value;
        }
        public bool ShouldSerializeleaderboard_name() => __pbn__leaderboard_name != null;
        public void Resetleaderboard_name() => __pbn__leaderboard_name = null;
        private string __pbn__leaderboard_name;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientLBSGetLBEntries : 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 int app_id
        {
            get => __pbn__app_id.GetValueOrDefault();
            set => __pbn__app_id = value;
        }
        public bool ShouldSerializeapp_id() => __pbn__app_id != null;
        public void Resetapp_id() => __pbn__app_id = null;
        private int? __pbn__app_id;

        [global::ProtoBuf.ProtoMember(2)]
        public int leaderboard_id
        {
            get => __pbn__leaderboard_id.GetValueOrDefault();
            set => __pbn__leaderboard_id = value;
        }
        public bool ShouldSerializeleaderboard_id() => __pbn__leaderboard_id != null;
        public void Resetleaderboard_id() => __pbn__leaderboard_id = null;
        private int? __pbn__leaderboard_id;

        [global::ProtoBuf.ProtoMember(3)]
        public int range_start
        {
            get => __pbn__range_start.GetValueOrDefault();
            set => __pbn__range_start = value;
        }
        public bool ShouldSerializerange_start() => __pbn__range_start != null;
        public void Resetrange_start() => __pbn__range_start = null;
        private int? __pbn__range_start;

        [global::ProtoBuf.ProtoMember(4)]
        public int range_end
        {
            get => __pbn__range_end.GetValueOrDefault();
            set => __pbn__range_end = value;
        }
        public bool ShouldSerializerange_end() => __pbn__range_end != null;
        public void Resetrange_end() => __pbn__range_end = null;
        private int? __pbn__range_end;

        [global::ProtoBuf.ProtoMember(5)]
        public int leaderboard_data_request
        {
            get => __pbn__leaderboard_data_request.GetValueOrDefault();
            set => __pbn__leaderboard_data_request = value;
        }
        public bool ShouldSerializeleaderboard_data_request() => __pbn__leaderboard_data_request != null;
        public void Resetleaderboard_data_request() => __pbn__leaderboard_data_request = null;
        private int? __pbn__leaderboard_data_request;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientLBSGetLBEntriesResponse : 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(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(2)]
        public int leaderboard_entry_count
        {
            get => __pbn__leaderboard_entry_count.GetValueOrDefault();
            set => __pbn__leaderboard_entry_count = value;
        }
        public bool ShouldSerializeleaderboard_entry_count() => __pbn__leaderboard_entry_count != null;
        public void Resetleaderboard_entry_count() => __pbn__leaderboard_entry_count = null;
        private int? __pbn__leaderboard_entry_count;

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

        [global::ProtoBuf.ProtoContract()]
        public partial class Entry : 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_user
            {
                get => __pbn__steam_id_user.GetValueOrDefault();
                set => __pbn__steam_id_user = value;
            }
            public bool ShouldSerializesteam_id_user() => __pbn__steam_id_user != null;
            public void Resetsteam_id_user() => __pbn__steam_id_user = null;
            private ulong? __pbn__steam_id_user;

            [global::ProtoBuf.ProtoMember(2)]
            public int global_rank
            {
                get => __pbn__global_rank.GetValueOrDefault();
                set => __pbn__global_rank = value;
            }
            public bool ShouldSerializeglobal_rank() => __pbn__global_rank != null;
            public void Resetglobal_rank() => __pbn__global_rank = null;
            private int? __pbn__global_rank;

            [global::ProtoBuf.ProtoMember(3)]
            public int score
            {
                get => __pbn__score.GetValueOrDefault();
                set => __pbn__score = value;
            }
            public bool ShouldSerializescore() => __pbn__score != null;
            public void Resetscore() => __pbn__score = null;
            private int? __pbn__score;

            [global::ProtoBuf.ProtoMember(4)]
            public byte[] details
            {
                get => __pbn__details;
                set => __pbn__details = value;
            }
            public bool ShouldSerializedetails() => __pbn__details != null;
            public void Resetdetails() => __pbn__details = null;
            private byte[] __pbn__details;

            [global::ProtoBuf.ProtoMember(5, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong ugc_id
            {
                get => __pbn__ugc_id.GetValueOrDefault();
                set => __pbn__ugc_id = value;
            }
            public bool ShouldSerializeugc_id() => __pbn__ugc_id != null;
            public void Resetugc_id() => __pbn__ugc_id = null;
            private ulong? __pbn__ugc_id;

        }

    }

}

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