GPGTurnBasedMatchViewController Class Reference

GPGTurnBasedMatchViewController Class Reference

Overview

The main controller for listing matches.

The controller will take input from the user and send back requests through the matchDelegate. The controller does not affect match state except for if it is asked to show a match already finishehd by another player, but not by the localPlayer. It will then call [match finishWithData:nil results:nil completionHandler:nil] to keep match state consistent across players and devices. Prefer to manually call finishWithData with locally computed match results after receiving a matchEnded delegate notification. User actions do however update matches where applicable: join, decline, and rematch.

Properties

id
< GPGTurnBasedMatchViewControllerDelegate
matchDelegate
 The delegate which receives controller updates.
NSArray * matchListToDisplay
 Used to customize the match list displayed by overriding the default matches from server.

Property Documentation

The delegate which receives controller updates.

These updates include user-initiated match events (for example, play, join, or decline) and controller events such as dismissal.

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

Used to customize the match list displayed by overriding the default matches from server.

If this property is not, set the controller will display the user's default match list. Type: GPGTurnBasedMatch

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

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