<GPGTurnBasedMatchViewControllerDelegate> Protocol Reference

<GPGTurnBasedMatchViewControllerDelegate> Protocol Reference

Overview

The delegate for receiving user initiated match events.

Public Member Functions

(void) - turnBasedMatchViewController:didJoinMatch:
 The user selected a match to join.
(void) - turnBasedMatchViewController:didDeclineMatch:
 The user selected a match to decline.
(void) - turnBasedMatchViewController:didTakeTurnWithMatch:
 The user selected a match to play.
(void) - turnBasedMatchViewController:didRematch:
 The user selected a completed match to rematch.
(void) - turnBasedMatchViewControllerDidFinish:
 The user dismissed the controller.
(void) - turnBasedMatchViewController:didTapMyTurnMatch:
 The user tapped a "my turn" match.
(void) - turnBasedMatchViewController:didTapTheirTurnMatch:
 The user tapped a "their turn" match.
(void) - turnBasedMatchViewController:didTapCompletedMatch:
 The user tapped a "completed" match.

Member Function Documentation

- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didJoinMatch: (GPGTurnBasedMatch *)  match 

The user selected a match to join.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user selected.
- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didDeclineMatch: (GPGTurnBasedMatch *)  match 

The user selected a match to decline.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user selected.
- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didTakeTurnWithMatch: (GPGTurnBasedMatch *)  match 

The user selected a match to play.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user selected.
- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didRematch: (GPGTurnBasedMatch *)  match 

The user selected a completed match to rematch.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user selected.

The user dismissed the controller.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user dismissed.
- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didTapMyTurnMatch: (GPGTurnBasedMatch *)  match 
[optional]

The user tapped a "my turn" match.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user tapped.
- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didTapTheirTurnMatch: (GPGTurnBasedMatch *)  match 
[optional]

The user tapped a "their turn" match.

Parameters:
controllerthe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user tapped.
- (void) turnBasedMatchViewController: (GPGTurnBasedMatchViewController *)  controller
didTapCompletedMatch: (GPGTurnBasedMatch *)  match 
[optional]

The user tapped a "completed" match.

Parameters:
controllerThe GPGTurnBasedMatchViewController the user interacted with.
matchThe match the user tapped.

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

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