Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineSession
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNamedOnlineSession * AddNamedSession
(
FName SessionName, |
Adds a new named session to the list (new session) | Interfaces/OnlineSessionInterface.h | |
FNamedOnlineSession * AddNamedSession
(
FName SessionName, |
Adds a new named session to the list (from existing session data) | Interfaces/OnlineSessionInterface.h |
AddNamedSession(FName, const FOnlineSessionSettings &)
Description
Adds a new named session to the list (new session)
| Name | AddNamedSession |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
FNamedOnlineSession * AddNamedSession
(
FName SessionName,
const FOnlineSessionSettings & SessionSettings
)
a pointer to the struct that was added
Parameters
| Name | Remarks |
|---|---|
| SessionName | the name to search for |
| GameSettings | the game settings to add |
AddNamedSession(FName, const FOnlineSession &)
Description
Adds a new named session to the list (from existing session data)
| Name | AddNamedSession |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
FNamedOnlineSession * AddNamedSession
(
FName SessionName,
const FOnlineSession & Session
)
a pointer to the struct that was added
Parameters
| Name | Remarks |
|---|---|
| SessionName | the name to search for |
| GameSettings | the game settings to add |