GCKGameManagerState 클래스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
수신기 기기에서 실행 중인 게임 관리자의 상태를 나타냅니다.
- Deprecated:
- Game Manager API는 더 이상 지원되지 않으며 향후 버전에서 삭제될 예정입니다.
NSObject를 상속합니다.
지정된 플레이어 상태의 플레이어 목록을 반환합니다.
- Parameters
-
playerState | The player state. |
이 개체와 지정된 게임 관리자 상태 간에 로비 상태가 다른지 반환합니다.
- Parameters
-
otherState | The game manager state to compare to. |
이 객체와 지정된 게임 관리자 상태 간에 게임플레이 상태가 다른지 여부를 반환합니다.
- Parameters
-
otherState | The game manager state to compare to. |
이 객체와 지정된 게임 관리자 상태 간에 게임 데이터가 다른지 여부를 반환합니다.
- Parameters
-
otherState | The game manager state to compare to. |
이 객체와 지정된 게임 관리자 상태 간에 게임 상태 텍스트가 다른지 여부를 반환합니다.
- Parameters
-
otherState | The game manager state to compare to. |
- (BOOL) hasPlayerChanged: |
|
(NSString *) |
playerId |
otherState: |
|
(GCKGameManagerState *) |
otherState |
|
|
| |
지정된 플레이어 ID를 가진 플레이어가 이 객체와 지정된 게임 관리자 상태 간에 변경되었는지 여부를 반환합니다.
- Parameters
-
playerId | The player ID. |
otherState | The game manager state to compare to. |
- (BOOL) hasPlayerStateChanged: |
|
(NSString *) |
playerId |
otherState: |
|
(GCKGameManagerState *) |
otherState |
|
|
| |
지정된 플레이어 ID를 가진 플레이어의 플레이어 상태가 이 객체와 지정된 게임 관리자 상태 간에 변경되었는지 여부를 반환합니다.
- Parameters
-
playerId | The player ID. |
otherState | The game manager state to compare to. |
- (BOOL) hasPlayerDataChanged: |
|
(NSString *) |
playerId |
otherState: |
|
(GCKGameManagerState *) |
otherState |
|
|
| |
지정된 플레이어 ID를 가진 플레이어의 플레이어 데이터가 이 객체와 지정된 게임 관리자 상태 간에 변경되었는지 여부를 반환합니다.
- Parameters
-
playerId | The player ID. |
otherState | The game manager state to compare to. |
이 객체와 지정된 게임 관리자 상태가 다른 플레이어 ID 목록을 반환합니다.
여기에는 추가되거나 삭제되거나 어떤 방식으로든 변경된 플레이어가 포함됩니다.
- Parameters
-
otherState | The game manager state to compare to. |
로비 상태입니다.
유효한 값은 GCKLobbyState를 참고하세요.
게임플레이 상태
유효한 값은 GCKGameplayState를 참고하세요.
게임별 데이터입니다.
NSJSONSerialization을 사용하여 JSON으로 직렬화할 수 있는 객체이거나 nil
입니다.
- (NSString*) gameStatusText |
|
readnonatomiccopy |
이 발신 기기에서 만든 모든 플레이어의 목록입니다.
- (NSString*) applicationName |
|
readnonatomiccopy |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2022-12-06(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]