הפניה לפרוטוקול <GCKGameManagerChannelChannel>
סקירה כללית
הפרוטוקול להאצלה GCKGameManagerChannel.
- Deprecated:
- ה-Game Manager API לא נתמך יותר ויוסר בגרסה עתידית.
עברה בירושה <GCKCastChannelNSNSObject>.
סיכום של שיטת המכונה | |
| (void) | - gameManagerChannel:stateDidChangeTo:from: |
| בוצעה שיחה כשמצב מנהל המשחקים השתנה. עוד... | |
| (void) | - gameManagerChannel:didReceiveGameMessage:forPlayerID: |
| התקשרות אם המקבל שולח הודעת משחק עבור שחקן ספציפי. עוד... | |
| (void) | - gameManagerChannel:requestDidSucceedWithID:result: |
| הבקשה התקבלה כשבקשת הנגן או בקשת המשחק הושלמה. עוד... | |
| (void) | - gameManagerChannel:requestDidFailWithID:error: |
| התקבלה בקשה כשבקשת הנגן או בקשת המשחק נכשלה עם שגיאה. עוד... | |
| (void) | - gameManagerChannelDidConnect: |
| התקשרנו כשמנהל המשחקים של המקבל התחבר בהצלחה ואנחנו מוכנים לאינטראקציה איתו. עוד... | |
| (void) | - gameManagerChannel:didFailToConnectWithError: |
| התקשרת אם מנהל המשחקים של המקבל נתקל בשגיאה במהלך החיבור. עוד... | |
פרטי השיטה
| - (void) gameManagerChannel: | (GCKGameManagerChannel *) | gameManagerChannel | |
| stateDidChangeTo: | (GCKGameManagerState *) | currentState | |
| from: | (GCKGameManagerState *) | previousState | |
בוצעה שיחה כשמצב מנהל המשחקים השתנה.
- Parameters
-
gameManagerChannel The affected GCKGameManagerChannel. currentState The current state. previousState The previous state.
| - (void) gameManagerChannel: | (GCKGameManagerChannel *) | gameManagerChannel | |
| didReceiveGameMessage: | (id) | gameMessage | |
| forPlayerID: | (NSString *) | playerID | |
התקשרות אם המקבל שולח הודעת משחק עבור שחקן ספציפי.
- Parameters
-
gameManagerChannel The affected GCKGameManagerChannel. gameMessage The game message sent by the receiver. playerID The player ID associated with the game message.
| - (void) gameManagerChannel: | (GCKGameManagerChannel *) | gameManagerChannel | |
| requestDidSucceedWithID: | (NSInteger) | requestID | |
| result: | (GCKGameManagerResult *) | result | |
הבקשה התקבלה כשבקשת הנגן או בקשת המשחק הושלמה.
- Parameters
-
gameManagerChannel The affected GCKGameManagerChannel. requestID The request ID that failed. This is the ID returned when the request was made. result The GCKGameManagerResult returned as part of this request response.
| - (void) gameManagerChannel: | (GCKGameManagerChannel *) | gameManagerChannel | |
| requestDidFailWithID: | (NSInteger) | requestID | |
| error: | (GCKError *) | error | |
התקבלה בקשה כשבקשת הנגן או בקשת המשחק נכשלה עם שגיאה.
- Parameters
-
gameManagerChannel The affected GCKGameManagerChannel. requestID The request ID that failed. This is the ID returned when the request was made. error The error describing the failure.
|
required |
התקשרנו כשמנהל המשחקים של המקבל התחבר בהצלחה ואנחנו מוכנים לאינטראקציה איתו.
- Parameters
-
gameManagerChannel The affected GCKGameManagerChannel.
|
required |
התקשרת אם מנהל המשחקים של המקבל נתקל בשגיאה במהלך החיבור.
- Parameters
-
gameManagerChannel The affected GCKGameManagerChannel. error The error describing the failure.