nn::nex::MatchmakeSessionSearchCriteria::SetVacantOnly Member Function

Syntax

void SetVacantOnly(
     bool vacantOnly
);

qBool SetVacantOnly(
     bool vacantOnly,
     qUnsignedInt16 participants
);

Overloaded Member Functions

SetVacantOnly ( bool ) Sets whether to exclude full sessions.
SetVacantOnly ( bool, qUnsignedInt16 ) Sets whether to exclude full sessions. You can specify the number of vacancies to search for.

Description of SetVacantOnly ( bool )

Sets whether to exclude full sessions. The default is not to exclude.

This member function excludes sessions regardless of the settings when specified with the AutoMatchmakeParam::SetSearchCriteria function. It is enabled when the MatchmakeExtensionClient::BrowseMatchmakeSession function is used.

Description of SetVacantOnly ( bool, qUnsignedInt16 )

Sets whether to exclude full sessions. The default is not to exclude. If full sessions are excluded, you can specify the number of vacancies to look for when searching matchmaking sessions.

The MatchmakeExtensionClient::BrowseMatchmakeSession function then searches for matchmaking sessions with at least as many vacancies at the value you specified for participants.

If you specify search criteria using the AutoMatchmakeParam::SetSearchCriteria function, the MatchmakeExtensionClient::BrowseMatchmakeSession function searches for matchmaking sessions with at least as many vacancies as the number of users that will be joining the session regardless of the values set here.


CONFIDENTIAL