Contents

playerProperties

The properties for other players that matchmaking rules uses to find players, with some additions.

Declaration

var playerProperties: [GKPlayer : [String : Any]]? { get }

Discussion

This property is similar to the GKMatchRequest.recipientProperties property but with some additions that Game Center may add. For example, if you add team rules to your rule set, use the gc and team keys to get the name of the player’s team, similar to properties.

For more information, see Matchmaking rules.

See Also

Getting matchmaking properties