<GPGTurnBasedMatchDelegate> Protocol Reference

<GPGTurnBasedMatchDelegate> Protocol Reference

Overview

Called for all passive match updates.

Public Member Functions

(void) - didReceiveTurnBasedInviteForMatch:participant:fromPushNotification:
 Received invite for match.
(void) - didReceiveTurnEventForMatch:participant:fromPushNotification:
 Received a turn event for a match.
(void) - matchEnded:participant:fromPushNotification:
 Received a match ended update.
(void) - failedToProcessMatchUpdate:error:
 Received an error while processing a passive match update.

Member Function Documentation

- (void) didReceiveTurnBasedInviteForMatch: (GPGTurnBasedMatch *)  match
participant: (GPGTurnBasedParticipant *)  participant
fromPushNotification: (BOOL)  fromPushNotification 
[optional]

Received invite for match.

Parameters:
matchThe match that the invite corresponds to.
participantThe inviter and creator of the match.
fromPushNotificationYES if this update was delivered from a push notification.
- (void) didReceiveTurnEventForMatch: (GPGTurnBasedMatch *)  match
participant: (GPGTurnBasedParticipant *)  participant
fromPushNotification: (BOOL)  fromPushNotification 
[optional]

Received a turn event for a match.

Parameters:
matchThe match that recieved the event.
participantThe last participant to take a turn.
fromPushNotificationYES if this update was delivered from a push notification.
- (void) matchEnded: (GPGTurnBasedMatch *)  match
participant: (GPGTurnBasedParticipant *)  participant
fromPushNotification: (BOOL)  fromPushNotification 
[optional]

Received a match ended update.

Parameters:
matchThe match that recieved the update.
participantThe participant who ended the match.
fromPushNotificationYES if this update was delivered from a push notification.
- (void) failedToProcessMatchUpdate: (GPGTurnBasedMatch *)  match
error: (NSError *)  error 
[optional]

Received an error while processing a passive match update.

Parameters:
matchThe match that failed.
errorThe error given by the match update.

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

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