Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemTypes.h |
Include |
#include "OnlineSubsystemTypes.h" |
namespace EOnlineServerConnectionStatus
{
enum Type
{
Normal = 0,
NotConnected,
Connected,
ConnectionDropped,
NoNetworkConnection,
ServiceUnavailable,
UpdateRequired,
ServersTooBusy,
DuplicateLoginDetected,
InvalidUser,
NotAuthorized,
InvalidSession,
}
}
Name |
Description |
---|---|
Normal |
System normal (used for default state) |
NotConnected |
Gracefully disconnected from the online servers |
Connected |
Connected to the online servers just fine |
ConnectionDropped |
Connection was lost for some reason |
NoNetworkConnection |
Can't connect because of missing network connection |
ServiceUnavailable |
Service is temporarily unavailable |
UpdateRequired |
An update is required before connecting is possible |
ServersTooBusy |
Servers are too busy to handle the request right now |
DuplicateLoginDetected |
Disconnected due to duplicate login |
InvalidUser |
Can't connect because of an invalid/unknown user |
NotAuthorized |
Not authorized |
InvalidSession |
Session has been lost on the backend |
Possible connection states