<GCKGameManagerChannelReseller> Protokol
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
GCKGameManagerChannel yetki verme protokolü.
- Deprecated:
- Game Manager API artık desteklenmemektedir ve gelecekteki bir sürümde kaldırılacaktır.
<GCKCastChannelNSObject> öğesini devralır.
Oyun Yöneticisi durumu değiştiğinde çağrılır.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
currentState | The current state. |
previousState | The previous state. |
- (void) gameManagerChannel: |
|
(GCKGameManagerChannel *) |
gameManagerChannel |
didReceiveGameMessage: |
|
(id) |
gameMessage |
forPlayerID: |
|
(NSString *) |
playerID |
|
|
| |
Alıcı belirli bir oyuncu için oyun mesajı gönderdiğinde çağrılır.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
gameMessage | The game message sent by the receiver. |
playerID | The player ID associated with the game message. |
Oyuncu isteği veya oyun isteği başarılı olduğunda çağrılır.
- 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. |
Oyuncu isteği veya oyun isteği hatayla başarısız olduğunda çağrılır.
- 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. |
Alıcının Oyun Yöneticisi başarılı bir şekilde bağlandığında ve kendisiyle etkileşimde bulunmaya hazır olduğumuzda çağrılır.
- Parameters
-
Alıcının Oyun Yöneticisi bağlantı sırasında bir hatayla karşılaştığında çağrılır.
- Parameters
-
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-12-06 UTC.
[null,null,["Son güncelleme tarihi: 2022-12-06 UTC."],[],["The `GCKGameManagerChannelDelegate` protocol, now deprecated, handled game control operations. Key actions include monitoring game state changes, receiving game messages for specific players, and managing player or game request outcomes. The delegate is informed when requests succeed, providing the result, or fail, with an error. Additionally, it handles connection status, indicating when a connection is established or when a connection fails. These methods are called upon events that relate to Game Manager interactions.\n"],null,[]]