nn::nex::Gathering::SetMaxParticipants Member Function

Syntax

void SetMaxParticipants(
     qUnsignedInt16 uiMaxParticipants
);

Parameters

Name Description
in uiMaxParticipants The maximum number of people who can participate in the gathering.

Return Values

None.

Description

Sets the maximum number of people who can join the gathering.

The number of participants in the gathering cannot exceed this value. When 0 is specified, there is no limit to the maximum number of participants. You can also specify a value less than the current number of participants when updating the maximum number of participants using the MatchmakeExtensionClient::UpdateMatchmakeSession or MatchmakeExtensionClient::UpdatePersistentGathering functions. This will not kick out any of the existing participants, but no new participants will be able to join the gathering until the current number of participants is less than the new maximum number of participants.

Revision History

2014/07/02
Added that specifying 0 sets the maximum number of participants to infinity.
2013/07/18
Added a note indicating that participants are not dropped when the maximum number of people is reduced.
2011/01/27
Initial version.

CONFIDENTIAL