GPGMultiplayerConfig Class Reference

GPGMultiplayerConfig Class Reference

Overview

The configuration representing who can be invited and who can join a match or room.

Properties

uint64_t exclusiveBitMask
 A bitmask indicating when auto-matches are valid.
NSArray * invitedPlayerIds
 The player IDs of players invited to the match.
int maxAutoMatchingPlayers
 The maximum number of players that should be added to the room by auto-matching.
int minAutoMatchingPlayers
 The minimum number of players that should be added to the room by auto-matching.
int variant
 The game variant used for auto-matching.

Property Documentation

- (uint64_t) exclusiveBitMask [read, write, assign]

A bitmask indicating when auto-matches are valid.

When ANDed with other exclusive bitmasks, the result must be zero. Can be used to support exclusive roles within a game. If there are no exclusivity requirements for the game, this value should just be set to 0.

- (NSArray*) invitedPlayerIds [read, write, copy]

The player IDs of players invited to the match.

- (int) maxAutoMatchingPlayers [read, write, assign]

The maximum number of players that should be added to the room by auto-matching.

- (int) minAutoMatchingPlayers [read, write, assign]

The minimum number of players that should be added to the room by auto-matching.

- (int) variant [read, write, assign]

The game variant used for auto-matching.

Must be either a positive integer or kGPGMultiplayerVariantDefault for no variant.

Оставить отзыв о...

Текущей странице
Play Games Services for iOS
Play Games Services for iOS