Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemTypes.h |
Include |
#include "OnlineSubsystemTypes.h" |
namespace EOnlineSessionState
{
enum Type
{
NoSession,
Creating,
Pending,
Starting,
InProgress,
Ending,
Ended,
Destroying,
}
}
Name |
Description |
---|---|
NoSession |
An online session has not been created yet |
Creating |
An online session is in the process of being created |
Pending |
Session has been created but the session hasn't started (pre match lobby) |
Starting |
Session has been asked to start (may take time due to communication with backend) |
InProgress |
The current session has started. Sessions with join in progress disabled are no longer joinable |
Ending |
The session is still valid, but the session is no longer being played (post match lobby) |
Ended |
The session is closed and any stats committed |
Destroying |
The session is being destroyed |
Enum indicating the current state of the online session (in progress, ended, etc.)