Instance Property

isHosted

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

Declaration

var isHosted: Bool { get }

Discussion

If the value of the isHosted property is true, this is a match hosted on your own server. If the value is false, this is a peer-to-peer match using Game Center. The default is false.

See Also

Reading Invitation Properties

var playerAttributes: UInt32

The player attributes for the match.

var playerGroup: Int

The player group for the match.

var sender: GKPlayer

The identifier for the player who sent the invitation.

var inviter: String

The identifier for the player who sent the invitation.

Deprecated