GCKPlayerInfo クラス
1 人のプレーヤーのデータを表します。
- Deprecated:
- Game Manager API のサポートは終了しました。今後のリリースで削除される予定です。
NSObject を継承します。
|
(instancetype) | - init |
| デフォルトのイニシャライザは使用できません。その他...
|
|
ゲームで定義されたプレーヤー固有のデータ。
このデータは、ゲームの実行中にも保持されます。NSJSONSerialization を使用して JSON にシリアル化できるオブジェクト、または nil
です。
このプレーヤーがこの送信者のデバイスで作成された場合は true。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-12-06 UTC。
[null,null,["最終更新日 2022-12-06 UTC。"],[[["The `GCKPlayerInfo` class represents data for a single player in a game session, including player ID, state, and custom data."],["This class is part of the Game Manager API, which is deprecated and will be removed in a future release."],["Players have properties such as `playerID`, `playerState`, `playerData`, `isConnected`, and `isControllable` that provide information about their status and connection."],["A player is considered connected if their `playerState` is `Available`, `Ready`, `Idle`, or `Playing`."],["`isControllable` indicates if the player was created on the current sender device."]]],[]]