Enumeration

GKTurnBasedMatch.Status

The different states that a match can enter.

Declaration

enum Status : Int

Topics

Constants

case unknown

The match is in an unexpected state.

case open

The match is currently being played.

case ended

The match has been completed.

case matching

Game Center is still searching for other players to join the match.

See Also

Retrieving Information About the Match

var participants: [GKTurnBasedParticipant]

Information about the players participating in the match.

var currentParticipant: GKTurnBasedParticipant?

The participant whose turn it is to act next.

var matchData: Data?

Game-specific data that reflects the details of the match.

var matchDataMaximumSize: Int

Returns the limit the Game Center servers place on the size of the match data.

var message: String?

A message displayed to all players in the match.

var creationDate: Date

The date that the match was created.

var matchID: String

A string that uniquely identifies the match.

var status: GKTurnBasedMatch.Status

The current state of the match.