Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineSession > API/Plugins/OnlineSubsystem/Interfaces/IOnlineSession/StartMatchmaking
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include | #include "Interfaces/OnlineSessionInterface.h" |
| Source | /Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineSessionInterface.cpp |
virtual bool StartMatchmaking
&40;
const TArray< FSessionMatchmakingUser > & LocalPlayers,
FName SessionName,
const FOnlineSessionSettings & NewSessionSettings,
TSharedRef< FOnlineSessionSearch > & SearchSettings,
const FOnStartMatchmakingComplete & CompletionDelegate
&41;
Remarks
Begins cloud based matchmaking for a session true if successful searching for sessions, false otherwise
Parameters
| Name | Description |
|---|---|
| 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 |