Class

GKInvite

A matchmaking invitation sent by another player to the local player.

Declaration

@interface GKInvite : NSObject

Overview

Your game never directly creates GKInvite objects. Instead, these objects are created by GameKit and delivered to your game’s matchmaking event handler. The properties of the invitation object describe the match the local player is being invited to join.

Topics

Reading Invitation Properties

hosted

A Boolean value that states whether the game is hosted on your servers.

playerAttributes

The player attributes for the match.

playerGroup

The player group for the match.

sender

The identifier for the player who sent the invitation.

inviter

The identifier for the player who sent the invitation.

Deprecated

Relationships

Inherits From

See Also

Player Invitations

GKMatchmaker

An object that programmatically creates matches with other players and receives match invitations sent by other players.

GKMatchmakerViewController

A user interface for inviting friends to a match or for allowing Game Center to fill the remaining players needed for a match.

GKTurnBasedMatchmakerViewController

A user interface that allows players to manage the turn-based matches that they are participating in.