void SetSourceMatchmakeSession( const MatchmakeSession & sourceMatchmakeSession );
Name | Description | |
---|---|---|
in | sourceMatchmakeSession | Specifies the matchmaking session to create if a suitable matchmaking session cannot be found. |
Sets the matchmaking session to create if a suitable matchmaking session cannot be found.
If no criteria are set with either the AutoMatchmakeParam::SetSearchCriteria
function or the AutoMatchmakeParam::SetTargetGatheringId
function, this function searches for a matchmaking session that is not locked, has room for participants, has a P2P host, and matches the specified game mode, minimum and maximum participants, matchmaking system type, and search criteria. If criteria were specified with the AutoMatchmakeParam::SetSearchCriteria
or AutoMatchmakeParam::SetTargetGatheringId
functions, the search is run using those criteria. If no sessions matching the search criteria are found, a matchmaking session is created using the parameters specified in sourceMatchmakeSession.
CONFIDENTIAL