Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineSession
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool StartMatchmaking
(
const TArray< FUniqueNetIdRef >& LocalPlayers, |
Begins cloud based matchmaking for a session | Interfaces/OnlineSessionInterface.h | |
virtual bool StartMatchmaking
(
const TArray< FSessionMatchmakingUser >& LocalPlayers, |
Begins cloud based matchmaking for a session | Interfaces/OnlineSessionInterface.h |
StartMatchmaking(const TArray< FUniqueNetIdRef > &, FName, const FOnlineSessionSettings &, TSharedRef< FOnlineSessionSearch > &)
Description
Begins cloud based matchmaking for a session
| Name | StartMatchmaking |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
bool StartMatchmaking
(
const TArray < FUniqueNetIdRef > & LocalPlayers,
FName SessionName,
const FOnlineSessionSettings & NewSessionSettings,
TSharedRef < FOnlineSessionSearch > & SearchSettings
)
true if successful searching for sessions, false otherwise
Parameters
| Name | Remarks |
|---|---|
| LocalPlayers | the ids of all local players that will participate in the match |
| SessionName | the name of the session to use, usually will be GAME_SESSION_NAME |
| NewSessionSettings | the desired settings to match against or create with when forming new sessions |
| SearchSettings | the desired settings that the matched session will have |
StartMatchmaking(const TArray< FSessionMatchmakingUser > &, FName, const FOnlineSessionSettings &, TSharedRef< FOnlineSessionSearch > &, const FOnStartMatchmakingComplete &)
Description
Begins cloud based matchmaking for a session
| Name | StartMatchmaking |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
| Source | /Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineSessionInterface.cpp |
virtual bool StartMatchmaking
(
const TArray < FSessionMatchmakingUser > & LocalPlayers,
FName SessionName,
const FOnlineSessionSettings & NewSessionSettings,
TSharedRef < FOnlineSessionSearch > & SearchSettings,
const FOnStartMatchmakingComplete & CompletionDelegate
)
true if successful searching for sessions, false otherwise
Parameters
| Name | Remarks |
|---|---|
| LocalPlayers | the ids of all local players that will participate in the match |
| SessionName | the name of the session to use, usually will be GAME_SESSION_NAME |
| NewSessionSettings | the desired settings to match against or create with when forming new sessions |
| SearchSettings | the desired settings that the matched session will have |