Type Method

maxPlayersAllowedForMatchOfType:

Returns the maximum number of players allowed in the match request for a given match type.

Declaration

+ (NSUInteger)maxPlayersAllowedForMatchOfType:(GKMatchType)matchType;

Parameters

matchType

The kind of match. See GKMatchType.

Return Value

The maximum number of allowed players for that type of match.

See Also

Determining the Number of Players Allowed in the Game

GKMatchType

The kind of match being created.

maxPlayers

The maximum number of players that may join the match.

minPlayers

The minimum number of players that may join the match.

defaultNumberOfPlayers

The default number of players for the match.