Instance Property

hosted

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

Declaration

iOS, Mac Catalyst, tvOS
@property(readonly, getter=isHosted, nonatomic) BOOL hosted;
macOS
@property(readonly, getter=isHosted, atomic) BOOL hosted;

Discussion

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

See Also

Reading Invitation Properties

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