Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Enum indicating the current state of the online session (in progress, ended, etc.)
| Name | EOnlineSessionState::Type |
| Type | enum |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemTypes.h |
| Include Path | #include "OnlineSubsystemTypes.h" |
Syntax
namespace EOnlineSessionState
{
enum Type
{
NoSession,
Creating,
Pending,
Starting,
InProgress,
Ending,
Ended,
Destroying,
}
}
Values
| Name | Remarks |
|---|---|
| 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 |