Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
Include |
#include "Interfaces/OnlineSessionInterface.h" |
bool StartMatchmaking
(
const TArray< FUniqueNetIdRef > & LocalPlayers,
FName SessionName,
const FOnlineSessionSettings & NewSessionSettings,
TSharedRef< FOnlineSessionSearch > & SearchSettings
)
Begins cloud based matchmaking for a session
true if successful searching for sessions, false otherwise
Parameter |
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 |