بروتوكول <GCKGameManagerChannelDelegate>
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
بروتوكول تفويض GCKGameManagerChannel
- Deprecated:
- لم تعد واجهة برمجة تطبيقات مدير الألعاب متاحة وستتم إزالتها في إصدار مستقبلي.
يكتسب <GCKCastChannelNSObject>.
ويتم الاتصال عند تغيير حالة مدير اللعبة.
- 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. |
يتم الاتصال عند نجاح طلب أحد اللاعبين أو طلب اللعبة.
- 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. |
يتم الاتصال عند حدوث إخفاق في طلب أحد اللاعبين أو طلب اللعبة.
- 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. |
يتم الاتصال عندما يتصل مدير ألعاب المتلقي بنجاح وتكون جاهزًا للتفاعل معه.
- Parameters
-
يتم الاتصال عند مواجهة مدير الألعاب للمستلم رسالة خطأ أثناء الاتصال.
- Parameters
-
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-12-06 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2022-12-06 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]