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

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

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCStartMatchmaking : 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(2)]
        public CMsgStartFindingMatchInfo match_info { get; set; }

        [global::ProtoBuf.ProtoMember(3)]
        public ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(4)]
        public uint tourney_phase_id
        {
            get => __pbn__tourney_phase_id.GetValueOrDefault();
            set => __pbn__tourney_phase_id = value;
        }
        public bool ShouldSerializetourney_phase_id() => __pbn__tourney_phase_id != null;
        public void Resettourney_phase_id() => __pbn__tourney_phase_id = null;
        private uint? __pbn__tourney_phase_id;

        [global::ProtoBuf.ProtoMember(5)]
        public uint tourney_series_id
        {
            get => __pbn__tourney_series_id.GetValueOrDefault();
            set => __pbn__tourney_series_id = value;
        }
        public bool ShouldSerializetourney_series_id() => __pbn__tourney_series_id != null;
        public void Resettourney_series_id() => __pbn__tourney_series_id = null;
        private uint? __pbn__tourney_series_id;

        [global::ProtoBuf.ProtoMember(6)]
        public CMsgRegionPingTimesClient ping_times { get; set; }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCStartMatchmakingResponse : 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(EResultCode.k_EResult_OK)]
        public EResultCode result
        {
            get => __pbn__result ?? EResultCode.k_EResult_OK;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResultCode? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public uint tournament_opponent_id
        {
            get => __pbn__tournament_opponent_id.GetValueOrDefault();
            set => __pbn__tournament_opponent_id = value;
        }
        public bool ShouldSerializetournament_opponent_id() => __pbn__tournament_opponent_id != null;
        public void Resettournament_opponent_id() => __pbn__tournament_opponent_id = null;
        private uint? __pbn__tournament_opponent_id;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string debug_message
        {
            get => __pbn__debug_message ?? "";
            set => __pbn__debug_message = value;
        }
        public bool ShouldSerializedebug_message() => __pbn__debug_message != null;
        public void Resetdebug_message() => __pbn__debug_message = null;
        private string __pbn__debug_message;

        [global::ProtoBuf.ProtoContract()]
        public enum EResultCode
        {
            k_EResult_OK = 0,
            k_EResult_AlreadyFindingMatch = 1,
            k_EResult_PartyMemberInLobby = 2,
            k_EResult_InvalidClientVersion = 3,
            k_EResult_MatchmakingDisabled = 4,
            k_EResult_MatchmakingTooBusy = 5,
            k_EResult_GauntletClosed = 6,
            k_EResult_InvalidGauntlet = 7,
            k_EResult_InternalError = 8,
            k_EResult_InvalidDeck = 9,
            k_EResult_HasUnownedCards = 10,
            k_EResult_TournamentNoMatches = 11,
            k_EResult_TournamentNoDeck = 13,
            k_EResult_NoRegionPings = 14,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCStopMatchmaking : 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 CMsgClientToGCStopMatchmakingResponse : 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 success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientMatchmakingStopped : 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(EReason.k_EResult_Unspecified)]
        public EReason reason
        {
            get => __pbn__reason ?? EReason.k_EResult_Unspecified;
            set => __pbn__reason = value;
        }
        public bool ShouldSerializereason() => __pbn__reason != null;
        public void Resetreason() => __pbn__reason = null;
        private EReason? __pbn__reason;

        [global::ProtoBuf.ProtoContract()]
        public enum EReason
        {
            k_EResult_Unspecified = 0,
            k_EResult_VersionUpdated = 1,
            k_EResult_FailedReadyUp = 2,
            k_EResult_TourneySeriesClosed = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLeaveLobby : 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 ulong lobby_id
        {
            get => __pbn__lobby_id.GetValueOrDefault();
            set => __pbn__lobby_id = value;
        }
        public bool ShouldSerializelobby_id() => __pbn__lobby_id != null;
        public void Resetlobby_id() => __pbn__lobby_id = null;
        private ulong? __pbn__lobby_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLeaveLobbyResponse : 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 CMsgGCToClientDefaultValidator : 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 CMsgDeckValidator validator { get; set; }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientWelcomeDCG : 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 currency
        {
            get => __pbn__currency.GetValueOrDefault();
            set => __pbn__currency = value;
        }
        public bool ShouldSerializecurrency() => __pbn__currency != null;
        public void Resetcurrency() => __pbn__currency = null;
        private uint? __pbn__currency;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<CExtraMsgBlock> extra_messages { get; } = new global::System.Collections.Generic.List<CExtraMsgBlock>();

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCJoinChatChannel : 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(EChatRoomType.k_EChatRoomType_Invalid)]
        public EChatRoomType room_type
        {
            get => __pbn__room_type ?? EChatRoomType.k_EChatRoomType_Invalid;
            set => __pbn__room_type = value;
        }
        public bool ShouldSerializeroom_type() => __pbn__room_type != null;
        public void Resetroom_type() => __pbn__room_type = null;
        private EChatRoomType? __pbn__room_type;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong room_key
        {
            get => __pbn__room_key.GetValueOrDefault();
            set => __pbn__room_key = value;
        }
        public bool ShouldSerializeroom_key() => __pbn__room_key != null;
        public void Resetroom_key() => __pbn__room_key = null;
        private ulong? __pbn__room_key;

        [global::ProtoBuf.ProtoMember(3)]
        public uint sub_room_index
        {
            get => __pbn__sub_room_index.GetValueOrDefault();
            set => __pbn__sub_room_index = value;
        }
        public bool ShouldSerializesub_room_index() => __pbn__sub_room_index != null;
        public void Resetsub_room_index() => __pbn__sub_room_index = null;
        private uint? __pbn__sub_room_index;

        [global::ProtoBuf.ProtoMember(4)]
        public uint request_id
        {
            get => __pbn__request_id.GetValueOrDefault();
            set => __pbn__request_id = value;
        }
        public bool ShouldSerializerequest_id() => __pbn__request_id != null;
        public void Resetrequest_id() => __pbn__request_id = null;
        private uint? __pbn__request_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCJoinChatChannelResponse : 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(EResult.k_EResult_Success)]
        public EResult result
        {
            get => __pbn__result ?? EResult.k_EResult_Success;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResult? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResult
        {
            k_EResult_Success = 0,
            k_EResult_InvalidRoom = 1,
            k_EResult_PermissionDenied = 2,
            k_EResult_InternalError = 3,
            k_EResult_RoomOffline = 4,
            k_EResult_AlreadyJoined = 5,
            k_EResult_RateLimited = 6,
            k_EResult_TooManyRooms = 7,
            k_EResult_ChatBanned = 8,
            k_EResult_AccountNotLinked = 9,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientChatChannelJoined : 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 success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

        [global::ProtoBuf.ProtoMember(2)]
        public uint request_id
        {
            get => __pbn__request_id.GetValueOrDefault();
            set => __pbn__request_id = value;
        }
        public bool ShouldSerializerequest_id() => __pbn__request_id != null;
        public void Resetrequest_id() => __pbn__request_id = null;
        private uint? __pbn__request_id;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong chat_room_id
        {
            get => __pbn__chat_room_id.GetValueOrDefault();
            set => __pbn__chat_room_id = value;
        }
        public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null;
        public void Resetchat_room_id() => __pbn__chat_room_id = null;
        private ulong? __pbn__chat_room_id;

        [global::ProtoBuf.ProtoMember(4)]
        public uint sub_room_index
        {
            get => __pbn__sub_room_index.GetValueOrDefault();
            set => __pbn__sub_room_index = value;
        }
        public bool ShouldSerializesub_room_index() => __pbn__sub_room_index != null;
        public void Resetsub_room_index() => __pbn__sub_room_index = null;
        private uint? __pbn__sub_room_index;

        [global::ProtoBuf.ProtoMember(5)]
        public bool aliased_user_ids
        {
            get => __pbn__aliased_user_ids.GetValueOrDefault();
            set => __pbn__aliased_user_ids = value;
        }
        public bool ShouldSerializealiased_user_ids() => __pbn__aliased_user_ids != null;
        public void Resetaliased_user_ids() => __pbn__aliased_user_ids = null;
        private bool? __pbn__aliased_user_ids;

        [global::ProtoBuf.ProtoMember(6)]
        public uint local_aliased_id
        {
            get => __pbn__local_aliased_id.GetValueOrDefault();
            set => __pbn__local_aliased_id = value;
        }
        public bool ShouldSerializelocal_aliased_id() => __pbn__local_aliased_id != null;
        public void Resetlocal_aliased_id() => __pbn__local_aliased_id = null;
        private uint? __pbn__local_aliased_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCSendChatMessage : 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 chat_room_id
        {
            get => __pbn__chat_room_id.GetValueOrDefault();
            set => __pbn__chat_room_id = value;
        }
        public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null;
        public void Resetchat_room_id() => __pbn__chat_room_id = null;
        private ulong? __pbn__chat_room_id;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string chat_msg
        {
            get => __pbn__chat_msg ?? "";
            set => __pbn__chat_msg = value;
        }
        public bool ShouldSerializechat_msg() => __pbn__chat_msg != null;
        public void Resetchat_msg() => __pbn__chat_msg = null;
        private string __pbn__chat_msg;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCSendChatMessageRoll : 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 chat_room_id
        {
            get => __pbn__chat_room_id.GetValueOrDefault();
            set => __pbn__chat_room_id = value;
        }
        public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null;
        public void Resetchat_room_id() => __pbn__chat_room_id = null;
        private ulong? __pbn__chat_room_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint roll_min
        {
            get => __pbn__roll_min.GetValueOrDefault();
            set => __pbn__roll_min = value;
        }
        public bool ShouldSerializeroll_min() => __pbn__roll_min != null;
        public void Resetroll_min() => __pbn__roll_min = null;
        private uint? __pbn__roll_min;

        [global::ProtoBuf.ProtoMember(3)]
        public uint roll_max
        {
            get => __pbn__roll_max.GetValueOrDefault();
            set => __pbn__roll_max = value;
        }
        public bool ShouldSerializeroll_max() => __pbn__roll_max != null;
        public void Resetroll_max() => __pbn__roll_max = null;
        private uint? __pbn__roll_max;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CChatMessageAdditionalData_DiceRoll : 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 roll_value
        {
            get => __pbn__roll_value.GetValueOrDefault();
            set => __pbn__roll_value = value;
        }
        public bool ShouldSerializeroll_value() => __pbn__roll_value != null;
        public void Resetroll_value() => __pbn__roll_value = null;
        private uint? __pbn__roll_value;

        [global::ProtoBuf.ProtoMember(2)]
        public uint roll_min
        {
            get => __pbn__roll_min.GetValueOrDefault();
            set => __pbn__roll_min = value;
        }
        public bool ShouldSerializeroll_min() => __pbn__roll_min != null;
        public void Resetroll_min() => __pbn__roll_min = null;
        private uint? __pbn__roll_min;

        [global::ProtoBuf.ProtoMember(3)]
        public uint roll_max
        {
            get => __pbn__roll_max.GetValueOrDefault();
            set => __pbn__roll_max = value;
        }
        public bool ShouldSerializeroll_max() => __pbn__roll_max != null;
        public void Resetroll_max() => __pbn__roll_max = null;
        private uint? __pbn__roll_max;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientChatMessage : 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 chat_room_id
        {
            get => __pbn__chat_room_id.GetValueOrDefault();
            set => __pbn__chat_room_id = value;
        }
        public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null;
        public void Resetchat_room_id() => __pbn__chat_room_id = null;
        private ulong? __pbn__chat_room_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint user_id
        {
            get => __pbn__user_id.GetValueOrDefault();
            set => __pbn__user_id = value;
        }
        public bool ShouldSerializeuser_id() => __pbn__user_id != null;
        public void Resetuser_id() => __pbn__user_id = null;
        private uint? __pbn__user_id;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string chat_msg
        {
            get => __pbn__chat_msg ?? "";
            set => __pbn__chat_msg = value;
        }
        public bool ShouldSerializechat_msg() => __pbn__chat_msg != null;
        public void Resetchat_msg() => __pbn__chat_msg = null;
        private string __pbn__chat_msg;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue("")]
        public string persona_name
        {
            get => __pbn__persona_name ?? "";
            set => __pbn__persona_name = value;
        }
        public bool ShouldSerializepersona_name() => __pbn__persona_name != null;
        public void Resetpersona_name() => __pbn__persona_name = null;
        private string __pbn__persona_name;

        [global::ProtoBuf.ProtoMember(5)]
        public CExtraMsgBlock additional_data { get; set; }

        [global::ProtoBuf.ProtoMember(6)]
        public uint time_stamp
        {
            get => __pbn__time_stamp.GetValueOrDefault();
            set => __pbn__time_stamp = value;
        }
        public bool ShouldSerializetime_stamp() => __pbn__time_stamp != null;
        public void Resettime_stamp() => __pbn__time_stamp = null;
        private uint? __pbn__time_stamp;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientUserJoinedChatChannel : 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 chat_room_id
        {
            get => __pbn__chat_room_id.GetValueOrDefault();
            set => __pbn__chat_room_id = value;
        }
        public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null;
        public void Resetchat_room_id() => __pbn__chat_room_id = null;
        private ulong? __pbn__chat_room_id;

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

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

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLeaveChatChannel : 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 chat_room_id
        {
            get => __pbn__chat_room_id.GetValueOrDefault();
            set => __pbn__chat_room_id = value;
        }
        public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null;
        public void Resetchat_room_id() => __pbn__chat_room_id = null;
        private ulong? __pbn__chat_room_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLeaveChatChannelByKey : 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(EChatRoomType.k_EChatRoomType_Invalid)]
        public EChatRoomType room_type
        {
            get => __pbn__room_type ?? EChatRoomType.k_EChatRoomType_Invalid;
            set => __pbn__room_type = value;
        }
        public bool ShouldSerializeroom_type() => __pbn__room_type != null;
        public void Resetroom_type() => __pbn__room_type = null;
        private EChatRoomType? __pbn__room_type;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong room_key
        {
            get => __pbn__room_key.GetValueOrDefault();
            set => __pbn__room_key = value;
        }
        public bool ShouldSerializeroom_key() => __pbn__room_key != null;
        public void Resetroom_key() => __pbn__room_key = null;
        private ulong? __pbn__room_key;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCIsInMatchmaking : 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 CMsgClientToGCIsInMatchmakingResponse : 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 in_matchmaking
        {
            get => __pbn__in_matchmaking.GetValueOrDefault();
            set => __pbn__in_matchmaking = value;
        }
        public bool ShouldSerializein_matchmaking() => __pbn__in_matchmaking != null;
        public void Resetin_matchmaking() => __pbn__in_matchmaking = null;
        private bool? __pbn__in_matchmaking;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCOpenPackItem : 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 ulong item_id
        {
            get => __pbn__item_id.GetValueOrDefault();
            set => __pbn__item_id = value;
        }
        public bool ShouldSerializeitem_id() => __pbn__item_id != null;
        public void Resetitem_id() => __pbn__item_id = null;
        private ulong? __pbn__item_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCOpenPackItemResponse : 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(EResponse.k_eSuccess)]
        public EResponse response
        {
            get => __pbn__response ?? EResponse.k_eSuccess;
            set => __pbn__response = value;
        }
        public bool ShouldSerializeresponse() => __pbn__response != null;
        public void Resetresponse() => __pbn__response = null;
        private EResponse? __pbn__response;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<OpenedItem> items { get; } = new global::System.Collections.Generic.List<OpenedItem>();

        [global::ProtoBuf.ProtoContract()]
        public partial class OpenedItem : 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 def_index
            {
                get => __pbn__def_index.GetValueOrDefault();
                set => __pbn__def_index = value;
            }
            public bool ShouldSerializedef_index() => __pbn__def_index != null;
            public void Resetdef_index() => __pbn__def_index = null;
            private uint? __pbn__def_index;

            [global::ProtoBuf.ProtoMember(2)]
            public ulong item_id
            {
                get => __pbn__item_id.GetValueOrDefault();
                set => __pbn__item_id = value;
            }
            public bool ShouldSerializeitem_id() => __pbn__item_id != null;
            public void Resetitem_id() => __pbn__item_id = null;
            private ulong? __pbn__item_id;

            [global::ProtoBuf.ProtoMember(3)]
            [global::System.ComponentModel.DefaultValue(CMsgClientToGCOpenPackItemResponse.ESlotType.k_eSlot_Unspecified)]
            public CMsgClientToGCOpenPackItemResponse.ESlotType slot_type
            {
                get => __pbn__slot_type ?? CMsgClientToGCOpenPackItemResponse.ESlotType.k_eSlot_Unspecified;
                set => __pbn__slot_type = value;
            }
            public bool ShouldSerializeslot_type() => __pbn__slot_type != null;
            public void Resetslot_type() => __pbn__slot_type = null;
            private CMsgClientToGCOpenPackItemResponse.ESlotType? __pbn__slot_type;

        }

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eSuccess = 1,
            k_eTooManyRequests = 2,
            k_eInternalError = 3,
            k_eInvalidItemID = 4,
            k_eDisabled = 5,
            k_eRegionLocked = 6,
        }

        [global::ProtoBuf.ProtoContract()]
        public enum ESlotType
        {
            k_eSlot_Unspecified = 0,
            k_eSlot_Common = 1,
            k_eSlot_Uncommon = 2,
            k_eSlot_Rare = 3,
            k_eSlot_UncommonFromCommon = 4,
            k_eSlot_RareFromCommon = 5,
            k_eSlot_RareFromUncommon = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCSpectateUser : 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 spectate_account_id
        {
            get => __pbn__spectate_account_id.GetValueOrDefault();
            set => __pbn__spectate_account_id = value;
        }
        public bool ShouldSerializespectate_account_id() => __pbn__spectate_account_id != null;
        public void Resetspectate_account_id() => __pbn__spectate_account_id = null;
        private uint? __pbn__spectate_account_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCSpectateUserResponse : 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(EResult.eResult_OK)]
        public EResult result
        {
            get => __pbn__result ?? EResult.eResult_OK;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResult? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong match_id
        {
            get => __pbn__match_id.GetValueOrDefault();
            set => __pbn__match_id = value;
        }
        public bool ShouldSerializematch_id() => __pbn__match_id != null;
        public void Resetmatch_id() => __pbn__match_id = null;
        private ulong? __pbn__match_id;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong server_steam_id
        {
            get => __pbn__server_steam_id.GetValueOrDefault();
            set => __pbn__server_steam_id = value;
        }
        public bool ShouldSerializeserver_steam_id() => __pbn__server_steam_id != null;
        public void Resetserver_steam_id() => __pbn__server_steam_id = null;
        private ulong? __pbn__server_steam_id;

        [global::ProtoBuf.ProtoMember(4)]
        public byte[] sdr_key
        {
            get => __pbn__sdr_key;
            set => __pbn__sdr_key = value;
        }
        public bool ShouldSerializesdr_key() => __pbn__sdr_key != null;
        public void Resetsdr_key() => __pbn__sdr_key = null;
        private byte[] __pbn__sdr_key;

        [global::ProtoBuf.ProtoMember(5)]
        public uint udp_connect_ip
        {
            get => __pbn__udp_connect_ip.GetValueOrDefault();
            set => __pbn__udp_connect_ip = value;
        }
        public bool ShouldSerializeudp_connect_ip() => __pbn__udp_connect_ip != null;
        public void Resetudp_connect_ip() => __pbn__udp_connect_ip = null;
        private uint? __pbn__udp_connect_ip;

        [global::ProtoBuf.ProtoMember(6)]
        public uint udp_connect_port
        {
            get => __pbn__udp_connect_port.GetValueOrDefault();
            set => __pbn__udp_connect_port = value;
        }
        public bool ShouldSerializeudp_connect_port() => __pbn__udp_connect_port != null;
        public void Resetudp_connect_port() => __pbn__udp_connect_port = null;
        private uint? __pbn__udp_connect_port;

        [global::ProtoBuf.ProtoContract()]
        public enum EResult
        {
            eResult_OK = 1,
            eResult_NotInGame = 2,
            eResult_InternalError = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetMatchHistory : 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 account_id
        {
            get => __pbn__account_id.GetValueOrDefault();
            set => __pbn__account_id = value;
        }
        public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
        public void Resetaccount_id() => __pbn__account_id = null;
        private uint? __pbn__account_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetMatchHistoryResponse : 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<MatchDetails> match_details { get; } = new global::System.Collections.Generic.List<MatchDetails>();

        [global::ProtoBuf.ProtoContract()]
        public partial class MatchDetails : 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 player1
            {
                get => __pbn__player1.GetValueOrDefault();
                set => __pbn__player1 = value;
            }
            public bool ShouldSerializeplayer1() => __pbn__player1 != null;
            public void Resetplayer1() => __pbn__player1 = null;
            private uint? __pbn__player1;

            [global::ProtoBuf.ProtoMember(2)]
            public uint player2
            {
                get => __pbn__player2.GetValueOrDefault();
                set => __pbn__player2 = value;
            }
            public bool ShouldSerializeplayer2() => __pbn__player2 != null;
            public void Resetplayer2() => __pbn__player2 = null;
            private uint? __pbn__player2;

            [global::ProtoBuf.ProtoMember(3)]
            public uint start_time
            {
                get => __pbn__start_time.GetValueOrDefault();
                set => __pbn__start_time = value;
            }
            public bool ShouldSerializestart_time() => __pbn__start_time != null;
            public void Resetstart_time() => __pbn__start_time = null;
            private uint? __pbn__start_time;

            [global::ProtoBuf.ProtoMember(4)]
            public uint duration
            {
                get => __pbn__duration.GetValueOrDefault();
                set => __pbn__duration = value;
            }
            public bool ShouldSerializeduration() => __pbn__duration != null;
            public void Resetduration() => __pbn__duration = null;
            private uint? __pbn__duration;

            [global::ProtoBuf.ProtoMember(5)]
            public uint turns
            {
                get => __pbn__turns.GetValueOrDefault();
                set => __pbn__turns = value;
            }
            public bool ShouldSerializeturns() => __pbn__turns != null;
            public void Resetturns() => __pbn__turns = null;
            private uint? __pbn__turns;

            [global::ProtoBuf.ProtoMember(6)]
            public ulong match_id
            {
                get => __pbn__match_id.GetValueOrDefault();
                set => __pbn__match_id = value;
            }
            public bool ShouldSerializematch_id() => __pbn__match_id != null;
            public void Resetmatch_id() => __pbn__match_id = null;
            private ulong? __pbn__match_id;

            [global::ProtoBuf.ProtoMember(7)]
            public uint outcome
            {
                get => __pbn__outcome.GetValueOrDefault();
                set => __pbn__outcome = value;
            }
            public bool ShouldSerializeoutcome() => __pbn__outcome != null;
            public void Resetoutcome() => __pbn__outcome = null;
            private uint? __pbn__outcome;

            [global::ProtoBuf.ProtoMember(8)]
            [global::System.ComponentModel.DefaultValue(EDCGMatchMode.k_EDCGMatchMode_Unranked)]
            public EDCGMatchMode match_mode
            {
                get => __pbn__match_mode ?? EDCGMatchMode.k_EDCGMatchMode_Unranked;
                set => __pbn__match_mode = value;
            }
            public bool ShouldSerializematch_mode() => __pbn__match_mode != null;
            public void Resetmatch_mode() => __pbn__match_mode = null;
            private EDCGMatchMode? __pbn__match_mode;

            [global::ProtoBuf.ProtoMember(9)]
            public global::System.Collections.Generic.List<uint> tower_health { get; } = new global::System.Collections.Generic.List<uint>();

            [global::ProtoBuf.ProtoMember(10)]
            public global::System.Collections.Generic.List<uint> heroes { get; } = new global::System.Collections.Generic.List<uint>();

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetMatchDetails : 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 ulong match_id
        {
            get => __pbn__match_id.GetValueOrDefault();
            set => __pbn__match_id = value;
        }
        public bool ShouldSerializematch_id() => __pbn__match_id != null;
        public void Resetmatch_id() => __pbn__match_id = null;
        private ulong? __pbn__match_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetMatchDetailsResponse : 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 player1
        {
            get => __pbn__player1.GetValueOrDefault();
            set => __pbn__player1 = value;
        }
        public bool ShouldSerializeplayer1() => __pbn__player1 != null;
        public void Resetplayer1() => __pbn__player1 = null;
        private uint? __pbn__player1;

        [global::ProtoBuf.ProtoMember(2)]
        public uint player2
        {
            get => __pbn__player2.GetValueOrDefault();
            set => __pbn__player2 = value;
        }
        public bool ShouldSerializeplayer2() => __pbn__player2 != null;
        public void Resetplayer2() => __pbn__player2 = null;
        private uint? __pbn__player2;

        [global::ProtoBuf.ProtoMember(3)]
        public uint start_time
        {
            get => __pbn__start_time.GetValueOrDefault();
            set => __pbn__start_time = value;
        }
        public bool ShouldSerializestart_time() => __pbn__start_time != null;
        public void Resetstart_time() => __pbn__start_time = null;
        private uint? __pbn__start_time;

        [global::ProtoBuf.ProtoMember(4)]
        public uint duration
        {
            get => __pbn__duration.GetValueOrDefault();
            set => __pbn__duration = value;
        }
        public bool ShouldSerializeduration() => __pbn__duration != null;
        public void Resetduration() => __pbn__duration = null;
        private uint? __pbn__duration;

        [global::ProtoBuf.ProtoMember(5)]
        public uint turns
        {
            get => __pbn__turns.GetValueOrDefault();
            set => __pbn__turns = value;
        }
        public bool ShouldSerializeturns() => __pbn__turns != null;
        public void Resetturns() => __pbn__turns = null;
        private uint? __pbn__turns;

        [global::ProtoBuf.ProtoMember(6)]
        public ulong match_id
        {
            get => __pbn__match_id.GetValueOrDefault();
            set => __pbn__match_id = value;
        }
        public bool ShouldSerializematch_id() => __pbn__match_id != null;
        public void Resetmatch_id() => __pbn__match_id = null;
        private ulong? __pbn__match_id;

        [global::ProtoBuf.ProtoMember(7)]
        public uint outcome
        {
            get => __pbn__outcome.GetValueOrDefault();
            set => __pbn__outcome = value;
        }
        public bool ShouldSerializeoutcome() => __pbn__outcome != null;
        public void Resetoutcome() => __pbn__outcome = null;
        private uint? __pbn__outcome;

        [global::ProtoBuf.ProtoMember(8)]
        [global::System.ComponentModel.DefaultValue(EDCGMatchMode.k_EDCGMatchMode_Unranked)]
        public EDCGMatchMode match_mode
        {
            get => __pbn__match_mode ?? EDCGMatchMode.k_EDCGMatchMode_Unranked;
            set => __pbn__match_mode = value;
        }
        public bool ShouldSerializematch_mode() => __pbn__match_mode != null;
        public void Resetmatch_mode() => __pbn__match_mode = null;
        private EDCGMatchMode? __pbn__match_mode;

        [global::ProtoBuf.ProtoMember(9)]
        public global::System.Collections.Generic.List<uint> tower_health1 { get; } = new global::System.Collections.Generic.List<uint>();

        [global::ProtoBuf.ProtoMember(10)]
        public global::System.Collections.Generic.List<uint> tower_health2 { get; } = new global::System.Collections.Generic.List<uint>();

        [global::ProtoBuf.ProtoMember(11)]
        public global::System.Collections.Generic.List<uint> heroes1 { get; } = new global::System.Collections.Generic.List<uint>();

        [global::ProtoBuf.ProtoMember(12)]
        public global::System.Collections.Generic.List<uint> heroes2 { get; } = new global::System.Collections.Generic.List<uint>();

        [global::ProtoBuf.ProtoMember(13)]
        [global::System.ComponentModel.DefaultValue(EResult.eResult_Success)]
        public EResult result
        {
            get => __pbn__result ?? EResult.eResult_Success;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResult? __pbn__result;

        [global::ProtoBuf.ProtoMember(14)]
        public uint cluster_id
        {
            get => __pbn__cluster_id.GetValueOrDefault();
            set => __pbn__cluster_id = value;
        }
        public bool ShouldSerializecluster_id() => __pbn__cluster_id != null;
        public void Resetcluster_id() => __pbn__cluster_id = null;
        private uint? __pbn__cluster_id;

        [global::ProtoBuf.ProtoMember(15)]
        public uint replay_salt
        {
            get => __pbn__replay_salt.GetValueOrDefault();
            set => __pbn__replay_salt = value;
        }
        public bool ShouldSerializereplay_salt() => __pbn__replay_salt != null;
        public void Resetreplay_salt() => __pbn__replay_salt = null;
        private uint? __pbn__replay_salt;

        [global::ProtoBuf.ProtoContract()]
        public enum EResult
        {
            eResult_Success = 0,
            eResult_InvalidMatch = 1,
            eResult_NotAuthorized = 2,
            eResult_InternalError = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetAIVsAIMatchConfig : 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 CMsgClientToGCGetAIVsAIMatchConfigResponse : 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 success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

        [global::ProtoBuf.ProtoMember(2)]
        public uint ai_match_id
        {
            get => __pbn__ai_match_id.GetValueOrDefault();
            set => __pbn__ai_match_id = value;
        }
        public bool ShouldSerializeai_match_id() => __pbn__ai_match_id != null;
        public void Resetai_match_id() => __pbn__ai_match_id = null;
        private uint? __pbn__ai_match_id;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string ai_0_deck_code
        {
            get => __pbn__ai_0_deck_code ?? "";
            set => __pbn__ai_0_deck_code = value;
        }
        public bool ShouldSerializeai_0_deck_code() => __pbn__ai_0_deck_code != null;
        public void Resetai_0_deck_code() => __pbn__ai_0_deck_code = null;
        private string __pbn__ai_0_deck_code;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue("")]
        public string ai_1_deck_code
        {
            get => __pbn__ai_1_deck_code ?? "";
            set => __pbn__ai_1_deck_code = value;
        }
        public bool ShouldSerializeai_1_deck_code() => __pbn__ai_1_deck_code != null;
        public void Resetai_1_deck_code() => __pbn__ai_1_deck_code = null;
        private string __pbn__ai_1_deck_code;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetAIVsAIMatchComplete : 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 ai_match_id
        {
            get => __pbn__ai_match_id.GetValueOrDefault();
            set => __pbn__ai_match_id = value;
        }
        public bool ShouldSerializeai_match_id() => __pbn__ai_match_id != null;
        public void Resetai_match_id() => __pbn__ai_match_id = null;
        private uint? __pbn__ai_match_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint winning_player
        {
            get => __pbn__winning_player.GetValueOrDefault();
            set => __pbn__winning_player = value;
        }
        public bool ShouldSerializewinning_player() => __pbn__winning_player != null;
        public void Resetwinning_player() => __pbn__winning_player = null;
        private uint? __pbn__winning_player;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientGlobalPhantomLeagues : 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(3)]
        public byte[] global_deck_bytes
        {
            get => __pbn__global_deck_bytes;
            set => __pbn__global_deck_bytes = value;
        }
        public bool ShouldSerializeglobal_deck_bytes() => __pbn__global_deck_bytes != null;
        public void Resetglobal_deck_bytes() => __pbn__global_deck_bytes = null;
        private byte[] __pbn__global_deck_bytes;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCJoinGauntlet : 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 gauntlet_id
        {
            get => __pbn__gauntlet_id.GetValueOrDefault();
            set => __pbn__gauntlet_id = value;
        }
        public bool ShouldSerializegauntlet_id() => __pbn__gauntlet_id != null;
        public void Resetgauntlet_id() => __pbn__gauntlet_id = null;
        private uint? __pbn__gauntlet_id;

        [global::ProtoBuf.ProtoMember(2)]
        public byte[] deck_bytes
        {
            get => __pbn__deck_bytes;
            set => __pbn__deck_bytes = value;
        }
        public bool ShouldSerializedeck_bytes() => __pbn__deck_bytes != null;
        public void Resetdeck_bytes() => __pbn__deck_bytes = null;
        private byte[] __pbn__deck_bytes;

        [global::ProtoBuf.ProtoMember(3)]
        public uint entry_id
        {
            get => __pbn__entry_id.GetValueOrDefault();
            set => __pbn__entry_id = value;
        }
        public bool ShouldSerializeentry_id() => __pbn__entry_id != null;
        public void Resetentry_id() => __pbn__entry_id = null;
        private uint? __pbn__entry_id;

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

        [global::ProtoBuf.ProtoMember(5)]
        public bool select_random_deck
        {
            get => __pbn__select_random_deck.GetValueOrDefault();
            set => __pbn__select_random_deck = value;
        }
        public bool ShouldSerializeselect_random_deck() => __pbn__select_random_deck != null;
        public void Resetselect_random_deck() => __pbn__select_random_deck = null;
        private bool? __pbn__select_random_deck;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCJoinGauntletResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public uint available_after
        {
            get => __pbn__available_after.GetValueOrDefault();
            set => __pbn__available_after = value;
        }
        public bool ShouldSerializeavailable_after() => __pbn__available_after != null;
        public void Resetavailable_after() => __pbn__available_after = null;
        private uint? __pbn__available_after;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eInvalidGauntlet = 2,
            k_eTooBusy = 3,
            k_eAlreadyInGauntlet = 4,
            k_eInvalidDeck = 5,
            k_eMissingItem = 6,
            k_eInvalidEntryCost = 7,
            k_eDisabled = 8,
            k_eHasUnownedCards = 9,
            k_eRateLimited = 10,
            k_eRandomDeckNotAllowed = 11,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCAbandonGauntlet : 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 gauntlet_id
        {
            get => __pbn__gauntlet_id.GetValueOrDefault();
            set => __pbn__gauntlet_id = value;
        }
        public bool ShouldSerializegauntlet_id() => __pbn__gauntlet_id != null;
        public void Resetgauntlet_id() => __pbn__gauntlet_id = null;
        private uint? __pbn__gauntlet_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCAbandonGauntletResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<RewardItem> reward_items { get; } = new global::System.Collections.Generic.List<RewardItem>();

        [global::ProtoBuf.ProtoContract()]
        public partial class RewardItem : 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 def_index
            {
                get => __pbn__def_index.GetValueOrDefault();
                set => __pbn__def_index = value;
            }
            public bool ShouldSerializedef_index() => __pbn__def_index != null;
            public void Resetdef_index() => __pbn__def_index = null;
            private uint? __pbn__def_index;

        }

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eInvalidGauntlet = 2,
            k_eTooBusy = 3,
            k_eDisabled = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCAIGauntletResult : 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 gauntlet_id
        {
            get => __pbn__gauntlet_id.GetValueOrDefault();
            set => __pbn__gauntlet_id = value;
        }
        public bool ShouldSerializegauntlet_id() => __pbn__gauntlet_id != null;
        public void Resetgauntlet_id() => __pbn__gauntlet_id = null;
        private uint? __pbn__gauntlet_id;

        [global::ProtoBuf.ProtoMember(2)]
        public bool is_win
        {
            get => __pbn__is_win.GetValueOrDefault();
            set => __pbn__is_win = value;
        }
        public bool ShouldSerializeis_win() => __pbn__is_win != null;
        public void Resetis_win() => __pbn__is_win = null;
        private bool? __pbn__is_win;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong secret_key
        {
            get => __pbn__secret_key.GetValueOrDefault();
            set => __pbn__secret_key = value;
        }
        public bool ShouldSerializesecret_key() => __pbn__secret_key != null;
        public void Resetsecret_key() => __pbn__secret_key = null;
        private ulong? __pbn__secret_key;

        [global::ProtoBuf.ProtoMember(4)]
        public uint expected_wins
        {
            get => __pbn__expected_wins.GetValueOrDefault();
            set => __pbn__expected_wins = value;
        }
        public bool ShouldSerializeexpected_wins() => __pbn__expected_wins != null;
        public void Resetexpected_wins() => __pbn__expected_wins = null;
        private uint? __pbn__expected_wins;

        [global::ProtoBuf.ProtoMember(5)]
        public uint expected_losses
        {
            get => __pbn__expected_losses.GetValueOrDefault();
            set => __pbn__expected_losses = value;
        }
        public bool ShouldSerializeexpected_losses() => __pbn__expected_losses != null;
        public void Resetexpected_losses() => __pbn__expected_losses = null;
        private uint? __pbn__expected_losses;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCAIGauntletResultResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eFailed = 2,
            k_eDisabled = 3,
            k_eBusy = 4,
            k_eInvalidKey = 5,
            k_eMismatchedGames = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientAvailableGauntlets : 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<CMsgGauntletConfig> available_gauntlets { get; } = new global::System.Collections.Generic.List<CMsgGauntletConfig>();

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetGauntletMatches : 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 ulong gauntlet_instance_id
        {
            get => __pbn__gauntlet_instance_id.GetValueOrDefault();
            set => __pbn__gauntlet_instance_id = value;
        }
        public bool ShouldSerializegauntlet_instance_id() => __pbn__gauntlet_instance_id != null;
        public void Resetgauntlet_instance_id() => __pbn__gauntlet_instance_id = null;
        private ulong? __pbn__gauntlet_instance_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCGetGauntletMatchesResponse : 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<Match> matches { get; } = new global::System.Collections.Generic.List<Match>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Match : 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 ulong match_id
            {
                get => __pbn__match_id.GetValueOrDefault();
                set => __pbn__match_id = value;
            }
            public bool ShouldSerializematch_id() => __pbn__match_id != null;
            public void Resetmatch_id() => __pbn__match_id = null;
            private ulong? __pbn__match_id;

            [global::ProtoBuf.ProtoMember(2)]
            public bool win
            {
                get => __pbn__win.GetValueOrDefault();
                set => __pbn__win = value;
            }
            public bool ShouldSerializewin() => __pbn__win != null;
            public void Resetwin() => __pbn__win = null;
            private bool? __pbn__win;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCRegisterGauntletDeck : 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 gauntlet_id
        {
            get => __pbn__gauntlet_id.GetValueOrDefault();
            set => __pbn__gauntlet_id = value;
        }
        public bool ShouldSerializegauntlet_id() => __pbn__gauntlet_id != null;
        public void Resetgauntlet_id() => __pbn__gauntlet_id = null;
        private uint? __pbn__gauntlet_id;

        [global::ProtoBuf.ProtoMember(2)]
        public byte[] deck_bytes
        {
            get => __pbn__deck_bytes;
            set => __pbn__deck_bytes = value;
        }
        public bool ShouldSerializedeck_bytes() => __pbn__deck_bytes != null;
        public void Resetdeck_bytes() => __pbn__deck_bytes = null;
        private byte[] __pbn__deck_bytes;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCRegisterGauntletDeckResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eInvalidGauntlet = 2,
            k_eDeckAlreadyRegistered = 3,
            k_eInvalidDeck = 4,
            k_eHasUnownedCards = 5,
            k_eDisabled = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLimitedGrant : 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 ulong limited_instance_id
        {
            get => __pbn__limited_instance_id.GetValueOrDefault();
            set => __pbn__limited_instance_id = value;
        }
        public bool ShouldSerializelimited_instance_id() => __pbn__limited_instance_id != null;
        public void Resetlimited_instance_id() => __pbn__limited_instance_id = null;
        private ulong? __pbn__limited_instance_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint grant_id
        {
            get => __pbn__grant_id.GetValueOrDefault();
            set => __pbn__grant_id = value;
        }
        public bool ShouldSerializegrant_id() => __pbn__grant_id != null;
        public void Resetgrant_id() => __pbn__grant_id = null;
        private uint? __pbn__grant_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLimitedGrantResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public uint choice_count
        {
            get => __pbn__choice_count.GetValueOrDefault();
            set => __pbn__choice_count = value;
        }
        public bool ShouldSerializechoice_count() => __pbn__choice_count != null;
        public void Resetchoice_count() => __pbn__choice_count = null;
        private uint? __pbn__choice_count;

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

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eInvalidFormat = 2,
            k_eAlreadyGranted = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLimitedGrantChoice : 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 ulong limited_instance_id
        {
            get => __pbn__limited_instance_id.GetValueOrDefault();
            set => __pbn__limited_instance_id = value;
        }
        public bool ShouldSerializelimited_instance_id() => __pbn__limited_instance_id != null;
        public void Resetlimited_instance_id() => __pbn__limited_instance_id = null;
        private ulong? __pbn__limited_instance_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint grant_id
        {
            get => __pbn__grant_id.GetValueOrDefault();
            set => __pbn__grant_id = value;
        }
        public bool ShouldSerializegrant_id() => __pbn__grant_id != null;
        public void Resetgrant_id() => __pbn__grant_id = null;
        private uint? __pbn__grant_id;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLimitedGrantChoiceResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eInvalidFormat = 2,
            k_eInvalidChoices = 3,
            k_eAlreadyGranted = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLimitedGetFormat : 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 limited_format
        {
            get => __pbn__limited_format.GetValueOrDefault();
            set => __pbn__limited_format = value;
        }
        public bool ShouldSerializelimited_format() => __pbn__limited_format != null;
        public void Resetlimited_format() => __pbn__limited_format = null;
        private uint? __pbn__limited_format;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCLimitedGetFormatResponse : 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 success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyCreate : 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 client_version
        {
            get => __pbn__client_version.GetValueOrDefault();
            set => __pbn__client_version = value;
        }
        public bool ShouldSerializeclient_version() => __pbn__client_version != null;
        public void Resetclient_version() => __pbn__client_version = null;
        private uint? __pbn__client_version;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyCreateResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eAlreadyInLobby = 2,
            k_eDisabled = 3,
            k_eInvalidVersion = 4,
            k_eNoRegionPings = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyLeave : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyLeaveResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eNotInLobby = 2,
            k_eInMatchMaking = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyJoin : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint client_version
        {
            get => __pbn__client_version.GetValueOrDefault();
            set => __pbn__client_version = value;
        }
        public bool ShouldSerializeclient_version() => __pbn__client_version != null;
        public void Resetclient_version() => __pbn__client_version = null;
        private uint? __pbn__client_version;

        [global::ProtoBuf.ProtoMember(3)]
        public CMsgRegionPingTimesClient ping_times { get; set; }

        [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong lobby_salt
        {
            get => __pbn__lobby_salt.GetValueOrDefault();
            set => __pbn__lobby_salt = value;
        }
        public bool ShouldSerializelobby_salt() => __pbn__lobby_salt != null;
        public void Resetlobby_salt() => __pbn__lobby_salt = null;
        private ulong? __pbn__lobby_salt;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyJoinResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eAlreadyInLobby = 2,
            k_eDisabled = 3,
            k_eInvalidLobbyID = 4,
            k_eInvalidPermissions = 5,
            k_eInvalidVersion = 6,
            k_eNoRegionPings = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyAction : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint target_account_id
        {
            get => __pbn__target_account_id.GetValueOrDefault();
            set => __pbn__target_account_id = value;
        }
        public bool ShouldSerializetarget_account_id() => __pbn__target_account_id != null;
        public void Resettarget_account_id() => __pbn__target_account_id = null;
        private uint? __pbn__target_account_id;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue(EAction.k_eSetTeam)]
        public EAction action_id
        {
            get => __pbn__action_id ?? EAction.k_eSetTeam;
            set => __pbn__action_id = value;
        }
        public bool ShouldSerializeaction_id() => __pbn__action_id != null;
        public void Resetaction_id() => __pbn__action_id = null;
        private EAction? __pbn__action_id;

        [global::ProtoBuf.ProtoMember(4)]
        public ulong uint_value
        {
            get => __pbn__uint_value.GetValueOrDefault();
            set => __pbn__uint_value = value;
        }
        public bool ShouldSerializeuint_value() => __pbn__uint_value != null;
        public void Resetuint_value() => __pbn__uint_value = null;
        private ulong? __pbn__uint_value;

        [global::ProtoBuf.ProtoMember(5)]
        public byte[] bytes_value
        {
            get => __pbn__bytes_value;
            set => __pbn__bytes_value = value;
        }
        public bool ShouldSerializebytes_value() => __pbn__bytes_value != null;
        public void Resetbytes_value() => __pbn__bytes_value = null;
        private byte[] __pbn__bytes_value;

        [global::ProtoBuf.ProtoMember(6)]
        public bool bool_value
        {
            get => __pbn__bool_value.GetValueOrDefault();
            set => __pbn__bool_value = value;
        }
        public bool ShouldSerializebool_value() => __pbn__bool_value != null;
        public void Resetbool_value() => __pbn__bool_value = null;
        private bool? __pbn__bool_value;

        [global::ProtoBuf.ProtoMember(7, DataFormat = global::ProtoBuf.DataFormat.ZigZag)]
        public long sint_value
        {
            get => __pbn__sint_value.GetValueOrDefault();
            set => __pbn__sint_value = value;
        }
        public bool ShouldSerializesint_value() => __pbn__sint_value != null;
        public void Resetsint_value() => __pbn__sint_value = null;
        private long? __pbn__sint_value;

        [global::ProtoBuf.ProtoMember(8)]
        [global::System.ComponentModel.DefaultValue("")]
        public string str_value
        {
            get => __pbn__str_value ?? "";
            set => __pbn__str_value = value;
        }
        public bool ShouldSerializestr_value() => __pbn__str_value != null;
        public void Resetstr_value() => __pbn__str_value = null;
        private string __pbn__str_value;

        [global::ProtoBuf.ProtoContract()]
        public enum EAction
        {
            k_eSetTeam = 0,
            k_eSetDeck = 1,
            k_eKickUser = 3,
            k_eCancelInvite = 4,
            k_eCancelFindMatch = 5,
            k_eSetDecksVisible = 6,
            k_eSetTimerMode = 7,
            k_eShareDeck = 8,
            k_eSetGameMode = 9,
            k_eSetReady = 10,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyActionResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eInvalidLobbyID = 2,
            k_eInvalidPermissions = 3,
            k_eInvalidTarget = 4,
            k_eInvalidValue = 5,
            k_eInMatchMaking = 6,
            k_eInMatch = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyStartMatch : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyStartMatchResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public uint account_id
        {
            get => __pbn__account_id.GetValueOrDefault();
            set => __pbn__account_id = value;
        }
        public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
        public void Resetaccount_id() => __pbn__account_id = null;
        private uint? __pbn__account_id;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eInvalidLobbyID = 3,
            k_eInvalidPermissions = 4,
            k_ePlayersMissingDeck = 5,
            k_eInMatchmaking = 6,
            k_eInMatch = 7,
            k_eMissingPlayer = 8,
            k_eUnownedCards = 9,
            k_eInvalidVersion = 10,
            k_ePlayersNotReady = 11,
            k_eCannotSelectRegion = 12,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyInviteUser : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint invite_account_id
        {
            get => __pbn__invite_account_id.GetValueOrDefault();
            set => __pbn__invite_account_id = value;
        }
        public bool ShouldSerializeinvite_account_id() => __pbn__invite_account_id != null;
        public void Resetinvite_account_id() => __pbn__invite_account_id = null;
        private uint? __pbn__invite_account_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyInviteUserResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public bool user_online
        {
            get => __pbn__user_online.GetValueOrDefault();
            set => __pbn__user_online = value;
        }
        public bool ShouldSerializeuser_online() => __pbn__user_online != null;
        public void Resetuser_online() => __pbn__user_online = null;
        private bool? __pbn__user_online;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eAlreadyInvited = 2,
            k_eInvalidPermissions = 3,
            k_eInvalidLobbyID = 4,
            k_eDisabled = 5,
            k_eTooManyInvites = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyChallenge : 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 challenge_account_id
        {
            get => __pbn__challenge_account_id.GetValueOrDefault();
            set => __pbn__challenge_account_id = value;
        }
        public bool ShouldSerializechallenge_account_id() => __pbn__challenge_account_id != null;
        public void Resetchallenge_account_id() => __pbn__challenge_account_id = null;
        private uint? __pbn__challenge_account_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint client_version
        {
            get => __pbn__client_version.GetValueOrDefault();
            set => __pbn__client_version = value;
        }
        public bool ShouldSerializeclient_version() => __pbn__client_version != null;
        public void Resetclient_version() => __pbn__client_version = null;
        private uint? __pbn__client_version;

        [global::ProtoBuf.ProtoMember(3)]
        public CMsgRegionPingTimesClient ping_times { get; set; }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyChallengeResponse : 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(EResponse.k_eSuccess)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eSuccess;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eSuccess = 0,
            k_eTargetNotFriends = 1,
            k_eTargetInMatch = 2,
            k_eTargetOffline = 3,
            k_eInternalError = 4,
            k_eCannotMatchmake = 5,
            k_eInvalidVersion = 6,
            k_eNoRegionPings = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientPrivateLobbyEvent : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue(EEvent.k_ePlayerKicked)]
        public EEvent @event
        {
            get => __pbn__event ?? EEvent.k_ePlayerKicked;
            set => __pbn__event = value;
        }
        public bool ShouldSerializeevent() => __pbn__event != null;
        public void Resetevent() => __pbn__event = null;
        private EEvent? __pbn__event;

        [global::ProtoBuf.ProtoMember(3)]
        public uint initiator_account_id
        {
            get => __pbn__initiator_account_id.GetValueOrDefault();
            set => __pbn__initiator_account_id = value;
        }
        public bool ShouldSerializeinitiator_account_id() => __pbn__initiator_account_id != null;
        public void Resetinitiator_account_id() => __pbn__initiator_account_id = null;
        private uint? __pbn__initiator_account_id;

        [global::ProtoBuf.ProtoMember(4)]
        public uint target_account_id
        {
            get => __pbn__target_account_id.GetValueOrDefault();
            set => __pbn__target_account_id = value;
        }
        public bool ShouldSerializetarget_account_id() => __pbn__target_account_id != null;
        public void Resettarget_account_id() => __pbn__target_account_id = null;
        private uint? __pbn__target_account_id;

        [global::ProtoBuf.ProtoMember(5)]
        public byte[] bytes_data
        {
            get => __pbn__bytes_data;
            set => __pbn__bytes_data = value;
        }
        public bool ShouldSerializebytes_data() => __pbn__bytes_data != null;
        public void Resetbytes_data() => __pbn__bytes_data = null;
        private byte[] __pbn__bytes_data;

        [global::ProtoBuf.ProtoMember(6)]
        [global::System.ComponentModel.DefaultValue("")]
        public string str_data
        {
            get => __pbn__str_data ?? "";
            set => __pbn__str_data = value;
        }
        public bool ShouldSerializestr_data() => __pbn__str_data != null;
        public void Resetstr_data() => __pbn__str_data = null;
        private string __pbn__str_data;

        [global::ProtoBuf.ProtoMember(7)]
        public ulong uint_data
        {
            get => __pbn__uint_data.GetValueOrDefault();
            set => __pbn__uint_data = value;
        }
        public bool ShouldSerializeuint_data() => __pbn__uint_data != null;
        public void Resetuint_data() => __pbn__uint_data = null;
        private ulong? __pbn__uint_data;

        [global::ProtoBuf.ProtoContract()]
        public enum EEvent
        {
            k_ePlayerKicked = 1,
            k_eDeckShared = 2,
            k_eJoinedLobby = 3,
            k_eMatchCompleted = 4,
            k_eMatchMakingStopped_User = 5,
            k_eMatchMakingStopped_Version = 6,
            k_eMatchMakingStopped_NoServerRegion = 7,
            k_eLeftLobby = 8,
            k_eDeclinedInvite = 9,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyClientVersion : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint client_version
        {
            get => __pbn__client_version.GetValueOrDefault();
            set => __pbn__client_version = value;
        }
        public bool ShouldSerializeclient_version() => __pbn__client_version != null;
        public void Resetclient_version() => __pbn__client_version = null;
        private uint? __pbn__client_version;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyJoinChatRoom : 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 private_lobby_id
        {
            get => __pbn__private_lobby_id.GetValueOrDefault();
            set => __pbn__private_lobby_id = value;
        }
        public bool ShouldSerializeprivate_lobby_id() => __pbn__private_lobby_id != null;
        public void Resetprivate_lobby_id() => __pbn__private_lobby_id = null;
        private ulong? __pbn__private_lobby_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCPrivateLobbyJoinChatRoomResponse : 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(EResponse.k_eSuccess)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eSuccess;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eSuccess = 0,
            k_eInternalError = 1,
            k_eDisabled = 2,
            k_eNoChatRoomAvailable = 3,
            k_eInvalidLobbyID = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCMatchSignout : 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 start_time
        {
            get => __pbn__start_time.GetValueOrDefault();
            set => __pbn__start_time = value;
        }
        public bool ShouldSerializestart_time() => __pbn__start_time != null;
        public void Resetstart_time() => __pbn__start_time = null;
        private uint? __pbn__start_time;

        [global::ProtoBuf.ProtoMember(2)]
        public uint version
        {
            get => __pbn__version.GetValueOrDefault();
            set => __pbn__version = value;
        }
        public bool ShouldSerializeversion() => __pbn__version != null;
        public void Resetversion() => __pbn__version = null;
        private uint? __pbn__version;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue(EDCGMatchMode.k_EDCGMatchMode_Unranked)]
        public EDCGMatchMode match_mode
        {
            get => __pbn__match_mode ?? EDCGMatchMode.k_EDCGMatchMode_Unranked;
            set => __pbn__match_mode = value;
        }
        public bool ShouldSerializematch_mode() => __pbn__match_mode != null;
        public void Resetmatch_mode() => __pbn__match_mode = null;
        private EDCGMatchMode? __pbn__match_mode;

        [global::ProtoBuf.ProtoMember(4)]
        public CMsgMatchData match_data { get; set; }

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientSDRTicket : 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 ticket
        {
            get => __pbn__ticket ?? "";
            set => __pbn__ticket = value;
        }
        public bool ShouldSerializeticket() => __pbn__ticket != null;
        public void Resetticket() => __pbn__ticket = null;
        private string __pbn__ticket;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCReplacementSDRTicket : 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 lobby_id
        {
            get => __pbn__lobby_id.GetValueOrDefault();
            set => __pbn__lobby_id = value;
        }
        public bool ShouldSerializelobby_id() => __pbn__lobby_id != null;
        public void Resetlobby_id() => __pbn__lobby_id = null;
        private ulong? __pbn__lobby_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCInitialGrantAck : 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 expected_def_index
        {
            get => __pbn__expected_def_index.GetValueOrDefault();
            set => __pbn__expected_def_index = value;
        }
        public bool ShouldSerializeexpected_def_index() => __pbn__expected_def_index != null;
        public void Resetexpected_def_index() => __pbn__expected_def_index = null;
        private uint? __pbn__expected_def_index;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCRecycleCards : 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<ulong> item_ids { get; } = new global::System.Collections.Generic.List<ulong>();

        [global::ProtoBuf.ProtoMember(2)]
        public uint recycle_offer_version
        {
            get => __pbn__recycle_offer_version.GetValueOrDefault();
            set => __pbn__recycle_offer_version = value;
        }
        public bool ShouldSerializerecycle_offer_version() => __pbn__recycle_offer_version != null;
        public void Resetrecycle_offer_version() => __pbn__recycle_offer_version = null;
        private uint? __pbn__recycle_offer_version;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCRecycleCardsResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<GrantedItem> granted_items { get; } = new global::System.Collections.Generic.List<GrantedItem>();

        [global::ProtoBuf.ProtoMember(3)]
        public uint resulting_points
        {
            get => __pbn__resulting_points.GetValueOrDefault();
            set => __pbn__resulting_points = value;
        }
        public bool ShouldSerializeresulting_points() => __pbn__resulting_points != null;
        public void Resetresulting_points() => __pbn__resulting_points = null;
        private uint? __pbn__resulting_points;

        [global::ProtoBuf.ProtoContract()]
        public partial class GrantedItem : 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 def_index
            {
                get => __pbn__def_index.GetValueOrDefault();
                set => __pbn__def_index = value;
            }
            public bool ShouldSerializedef_index() => __pbn__def_index != null;
            public void Resetdef_index() => __pbn__def_index = null;
            private uint? __pbn__def_index;

            [global::ProtoBuf.ProtoMember(2)]
            public ulong item_id
            {
                get => __pbn__item_id.GetValueOrDefault();
                set => __pbn__item_id = value;
            }
            public bool ShouldSerializeitem_id() => __pbn__item_id != null;
            public void Resetitem_id() => __pbn__item_id = null;
            private ulong? __pbn__item_id;

        }

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eMissingItems = 2,
            k_eIncorrectVersion = 3,
            k_eDisabled = 4,
            k_eInvalidItem = 5,
            k_eTooManyItems = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCSetPlayerBadge : 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 player_badge
        {
            get => __pbn__player_badge.GetValueOrDefault();
            set => __pbn__player_badge = value;
        }
        public bool ShouldSerializeplayer_badge() => __pbn__player_badge != null;
        public void Resetplayer_badge() => __pbn__player_badge = null;
        private uint? __pbn__player_badge;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCReplacementSDRTicketResponse : 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 ticket
        {
            get => __pbn__ticket ?? "";
            set => __pbn__ticket = value;
        }
        public bool ShouldSerializeticket() => __pbn__ticket != null;
        public void Resetticket() => __pbn__ticket = null;
        private string __pbn__ticket;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string error_message
        {
            get => __pbn__error_message ?? "";
            set => __pbn__error_message = value;
        }
        public bool ShouldSerializeerror_message() => __pbn__error_message != null;
        public void Reseterror_message() => __pbn__error_message = null;
        private string __pbn__error_message;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetInfo : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public bool subscribe
        {
            get => __pbn__subscribe.GetValueOrDefault();
            set => __pbn__subscribe = value;
        }
        public bool ShouldSerializesubscribe() => __pbn__subscribe != null;
        public void Resetsubscribe() => __pbn__subscribe = null;
        private bool? __pbn__subscribe;

        [global::ProtoBuf.ProtoMember(3)]
        public uint tourney_salt
        {
            get => __pbn__tourney_salt.GetValueOrDefault();
            set => __pbn__tourney_salt = value;
        }
        public bool ShouldSerializetourney_salt() => __pbn__tourney_salt != null;
        public void Resettourney_salt() => __pbn__tourney_salt = null;
        private uint? __pbn__tourney_salt;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetInfoResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

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

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eInvalidID = 1,
            k_eMissingPermission = 2,
            k_eSuccess = 3,
            k_eTooBusy = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyUnsubscribe : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientTourneyUpdated : 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 CDCGTourney tourney { get; set; }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientTourneySeriesMatchReady : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint series_id
        {
            get => __pbn__series_id.GetValueOrDefault();
            set => __pbn__series_id = value;
        }
        public bool ShouldSerializeseries_id() => __pbn__series_id != null;
        public void Resetseries_id() => __pbn__series_id = null;
        private uint? __pbn__series_id;

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

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientTourneySeriesMatchNotReady : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint series_id
        {
            get => __pbn__series_id.GetValueOrDefault();
            set => __pbn__series_id = value;
        }
        public bool ShouldSerializeseries_id() => __pbn__series_id != null;
        public void Resetseries_id() => __pbn__series_id = null;
        private uint? __pbn__series_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgCreateTourneyPhase : 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(CDCGTourney.EFormat.k_eFormat_Invalid)]
        public CDCGTourney.EFormat format
        {
            get => __pbn__format ?? CDCGTourney.EFormat.k_eFormat_Invalid;
            set => __pbn__format = value;
        }
        public bool ShouldSerializeformat() => __pbn__format != null;
        public void Resetformat() => __pbn__format = null;
        private CDCGTourney.EFormat? __pbn__format;

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

        [global::ProtoBuf.ProtoMember(3)]
        public uint max_players
        {
            get => __pbn__max_players.GetValueOrDefault();
            set => __pbn__max_players = value;
        }
        public bool ShouldSerializemax_players() => __pbn__max_players != null;
        public void Resetmax_players() => __pbn__max_players = null;
        private uint? __pbn__max_players;

        [global::ProtoBuf.ProtoMember(5)]
        public bool edit_stage
        {
            get => __pbn__edit_stage.GetValueOrDefault();
            set => __pbn__edit_stage = value;
        }
        public bool ShouldSerializeedit_stage() => __pbn__edit_stage != null;
        public void Resetedit_stage() => __pbn__edit_stage = null;
        private bool? __pbn__edit_stage;

        [global::ProtoBuf.ProtoMember(20)]
        public Bracket bracket { get; set; }

        [global::ProtoBuf.ProtoMember(21)]
        public Swiss swiss { get; set; }

        [global::ProtoBuf.ProtoMember(22)]
        public FreeForAll free_for_all { get; set; }

        [global::ProtoBuf.ProtoContract()]
        public partial class DeckSettings : 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(CMsgCreateTourneyPhase.EDeckMode.k_eUsePreviousPhase)]
            public CMsgCreateTourneyPhase.EDeckMode deck_mode
            {
                get => __pbn__deck_mode ?? CMsgCreateTourneyPhase.EDeckMode.k_eUsePreviousPhase;
                set => __pbn__deck_mode = value;
            }
            public bool ShouldSerializedeck_mode() => __pbn__deck_mode != null;
            public void Resetdeck_mode() => __pbn__deck_mode = null;
            private CMsgCreateTourneyPhase.EDeckMode? __pbn__deck_mode;

            [global::ProtoBuf.ProtoMember(2)]
            public uint random_colors
            {
                get => __pbn__random_colors.GetValueOrDefault();
                set => __pbn__random_colors = value;
            }
            public bool ShouldSerializerandom_colors() => __pbn__random_colors != null;
            public void Resetrandom_colors() => __pbn__random_colors = null;
            private uint? __pbn__random_colors;

            [global::ProtoBuf.ProtoMember(3)]
            public uint limited_format
            {
                get => __pbn__limited_format.GetValueOrDefault();
                set => __pbn__limited_format = value;
            }
            public bool ShouldSerializelimited_format() => __pbn__limited_format != null;
            public void Resetlimited_format() => __pbn__limited_format = null;
            private uint? __pbn__limited_format;

            [global::ProtoBuf.ProtoMember(4)]
            public bool register_decks
            {
                get => __pbn__register_decks.GetValueOrDefault();
                set => __pbn__register_decks = value;
            }
            public bool ShouldSerializeregister_decks() => __pbn__register_decks != null;
            public void Resetregister_decks() => __pbn__register_decks = null;
            private bool? __pbn__register_decks;

            [global::ProtoBuf.ProtoMember(5)]
            public uint validator_id
            {
                get => __pbn__validator_id.GetValueOrDefault();
                set => __pbn__validator_id = value;
            }
            public bool ShouldSerializevalidator_id() => __pbn__validator_id != null;
            public void Resetvalidator_id() => __pbn__validator_id = null;
            private uint? __pbn__validator_id;

        }

        [global::ProtoBuf.ProtoContract()]
        public partial class Swiss : 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(CMsgCreateTourneyPhase.ESwissMatches.k_eBestOfOne)]
            public CMsgCreateTourneyPhase.ESwissMatches swiss_matches
            {
                get => __pbn__swiss_matches ?? CMsgCreateTourneyPhase.ESwissMatches.k_eBestOfOne;
                set => __pbn__swiss_matches = value;
            }
            public bool ShouldSerializeswiss_matches() => __pbn__swiss_matches != null;
            public void Resetswiss_matches() => __pbn__swiss_matches = null;
            private CMsgCreateTourneyPhase.ESwissMatches? __pbn__swiss_matches;

            [global::ProtoBuf.ProtoMember(2)]
            [global::System.ComponentModel.DefaultValue(CMsgCreateTourneyPhase.ESwissScoring.k_eWinsThreePoints)]
            public CMsgCreateTourneyPhase.ESwissScoring swiss_scoring
            {
                get => __pbn__swiss_scoring ?? CMsgCreateTourneyPhase.ESwissScoring.k_eWinsThreePoints;
                set => __pbn__swiss_scoring = value;
            }
            public bool ShouldSerializeswiss_scoring() => __pbn__swiss_scoring != null;
            public void Resetswiss_scoring() => __pbn__swiss_scoring = null;
            private CMsgCreateTourneyPhase.ESwissScoring? __pbn__swiss_scoring;

            [global::ProtoBuf.ProtoMember(3)]
            public uint num_rounds
            {
                get => __pbn__num_rounds.GetValueOrDefault();
                set => __pbn__num_rounds = value;
            }
            public bool ShouldSerializenum_rounds() => __pbn__num_rounds != null;
            public void Resetnum_rounds() => __pbn__num_rounds = null;
            private uint? __pbn__num_rounds;

            [global::ProtoBuf.ProtoMember(4)]
            public bool continue_prior_phase
            {
                get => __pbn__continue_prior_phase.GetValueOrDefault();
                set => __pbn__continue_prior_phase = value;
            }
            public bool ShouldSerializecontinue_prior_phase() => __pbn__continue_prior_phase != null;
            public void Resetcontinue_prior_phase() => __pbn__continue_prior_phase = null;
            private bool? __pbn__continue_prior_phase;

        }

        [global::ProtoBuf.ProtoContract()]
        public partial class Bracket : 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 best_of
            {
                get => __pbn__best_of.GetValueOrDefault();
                set => __pbn__best_of = value;
            }
            public bool ShouldSerializebest_of() => __pbn__best_of != null;
            public void Resetbest_of() => __pbn__best_of = null;
            private uint? __pbn__best_of;

            [global::ProtoBuf.ProtoMember(2)]
            public uint finals_best_of
            {
                get => __pbn__finals_best_of.GetValueOrDefault();
                set => __pbn__finals_best_of = value;
            }
            public bool ShouldSerializefinals_best_of() => __pbn__finals_best_of != null;
            public void Resetfinals_best_of() => __pbn__finals_best_of = null;
            private uint? __pbn__finals_best_of;

        }

        [global::ProtoBuf.ProtoContract()]
        public partial class FreeForAll : 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 max_games_per_player
            {
                get => __pbn__max_games_per_player.GetValueOrDefault();
                set => __pbn__max_games_per_player = value;
            }
            public bool ShouldSerializemax_games_per_player() => __pbn__max_games_per_player != null;
            public void Resetmax_games_per_player() => __pbn__max_games_per_player = null;
            private uint? __pbn__max_games_per_player;

            [global::ProtoBuf.ProtoMember(2)]
            public uint auto_advance_after_s
            {
                get => __pbn__auto_advance_after_s.GetValueOrDefault();
                set => __pbn__auto_advance_after_s = value;
            }
            public bool ShouldSerializeauto_advance_after_s() => __pbn__auto_advance_after_s != null;
            public void Resetauto_advance_after_s() => __pbn__auto_advance_after_s = null;
            private uint? __pbn__auto_advance_after_s;

        }

        [global::ProtoBuf.ProtoContract()]
        public enum ESwissMatches
        {
            k_eBestOfOne = 0,
            k_eOneMatch = 1,
            k_eTwoMatches = 2,
            k_eBestOfThree = 3,
            k_eBestOfThree_Ties = 4,
            k_eBestOfFive = 5,
            k_eBestOfFive_Ties = 6,
        }

        [global::ProtoBuf.ProtoContract()]
        public enum ESwissScoring
        {
            k_eWinsThreePoints = 0,
            k_eWinsTwoPoints = 1,
        }

        [global::ProtoBuf.ProtoContract()]
        public enum EDeckMode
        {
            k_eUsePreviousPhase = 0,
            k_eLimited = 1,
            k_eAdditionalLimited = 2,
            k_eConstructed = 3,
            k_eRandom = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCCreateTourney : 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 tourney_name
        {
            get => __pbn__tourney_name ?? "";
            set => __pbn__tourney_name = value;
        }
        public bool ShouldSerializetourney_name() => __pbn__tourney_name != null;
        public void Resettourney_name() => __pbn__tourney_name = null;
        private string __pbn__tourney_name;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string tourney_msg
        {
            get => __pbn__tourney_msg ?? "";
            set => __pbn__tourney_msg = value;
        }
        public bool ShouldSerializetourney_msg() => __pbn__tourney_msg != null;
        public void Resettourney_msg() => __pbn__tourney_msg = null;
        private string __pbn__tourney_msg;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string tourney_status
        {
            get => __pbn__tourney_status ?? "";
            set => __pbn__tourney_status = value;
        }
        public bool ShouldSerializetourney_status() => __pbn__tourney_status != null;
        public void Resettourney_status() => __pbn__tourney_status = null;
        private string __pbn__tourney_status;

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

        [global::ProtoBuf.ProtoMember(5)]
        public bool seed_stage
        {
            get => __pbn__seed_stage.GetValueOrDefault();
            set => __pbn__seed_stage = value;
        }
        public bool ShouldSerializeseed_stage() => __pbn__seed_stage != null;
        public void Resetseed_stage() => __pbn__seed_stage = null;
        private bool? __pbn__seed_stage;

        [global::ProtoBuf.ProtoMember(6)]
        public bool advanced_mode
        {
            get => __pbn__advanced_mode.GetValueOrDefault();
            set => __pbn__advanced_mode = value;
        }
        public bool ShouldSerializeadvanced_mode() => __pbn__advanced_mode != null;
        public void Resetadvanced_mode() => __pbn__advanced_mode = null;
        private bool? __pbn__advanced_mode;

        [global::ProtoBuf.ProtoMember(7)]
        [global::System.ComponentModel.DefaultValue(EPrivacy.k_ePrivacy_Default)]
        public EPrivacy privacy_mode
        {
            get => __pbn__privacy_mode ?? EPrivacy.k_ePrivacy_Default;
            set => __pbn__privacy_mode = value;
        }
        public bool ShouldSerializeprivacy_mode() => __pbn__privacy_mode != null;
        public void Resetprivacy_mode() => __pbn__privacy_mode = null;
        private EPrivacy? __pbn__privacy_mode;

        [global::ProtoBuf.ProtoMember(8)]
        public bool open_spectating
        {
            get => __pbn__open_spectating.GetValueOrDefault();
            set => __pbn__open_spectating = value;
        }
        public bool ShouldSerializeopen_spectating() => __pbn__open_spectating != null;
        public void Resetopen_spectating() => __pbn__open_spectating = null;
        private bool? __pbn__open_spectating;

        [global::ProtoBuf.ProtoMember(9)]
        public uint timer_mode
        {
            get => __pbn__timer_mode.GetValueOrDefault();
            set => __pbn__timer_mode = value;
        }
        public bool ShouldSerializetimer_mode() => __pbn__timer_mode != null;
        public void Resettimer_mode() => __pbn__timer_mode = null;
        private uint? __pbn__timer_mode;

        [global::ProtoBuf.ProtoContract()]
        public enum EPrivacy
        {
            k_ePrivacy_Default = 0,
            k_ePrivacy_Public = 1,
            k_ePrivacy_MembersOnly = 2,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCCreateTourneyResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eRateLimited = 2,
            k_eInvalidParams = 3,
            k_eDisabled = 4,
            k_eInTooManyTourneys = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAcceptInvite : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAcceptInviteResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eTourneyJoinClosed = 3,
            k_eMissingPermissions = 4,
            k_eTourneyFull = 5,
            k_eInTooManyTourneys = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRejectInvite : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRejectInviteResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRevokeInvite : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint account_id
        {
            get => __pbn__account_id.GetValueOrDefault();
            set => __pbn__account_id = value;
        }
        public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
        public void Resetaccount_id() => __pbn__account_id = null;
        private uint? __pbn__account_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRevokeInviteResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eMissingInvite = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminSwitchStage : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue(CDCGTourney.EStage.k_eStage_Configure)]
        public CDCGTourney.EStage transition_from
        {
            get => __pbn__transition_from ?? CDCGTourney.EStage.k_eStage_Configure;
            set => __pbn__transition_from = value;
        }
        public bool ShouldSerializetransition_from() => __pbn__transition_from != null;
        public void Resettransition_from() => __pbn__transition_from = null;
        private CDCGTourney.EStage? __pbn__transition_from;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue(CDCGTourney.EStage.k_eStage_Configure)]
        public CDCGTourney.EStage transition_to
        {
            get => __pbn__transition_to ?? CDCGTourney.EStage.k_eStage_Configure;
            set => __pbn__transition_to = value;
        }
        public bool ShouldSerializetransition_to() => __pbn__transition_to != null;
        public void Resettransition_to() => __pbn__transition_to = null;
        private CDCGTourney.EStage? __pbn__transition_to;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminSwitchStageResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInsufficientPlayers = 4,
            k_eIncorrectStage = 5,
            k_eInvalidTransition = 6,
            k_eUnregisteredDecks = 7,
            k_eMissingEntryFees = 8,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminKick : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint account_id
        {
            get => __pbn__account_id.GetValueOrDefault();
            set => __pbn__account_id = value;
        }
        public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
        public void Resetaccount_id() => __pbn__account_id = null;
        private uint? __pbn__account_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminKickResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidTarget = 4,
            k_eTourneyClosed = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminGrantWin : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint series_id
        {
            get => __pbn__series_id.GetValueOrDefault();
            set => __pbn__series_id = value;
        }
        public bool ShouldSerializeseries_id() => __pbn__series_id != null;
        public void Resetseries_id() => __pbn__series_id = null;
        private uint? __pbn__series_id;

        [global::ProtoBuf.ProtoMember(4)]
        public bool grant_bye
        {
            get => __pbn__grant_bye.GetValueOrDefault();
            set => __pbn__grant_bye = value;
        }
        public bool ShouldSerializegrant_bye() => __pbn__grant_bye != null;
        public void Resetgrant_bye() => __pbn__grant_bye = null;
        private bool? __pbn__grant_bye;

        [global::ProtoBuf.ProtoMember(5)]
        public uint winner_id
        {
            get => __pbn__winner_id.GetValueOrDefault();
            set => __pbn__winner_id = value;
        }
        public bool ShouldSerializewinner_id() => __pbn__winner_id != null;
        public void Resetwinner_id() => __pbn__winner_id = null;
        private uint? __pbn__winner_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminGrantWinResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidAccount = 4,
            k_eSeriesCompleted = 5,
            k_eSeriesNotReady = 6,
            k_eInvalidSeries = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminChangeRights : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint account_id
        {
            get => __pbn__account_id.GetValueOrDefault();
            set => __pbn__account_id = value;
        }
        public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
        public void Resetaccount_id() => __pbn__account_id = null;
        private uint? __pbn__account_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint rights_flags
        {
            get => __pbn__rights_flags.GetValueOrDefault();
            set => __pbn__rights_flags = value;
        }
        public bool ShouldSerializerights_flags() => __pbn__rights_flags != null;
        public void Resetrights_flags() => __pbn__rights_flags = null;
        private uint? __pbn__rights_flags;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminChangeRightsResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eInvalidAccount = 3,
            k_eInvalidRights = 4,
            k_eTourneyClosed = 5,
            k_ePlayerPoolIsFull = 6,
            k_eCannotChangePlayer = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRegisterDeck : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public byte[] deck_bytes
        {
            get => __pbn__deck_bytes;
            set => __pbn__deck_bytes = value;
        }
        public bool ShouldSerializedeck_bytes() => __pbn__deck_bytes != null;
        public void Resetdeck_bytes() => __pbn__deck_bytes = null;
        private byte[] __pbn__deck_bytes;

        [global::ProtoBuf.ProtoMember(3)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(4)]
        public uint deck_index
        {
            get => __pbn__deck_index.GetValueOrDefault();
            set => __pbn__deck_index = value;
        }
        public bool ShouldSerializedeck_index() => __pbn__deck_index != null;
        public void Resetdeck_index() => __pbn__deck_index = null;
        private uint? __pbn__deck_index;

        [global::ProtoBuf.ProtoMember(5)]
        public uint shared_by
        {
            get => __pbn__shared_by.GetValueOrDefault();
            set => __pbn__shared_by = value;
        }
        public bool ShouldSerializeshared_by() => __pbn__shared_by != null;
        public void Resetshared_by() => __pbn__shared_by = null;
        private uint? __pbn__shared_by;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRegisterDeckResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eUnownedCards = 4,
            k_eRegistrationClosed = 5,
            k_eRegistrationNotRequired = 6,
            k_eInvalidDeck = 7,
            k_eInvalidDeckIndex = 8,
            k_eCannotRegisterForPhase = 9,
            k_ePhaseNotReady = 10,
            k_eInvalidSharedDeck = 11,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyUserLeave : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyUserLeaveResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eLeaveNotAllowed = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRegisterSharedDeck : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public byte[] deck_bytes
        {
            get => __pbn__deck_bytes;
            set => __pbn__deck_bytes = value;
        }
        public bool ShouldSerializedeck_bytes() => __pbn__deck_bytes != null;
        public void Resetdeck_bytes() => __pbn__deck_bytes = null;
        private byte[] __pbn__deck_bytes;

        [global::ProtoBuf.ProtoMember(3)]
        public uint shared_slot
        {
            get => __pbn__shared_slot.GetValueOrDefault();
            set => __pbn__shared_slot = value;
        }
        public bool ShouldSerializeshared_slot() => __pbn__shared_slot != null;
        public void Resetshared_slot() => __pbn__shared_slot = null;
        private uint? __pbn__shared_slot;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRegisterSharedDeckResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidSlot = 4,
            k_eSlotInUse = 5,
            k_eUnownedCards = 6,
            k_eSharingClosed = 7,
            k_eInvalidDeck = 8,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetRegisteredDecks : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetRegisteredDecksResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<CDCGTourney.PlayerDeck> decks { get; } = new global::System.Collections.Generic.List<CDCGTourney.PlayerDeck>();

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyCreateOpenInvite : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint max_uses
        {
            get => __pbn__max_uses.GetValueOrDefault();
            set => __pbn__max_uses = value;
        }
        public bool ShouldSerializemax_uses() => __pbn__max_uses != null;
        public void Resetmax_uses() => __pbn__max_uses = null;
        private uint? __pbn__max_uses;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyCreateOpenInviteResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong invite_key
        {
            get => __pbn__invite_key.GetValueOrDefault();
            set => __pbn__invite_key = value;
        }
        public bool ShouldSerializeinvite_key() => __pbn__invite_key != null;
        public void Resetinvite_key() => __pbn__invite_key = null;
        private ulong? __pbn__invite_key;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidUses = 4,
            k_eInvalidStage = 5,
            k_eInvalidRights = 6,
            k_eTooManyOutstandingKeys = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRevokeOpenInvite : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong invite_key
        {
            get => __pbn__invite_key.GetValueOrDefault();
            set => __pbn__invite_key = value;
        }
        public bool ShouldSerializeinvite_key() => __pbn__invite_key != null;
        public void Resetinvite_key() => __pbn__invite_key = null;
        private ulong? __pbn__invite_key;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRevokeOpenInviteResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidKey = 4,
            k_eInvalidStage = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetOpenInvites : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetOpenInvitesResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<OpenInvite> open_invites { get; } = new global::System.Collections.Generic.List<OpenInvite>();

        [global::ProtoBuf.ProtoContract()]
        public partial class OpenInvite : 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 invite_key
            {
                get => __pbn__invite_key.GetValueOrDefault();
                set => __pbn__invite_key = value;
            }
            public bool ShouldSerializeinvite_key() => __pbn__invite_key != null;
            public void Resetinvite_key() => __pbn__invite_key = null;
            private ulong? __pbn__invite_key;

            [global::ProtoBuf.ProtoMember(2)]
            public uint created_by
            {
                get => __pbn__created_by.GetValueOrDefault();
                set => __pbn__created_by = value;
            }
            public bool ShouldSerializecreated_by() => __pbn__created_by != null;
            public void Resetcreated_by() => __pbn__created_by = null;
            private uint? __pbn__created_by;

            [global::ProtoBuf.ProtoMember(3)]
            public uint max_uses
            {
                get => __pbn__max_uses.GetValueOrDefault();
                set => __pbn__max_uses = value;
            }
            public bool ShouldSerializemax_uses() => __pbn__max_uses != null;
            public void Resetmax_uses() => __pbn__max_uses = null;
            private uint? __pbn__max_uses;

            [global::ProtoBuf.ProtoMember(4)]
            public uint times_used
            {
                get => __pbn__times_used.GetValueOrDefault();
                set => __pbn__times_used = value;
            }
            public bool ShouldSerializetimes_used() => __pbn__times_used != null;
            public void Resettimes_used() => __pbn__times_used = null;
            private uint? __pbn__times_used;

            [global::ProtoBuf.ProtoMember(5)]
            public uint invite_rights
            {
                get => __pbn__invite_rights.GetValueOrDefault();
                set => __pbn__invite_rights = value;
            }
            public bool ShouldSerializeinvite_rights() => __pbn__invite_rights != null;
            public void Resetinvite_rights() => __pbn__invite_rights = null;
            private uint? __pbn__invite_rights;

        }

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidStage = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminSwitchPhaseStage : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue(CDCGTourney.EPhaseStage.k_ePhaseStage_Pending)]
        public CDCGTourney.EPhaseStage transition_from
        {
            get => __pbn__transition_from ?? CDCGTourney.EPhaseStage.k_ePhaseStage_Pending;
            set => __pbn__transition_from = value;
        }
        public bool ShouldSerializetransition_from() => __pbn__transition_from != null;
        public void Resettransition_from() => __pbn__transition_from = null;
        private CDCGTourney.EPhaseStage? __pbn__transition_from;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue(CDCGTourney.EPhaseStage.k_ePhaseStage_Pending)]
        public CDCGTourney.EPhaseStage transition_to
        {
            get => __pbn__transition_to ?? CDCGTourney.EPhaseStage.k_ePhaseStage_Pending;
            set => __pbn__transition_to = value;
        }
        public bool ShouldSerializetransition_to() => __pbn__transition_to != null;
        public void Resettransition_to() => __pbn__transition_to = null;
        private CDCGTourney.EPhaseStage? __pbn__transition_to;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminSwitchPhaseStageResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInsufficientPlayers = 4,
            k_eIncorrectStage = 5,
            k_eInvalidTransition = 6,
            k_eUnregisteredDecks = 7,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetOverview : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetOverviewResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string tourney_name
        {
            get => __pbn__tourney_name ?? "";
            set => __pbn__tourney_name = value;
        }
        public bool ShouldSerializetourney_name() => __pbn__tourney_name != null;
        public void Resettourney_name() => __pbn__tourney_name = null;
        private string __pbn__tourney_name;

        [global::ProtoBuf.ProtoMember(3)]
        public uint created_by
        {
            get => __pbn__created_by.GetValueOrDefault();
            set => __pbn__created_by = value;
        }
        public bool ShouldSerializecreated_by() => __pbn__created_by != null;
        public void Resetcreated_by() => __pbn__created_by = null;
        private uint? __pbn__created_by;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eTooBusy = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneySetStatus : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string tourney_status
        {
            get => __pbn__tourney_status ?? "";
            set => __pbn__tourney_status = value;
        }
        public bool ShouldSerializetourney_status() => __pbn__tourney_status != null;
        public void Resettourney_status() => __pbn__tourney_status = null;
        private string __pbn__tourney_status;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneySetStatusResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAddPhase : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAddPhaseResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eTooManyPhases = 4,
            k_eInvalidParams = 5,
            k_eNotInConfigure = 6,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRemovePhase : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRemovePhaseResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eNotLastPhase = 4,
            k_eNotInConfigure = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneySpectateMatch : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint series_id
        {
            get => __pbn__series_id.GetValueOrDefault();
            set => __pbn__series_id = value;
        }
        public bool ShouldSerializeseries_id() => __pbn__series_id != null;
        public void Resetseries_id() => __pbn__series_id = null;
        private uint? __pbn__series_id;

        [global::ProtoBuf.ProtoMember(4)]
        public bool player_1_perspective
        {
            get => __pbn__player_1_perspective.GetValueOrDefault();
            set => __pbn__player_1_perspective = value;
        }
        public bool ShouldSerializeplayer_1_perspective() => __pbn__player_1_perspective != null;
        public void Resetplayer_1_perspective() => __pbn__player_1_perspective = null;
        private bool? __pbn__player_1_perspective;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneySpectateMatchResponse : 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(EResponse.k_eSuccess)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eSuccess;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong match_id
        {
            get => __pbn__match_id.GetValueOrDefault();
            set => __pbn__match_id = value;
        }
        public bool ShouldSerializematch_id() => __pbn__match_id != null;
        public void Resetmatch_id() => __pbn__match_id = null;
        private ulong? __pbn__match_id;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong server_steam_id
        {
            get => __pbn__server_steam_id.GetValueOrDefault();
            set => __pbn__server_steam_id = value;
        }
        public bool ShouldSerializeserver_steam_id() => __pbn__server_steam_id != null;
        public void Resetserver_steam_id() => __pbn__server_steam_id = null;
        private ulong? __pbn__server_steam_id;

        [global::ProtoBuf.ProtoMember(4)]
        public byte[] sdr_key
        {
            get => __pbn__sdr_key;
            set => __pbn__sdr_key = value;
        }
        public bool ShouldSerializesdr_key() => __pbn__sdr_key != null;
        public void Resetsdr_key() => __pbn__sdr_key = null;
        private byte[] __pbn__sdr_key;

        [global::ProtoBuf.ProtoMember(5)]
        public uint udp_connect_ip
        {
            get => __pbn__udp_connect_ip.GetValueOrDefault();
            set => __pbn__udp_connect_ip = value;
        }
        public bool ShouldSerializeudp_connect_ip() => __pbn__udp_connect_ip != null;
        public void Resetudp_connect_ip() => __pbn__udp_connect_ip = null;
        private uint? __pbn__udp_connect_ip;

        [global::ProtoBuf.ProtoMember(6)]
        public uint udp_connect_port
        {
            get => __pbn__udp_connect_port.GetValueOrDefault();
            set => __pbn__udp_connect_port = value;
        }
        public bool ShouldSerializeudp_connect_port() => __pbn__udp_connect_port != null;
        public void Resetudp_connect_port() => __pbn__udp_connect_port = null;
        private uint? __pbn__udp_connect_port;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eSuccess = 1,
            k_eInternalError = 2,
            k_eInvalidSeries = 3,
            k_eMissingPermissions = 4,
            k_eNotInMatch = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyInviteList : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

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

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

        [global::ProtoBuf.ProtoContract()]
        public enum ELimit
        {
            k_eLimit_MaxAccounts = 32,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyInviteListResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

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

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

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eTooManyInvites = 2,
            k_eRateLimited = 3,
            k_eDisabled = 4,
            k_eTooManyAccounts = 5,
            k_eTourneyJoinClosed = 6,
            k_eMissingPermissions = 7,
            k_eTourneyFull = 8,
            k_eInvalidRights = 9,
            k_eNotFriends = 10,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminSetSeedValues : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<PlayerSeed> player_seeds { get; } = new global::System.Collections.Generic.List<PlayerSeed>();

        [global::ProtoBuf.ProtoContract()]
        public partial class PlayerSeed : 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 account_id
            {
                get => __pbn__account_id.GetValueOrDefault();
                set => __pbn__account_id = value;
            }
            public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
            public void Resetaccount_id() => __pbn__account_id = null;
            private uint? __pbn__account_id;

            [global::ProtoBuf.ProtoMember(2)]
            public uint initial_seed
            {
                get => __pbn__initial_seed.GetValueOrDefault();
                set => __pbn__initial_seed = value;
            }
            public bool ShouldSerializeinitial_seed() => __pbn__initial_seed != null;
            public void Resetinitial_seed() => __pbn__initial_seed = null;
            private uint? __pbn__initial_seed;

            [global::ProtoBuf.ProtoMember(3)]
            public uint initial_group
            {
                get => __pbn__initial_group.GetValueOrDefault();
                set => __pbn__initial_group = value;
            }
            public bool ShouldSerializeinitial_group() => __pbn__initial_group != null;
            public void Resetinitial_group() => __pbn__initial_group = null;
            private uint? __pbn__initial_group;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyAdminSetSeedValuesResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidStage = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyEditStageSwapPlayers : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint account_to_swap
        {
            get => __pbn__account_to_swap.GetValueOrDefault();
            set => __pbn__account_to_swap = value;
        }
        public bool ShouldSerializeaccount_to_swap() => __pbn__account_to_swap != null;
        public void Resetaccount_to_swap() => __pbn__account_to_swap = null;
        private uint? __pbn__account_to_swap;

        [global::ProtoBuf.ProtoMember(4)]
        public uint swap_with
        {
            get => __pbn__swap_with.GetValueOrDefault();
            set => __pbn__swap_with = value;
        }
        public bool ShouldSerializeswap_with() => __pbn__swap_with != null;
        public void Resetswap_with() => __pbn__swap_with = null;
        private uint? __pbn__swap_with;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyEditStageSwapPlayersResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_ePhaseNotInEdit = 4,
            k_eInvalidAccountID = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetLimitedReplay : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint account_id
        {
            get => __pbn__account_id.GetValueOrDefault();
            set => __pbn__account_id = value;
        }
        public bool ShouldSerializeaccount_id() => __pbn__account_id != null;
        public void Resetaccount_id() => __pbn__account_id = null;
        private uint? __pbn__account_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyGetLimitedReplayResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public global::System.Collections.Generic.List<LimitedStage> stages { get; } = new global::System.Collections.Generic.List<LimitedStage>();

        [global::ProtoBuf.ProtoMember(3)]
        public CMsgLimitedFormat format { get; set; }

        [global::ProtoBuf.ProtoContract()]
        public partial class LimitedStage : 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 stage_id
            {
                get => __pbn__stage_id.GetValueOrDefault();
                set => __pbn__stage_id = value;
            }
            public bool ShouldSerializestage_id() => __pbn__stage_id != null;
            public void Resetstage_id() => __pbn__stage_id = null;
            private uint? __pbn__stage_id;

            [global::ProtoBuf.ProtoMember(2)]
            public byte[] choice_set
            {
                get => __pbn__choice_set;
                set => __pbn__choice_set = value;
            }
            public bool ShouldSerializechoice_set() => __pbn__choice_set != null;
            public void Resetchoice_set() => __pbn__choice_set = null;
            private byte[] __pbn__choice_set;

            [global::ProtoBuf.ProtoMember(3)]
            public byte[] choices
            {
                get => __pbn__choices;
                set => __pbn__choices = value;
            }
            public bool ShouldSerializechoices() => __pbn__choices != null;
            public void Resetchoices() => __pbn__choices = null;
            private byte[] __pbn__choices;

        }

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidPlayer = 4,
            k_ePhaseNotReady = 5,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRejoinChatRoom : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyRejoinChatRoomResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eNoChatRoom = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgGCToClientTourneyMembersMatchmaking : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyPayEntryFee : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint target_account_id
        {
            get => __pbn__target_account_id.GetValueOrDefault();
            set => __pbn__target_account_id = value;
        }
        public bool ShouldSerializetarget_account_id() => __pbn__target_account_id != null;
        public void Resettarget_account_id() => __pbn__target_account_id = null;
        private uint? __pbn__target_account_id;

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

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyPayEntryFeeResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eInvalidItem = 4,
            k_eInvalidItemType = 5,
            k_eItemAlreadyFilled = 6,
            k_eInvalidTarget = 7,
            k_eInvalidStage = 8,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyPlayerAbandon : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyPlayerAbandonResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eMissingPermissions = 3,
            k_eUnableToAbandon = 4,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyChangeValue : 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 ulong tourney_id
        {
            get => __pbn__tourney_id.GetValueOrDefault();
            set => __pbn__tourney_id = value;
        }
        public bool ShouldSerializetourney_id() => __pbn__tourney_id != null;
        public void Resettourney_id() => __pbn__tourney_id = null;
        private ulong? __pbn__tourney_id;

        [global::ProtoBuf.ProtoMember(2)]
        public uint phase_id
        {
            get => __pbn__phase_id.GetValueOrDefault();
            set => __pbn__phase_id = value;
        }
        public bool ShouldSerializephase_id() => __pbn__phase_id != null;
        public void Resetphase_id() => __pbn__phase_id = null;
        private uint? __pbn__phase_id;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue(EValueType.k_eGlobal_SeedStage)]
        public EValueType value_type
        {
            get => __pbn__value_type ?? EValueType.k_eGlobal_SeedStage;
            set => __pbn__value_type = value;
        }
        public bool ShouldSerializevalue_type() => __pbn__value_type != null;
        public void Resetvalue_type() => __pbn__value_type = null;
        private EValueType? __pbn__value_type;

        [global::ProtoBuf.ProtoMember(4)]
        public uint int_value
        {
            get => __pbn__int_value.GetValueOrDefault();
            set => __pbn__int_value = value;
        }
        public bool ShouldSerializeint_value() => __pbn__int_value != null;
        public void Resetint_value() => __pbn__int_value = null;
        private uint? __pbn__int_value;

        [global::ProtoBuf.ProtoContract()]
        public enum EValueType
        {
            k_eGlobal_SeedStage = 1,
            k_eGlobal_OpenSpectating = 2,
            k_eGlobal_TimerMode = 3,
            k_ePhase_MaxPlayers = 50,
            k_ePhase_EditStage = 51,
            k_eSwiss_NumRounds = 100,
            k_eSwiss_Matches = 101,
            k_eBracket_BestOf = 150,
            k_eBracket_FinalsBestOf = 151,
            k_eFreeForAll_MaxGames = 200,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyChangeValueResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eInvalidPhase = 3,
            k_eInvalidValueType = 4,
            k_eValueIsLocked = 5,
            k_eInvalidValue = 6,
            k_ePlayerMismatch = 8,
            k_eMissingPermissions = 9,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyJoinOpenTourney : 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 language
        {
            get => __pbn__language.GetValueOrDefault();
            set => __pbn__language = value;
        }
        public bool ShouldSerializelanguage() => __pbn__language != null;
        public void Resetlanguage() => __pbn__language = null;
        private uint? __pbn__language;

        [global::ProtoBuf.ProtoMember(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string community_key
        {
            get => __pbn__community_key ?? "";
            set => __pbn__community_key = value;
        }
        public bool ShouldSerializecommunity_key() => __pbn__community_key != null;
        public void Resetcommunity_key() => __pbn__community_key = null;
        private string __pbn__community_key;

        [global::ProtoBuf.ProtoMember(3)]
        public uint open_tourney_mode
        {
            get => __pbn__open_tourney_mode.GetValueOrDefault();
            set => __pbn__open_tourney_mode = value;
        }
        public bool ShouldSerializeopen_tourney_mode() => __pbn__open_tourney_mode != null;
        public void Resetopen_tourney_mode() => __pbn__open_tourney_mode = null;
        private uint? __pbn__open_tourney_mode;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CMsgClientToGCTourneyJoinOpenTourneyResponse : 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(EResponse.k_eInternalError)]
        public EResponse result
        {
            get => __pbn__result ?? EResponse.k_eInternalError;
            set => __pbn__result = value;
        }
        public bool ShouldSerializeresult() => __pbn__result != null;
        public void Resetresult() => __pbn__result = null;
        private EResponse? __pbn__result;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong joined_tourney_id
        {
            get => __pbn__joined_tourney_id.GetValueOrDefault();
            set => __pbn__joined_tourney_id = value;
        }
        public bool ShouldSerializejoined_tourney_id() => __pbn__joined_tourney_id != null;
        public void Resetjoined_tourney_id() => __pbn__joined_tourney_id = null;
        private ulong? __pbn__joined_tourney_id;

        [global::ProtoBuf.ProtoMember(3)]
        public uint cooldown_time_after
        {
            get => __pbn__cooldown_time_after.GetValueOrDefault();
            set => __pbn__cooldown_time_after = value;
        }
        public bool ShouldSerializecooldown_time_after() => __pbn__cooldown_time_after != null;
        public void Resetcooldown_time_after() => __pbn__cooldown_time_after = null;
        private uint? __pbn__cooldown_time_after;

        [global::ProtoBuf.ProtoContract()]
        public enum EResponse
        {
            k_eInternalError = 0,
            k_eSuccess = 1,
            k_eDisabled = 2,
            k_eInvalidMode = 3,
            k_eInvalidRequest = 4,
            k_eTooBusy = 5,
            k_eRateLimited = 6,
            k_eInTooManyOpenAlready = 7,
            k_eInTooManyTotal = 8,
        }

    }

    [global::ProtoBuf.ProtoContract()]
    public enum EGCDCGClientMessages
    {
        k_EMsgClientToGCStartMatchmaking = 9010,
        k_EMsgClientToGCStartMatchmakingResponse = 9011,
        k_EMsgClientToGCStopMatchmaking = 9012,
        k_EMsgClientToGCStopMatchmakingResponse = 9013,
        k_EMsgGCToClientMatchmakingStopped = 9014,
        k_EMsgClientToGCLeaveLobby = 9015,
        k_EMsgClientToGCLeaveLobbyResponse = 9016,
        k_EMsgGCToClientDefaultValidator = 9019,
        k_EMsgClientToGCJoinChatChannel = 9023,
        k_EMsgClientToGCJoinChatChannelResponse = 9024,
        k_EMsgClientToGCSendChatMessage = 9025,
        k_EMsgGCToClientChatMessage = 9026,
        k_EMsgGCToClientUserJoinedChatChannel = 9027,
        k_EMsgClientToGCLeaveChatChannel = 9028,
        k_EMsgGCToClientChatChannelJoined = 9029,
        k_EMsgClientToGCIsInMatchmaking = 9030,
        k_EMsgClientToGCIsInMatchmakingResponse = 9031,
        k_EMsgClientToGCOpenPackItem = 9036,
        k_EMsgClientToGCOpenPackItemResponse = 9037,
        k_EMsgClientToGCLeaveChatChannelByKey = 9040,
        k_EMsgClientToGCSendChatMessageRoll = 9041,
        k_EMsgClientToGCGetMatchHistory = 9044,
        k_EMsgClientToGCGetMatchHistoryResponse = 9045,
        k_EMsgClientToGCGetMatchDetails = 9046,
        k_EMsgClientToGCGetMatchDetailsResponse = 9047,
        k_EMsgClientToGCLimitedGrant = 9048,
        k_EMsgClientToGCLimitedGrantResponse = 9049,
        k_EMsgClientToGCLimitedGrantChoice = 9050,
        k_EMsgClientToGCLimitedGrantChoiceResponse = 9051,
        k_EMsgClientToGCLimitedGetFormat = 9052,
        k_EMsgClientToGCLimitedGetFormatResponse = 9053,
        k_EMsgClientToGCGetAIVsAIMatchConfig = 9076,
        k_EMsgClientToGCGetAIVsAIMatchConfigResponse = 9077,
        k_EMsgClientToGCGetAIVsAIMatchComplete = 9078,
        k_EMsgGCToClientGlobalPhantomLeagues = 9081,
        k_EMsgGCToClientMatchmakingStatus = 9096,
        k_EMsgClientToGCJoinGauntlet = 9097,
        k_EMsgClientToGCJoinGauntletResponse = 9098,
        k_EMsgClientToGCAbandonGauntlet = 9099,
        k_EMsgClientToGCAbandonGauntletResponse = 9100,
        k_EMsgGCToClientAvailableGauntlets = 9101,
        k_EMsgClientToGCGetGauntletMatches = 9102,
        k_EMsgClientToGCGetGauntletMatchesResponse = 9103,
        k_EMsgClientToGCRegisterGauntletDeck = 9104,
        k_EMsgClientToGCRegisterGauntletDeckResponse = 9105,
        k_EMsgClientToGCAIGauntletResult = 9106,
        k_EMsgClientToGCAIGauntletResultResponse = 9107,
        k_EMsgClientToGCPrivateLobbyCreate = 9110,
        k_EMsgClientToGCPrivateLobbyCreateResponse = 9111,
        k_EMsgClientToGCPrivateLobbyLeave = 9112,
        k_EMsgClientToGCPrivateLobbyLeaveResponse = 9113,
        k_EMsgClientToGCPrivateLobbyJoin = 9114,
        k_EMsgClientToGCPrivateLobbyJoinResponse = 9115,
        k_EMsgClientToGCPrivateLobbyAction = 9116,
        k_EMsgClientToGCPrivateLobbyActionResponse = 9117,
        k_EMsgClientToGCPrivateLobbyStartMatch = 9118,
        k_EMsgClientToGCPrivateLobbyStartMatchResponse = 9119,
        k_EMsgClientToGCPrivateLobbyInviteUser = 9120,
        k_EMsgClientToGCPrivateLobbyInviteUserResponse = 9121,
        k_EMsgClientToGCPrivateLobbyChallenge = 9122,
        k_EMsgClientToGCPrivateLobbyChallengeResponse = 9123,
        k_EMsgGCToClientPrivateLobbyEvent = 9124,
        k_EMsgClientToGCPrivateLobbyClientVersion = 9125,
        k_EMsgGCToClientSDRTicket = 9126,
        k_EMsgClientToGCReplacementSDRTicket = 9127,
        k_EMsgClientToGCReplacementSDRTicketResponse = 9128,
        k_EMsgClientToGCPrivateLobbyJoinChatRoom = 9129,
        k_EMsgClientToGCPrivateLobbyJoinChatRoomResponse = 9130,
        k_EMsgClientToGCMatchSignout = 9133,
        k_EMsgClientToGCInitialGrantAck = 9134,
        k_EMsgClientToGCRecycleCards = 9135,
        k_EMsgClientToGCRecycleCardsResponse = 9136,
        k_EMsgClientToGCSetPlayerBadge = 9137,
        k_EMsgClientToGCTourneyGetInfo = 9500,
        k_EMsgClientToGCTourneyGetInfoResponse = 9501,
        k_EMsgClientToGCTourneyUnsubscribe = 9502,
        k_EMsgGCToClientTourneyUpdated = 9503,
        k_EMsgGCToClientTourneySeriesMatchReady = 9506,
        k_EMsgGCToClientTourneySeriesMatchNotReady = 9507,
        k_EMsgClientToGCCreateTourney = 9508,
        k_EMsgClientToGCCreateTourneyResponse = 9509,
        k_EMsgClientToGCTourneyAcceptInvite = 9512,
        k_EMsgClientToGCTourneyAcceptInviteResponse = 9513,
        k_EMsgClientToGCTourneyRejectInvite = 9514,
        k_EMsgClientToGCTourneyRejectInviteResponse = 9515,
        k_EMsgClientToGCTourneyRevokeInvite = 9516,
        k_EMsgClientToGCTourneyRevokeInviteResponse = 9517,
        k_EMsgClientToGCTourneyAdminSwitchStage = 9518,
        k_EMsgClientToGCTourneyAdminSwitchStageResponse = 9519,
        k_EMsgClientToGCTourneyAdminKick = 9520,
        k_EMsgClientToGCTourneyAdminKickResponse = 9521,
        k_EMsgClientToGCTourneyAdminGrantWin = 9522,
        k_EMsgClientToGCTourneyAdminGrantWinResponse = 9523,
        k_EMsgClientToGCTourneyAdminChangeRights = 9524,
        k_EMsgClientToGCTourneyAdminChangeRightsResponse = 9525,
        k_EMsgClientToGCTourneyRegisterDeck = 9526,
        k_EMsgClientToGCTourneyRegisterDeckResponse = 9527,
        k_EMsgClientToGCTourneyUserLeave = 9528,
        k_EMsgClientToGCTourneyUserLeaveResponse = 9529,
        k_EMsgClientToGCTourneyRegisterSharedDeck = 9530,
        k_EMsgClientToGCTourneyRegisterSharedDeckResponse = 9531,
        k_EMsgClientToGCTourneyGetRegisteredDecks = 9532,
        k_EMsgClientToGCTourneyGetRegisteredDecksResponse = 9533,
        k_EMsgClientToGCTourneyCreateOpenInvite = 9536,
        k_EMsgClientToGCTourneyCreateOpenInviteResponse = 9537,
        k_EMsgClientToGCTourneyRevokeOpenInvite = 9538,
        k_EMsgClientToGCTourneyRevokeOpenInviteResponse = 9539,
        k_EMsgClientToGCTourneyGetOpenInvites = 9540,
        k_EMsgClientToGCTourneyGetOpenInvitesResponse = 9541,
        k_EMsgClientToGCTourneyAdminSwitchPhaseStage = 9542,
        k_EMsgClientToGCTourneyAdminSwitchPhaseStageResponse = 9543,
        k_EMsgClientToGCTourneyGetOverview = 9544,
        k_EMsgClientToGCTourneyGetOverviewResponse = 9545,
        k_EMsgClientToGCTourneySetStatus = 9546,
        k_EMsgClientToGCTourneySetStatusResponse = 9547,
        k_EMsgClientToGCTourneyAddPhase = 9548,
        k_EMsgClientToGCTourneyAddPhaseResponse = 9549,
        k_EMsgClientToGCTourneyRemovePhase = 9550,
        k_EMsgClientToGCTourneyRemovePhaseResponse = 9551,
        k_EMsgClientToGCTourneySpectateMatch = 9552,
        k_EMsgClientToGCTourneySpectateMatchResponse = 9553,
        k_EMsgClientToGCTourneyInviteList = 9554,
        k_EMsgClientToGCTourneyInviteListResponse = 9555,
        k_EMsgClientToGCTourneyAdminSetSeedValues = 9556,
        k_EMsgClientToGCTourneyAdminSetSeedValuesResponse = 9557,
        k_EMsgClientToGCTourneyEditStageSwapPlayers = 9558,
        k_EMsgClientToGCTourneyEditStageSwapPlayersResponse = 9559,
        k_EMsgClientToGCTourneyGetLimitedReplay = 9560,
        k_EMsgClientToGCTourneyGetLimitedReplayResponse = 9561,
        k_EMsgClientToGCTourneyRejoinChatRoom = 9562,
        k_EMsgClientToGCTourneyRejoinChatRoomResponse = 9563,
        k_EMsgGCToClientTourneyMembersMatchmaking = 9564,
        k_EMsgClientToGCTourneyPayEntryFee = 9565,
        k_EMsgClientToGCTourneyPayEntryFeeResponse = 9566,
        k_EMsgClientToGCTourneyPlayerAbandon = 9567,
        k_EMsgClientToGCTourneyPlayerAbandonResponse = 9568,
        k_EMsgClientToGCTourneyChangeValue = 9569,
        k_EMsgClientToGCTourneyChangeValueResponse = 9570,
        k_EMsgClientToGCTourneyJoinOpenTourney = 9571,
        k_EMsgClientToGCTourneyJoinOpenTourneyResponse = 9572,
    }

    [global::ProtoBuf.ProtoContract()]
    public enum EChatRoomType
    {
        k_EChatRoomType_Invalid = 0,
        k_EChatRoomType_Match = 1,
        k_EChatRoomType_PublicRegion = 2,
        k_EChatRoomType_Developer = 3,
        k_EChatRoomType_Custom = 4,
        k_EChatRoomType_PrivateLobby = 5,
        k_EChatRoomType_Client_Tab = 20,
        k_EChatRoomType_Client_Whisper = 21,
    }

    [global::ProtoBuf.ProtoContract()]
    public enum EChatMessageAdditionalData
    {
        k_EChatMessageAdditionalData_None = 0,
        k_EChatMessageAdditionalData_DiceRoll = 1,
    }

}

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