3#include "mc/_HeaderOutputPredefine.h"
7enum class DisconnectFailReason :
int {
9 CantConnectNoInternet = 1,
11 UnrecoverableError = 3,
12 ThirdPartyBlocked = 4,
13 ThirdPartyNoInternet = 5,
15 ThirdPartyNoServerOrServerLocked = 7,
18 InviteSessionNotFound = 10,
19 EduLevelSettingsMissing = 11,
20 LocalServerNotFound = 12,
21 LegacyDisconnect = 13,
22 UserLeaveGameAttempted = 14,
23 PlatformLockedSkinsError = 15,
24 RealmsWorldUnassigned = 16,
25 RealmsServerCantConnect = 17,
26 RealmsServerHidden = 18,
27 RealmsServerDisabledBeta = 19,
28 RealmsServerDisabled = 20,
29 CrossPlatformDisabled = 21,
32 ClientSettingsIncompatibleWithServer = 24,
34 InvalidPlatformSkin = 26,
35 EditionVersionMismatch = 27,
37 LevelNewerThanExeVersion = 29,
44 NoPremiumPlatform = 36,
45 MultiplayerDisabled = 37,
51 LoggedInOtherLocation = 43,
52 ServerIdConflict = 44,
54 NotAuthenticated = 46,
57 UnexpectedPacket = 49,
58 InvalidCommandRequestPacket = 50,
60 LoginPacketNoRequest = 52,
61 LoginPacketNoCert = 53,
64 KickedForExploit = 56,
66 ResourcePackProblem = 58,
67 IncompatiblePack = 59,
70 DisconnectPacketDeprecated = 62,
74 ConnectionLostDeprecated = 66,
75 ZombieConnection = 67,
77 ReasonNotSetDeprecated = 69,
78 LoadingStateTimeout = 70,
79 ResourcePackLoadingFailed = 71,
80 SearchingForSessionLoadingScreenFailed = 72,
81 NetherNetProtocolVersion = 73,
82 SubsystemStatusError = 74,
83 EmptyAuthFromDiscovery = 75,
84 EmptyUrlFromDiscovery = 76,
85 ExpiredAuthFromDiscovery = 77,
86 UnknownSignalServiceSignInFailure = 78,
87 XBLJoinLobbyFailure = 79,
88 UnspecifiedClientInstanceDisconnection = 80,
89 NetherNetSessionNotFound = 81,
90 NetherNetCreatePeerConnection = 82,
92 NetherNetConnectRequest = 84,
93 NetherNetConnectResponse = 85,
94 NetherNetNegotiationTimeout = 86,
95 NetherNetInactivityTimeout = 87,
96 StaleConnectionBeingReplaced = 88,
97 RealmsSessionNotFoundDeprecated = 89,
99 NetherNetFailedToCreateOffer = 91,
100 NetherNetFailedToCreateAnswer = 92,
101 NetherNetFailedToSetLocalDescription = 93,
102 NetherNetFailedToSetRemoteDescription = 94,
103 NetherNetNegotiationTimeoutWaitingForResponse = 95,
104 NetherNetNegotiationTimeoutWaitingForAccept = 96,
105 NetherNetIncomingConnectionIgnored = 97,
106 NetherNetSignalingParsingFailure = 98,
107 NetherNetSignalingUnknownError = 99,
108 NetherNetSignalingUnicastDeliveryFailed = 100,
109 NetherNetSignalingBroadcastDeliveryFailed = 101,
110 NetherNetSignalingGenericDeliveryFailed = 102,
111 EditorMismatchEditorWorld = 103,
112 EditorMismatchVanillaWorld = 104,
113 WorldTransferNotPrimaryClient = 105,
114 RequestServerShutdown = 106,
115 ClientGameSetupCancelled = 107,
116 ClientGameSetupFailed = 108,
118 NetherNetSignalingSigninFailed = 110,
119 SessionAccessDenied = 111,
120 ServiceSigninIssue = 112,
121 NetherNetNoSignalingChannel = 113,
122 NetherNetNotLoggedIn = 114,
123 NetherNetClientSignalingError = 115,
124 SubClientLoginDisabled = 116,
125 DeepLinkTryingToOpenDemoWorldWhileSignedIn = 117,