GameService 클래스

정의

게임 서비스에 대한 액세스를 제공합니다.

public ref class GameService abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameService final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GameService
Public Class GameService
상속
Object Platform::Object IInspectable GameService
특성

Windows 요구 사항

디바이스 패밀리
Windows Mobile Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Phone.PhoneContract (v1.0에서 도입되었습니다.)

설명

Windows.Phone.System.UserProfile.GameServices.Core 네임스페이스의 모든 멤버는 XBox Live SDK만 사용할 수 있습니다. ID_CAP_GAMERSERVICES 기능이 있는 애플리케이션을 제외하고는 이러한 API를 호출할 수 없습니다.

속성

ServiceUri

게임 서비스의 URI를 가져옵니다.

메서드

GetAuthenticationStatus()

게임 서비스에서 마지막 인증 결과를 가져옵니다.

GetGamerProfileAsync()

현재 사용자의 게이머 프로필을 검색합니다.

GetInstalledGameItemsAsync()

현재 설치된 게임 항목을 검색합니다.

GetPartnerTokenAsync(Uri)

지정된 Uri에 대한 파트너 토큰을 검색합니다.

GetPrivilegesAsync()

현재 사용자의 권한 문자열을 검색합니다.

GrantAchievement(UInt32)

현재 사용자에게 지정된 도전 과제를 부여합니다.

GrantAvatarAward(UInt32)

현재 사용자에게 지정된 아바타 상을 부여합니다.

NotifyPartnerTokenExpired(Uri)

지정된 Uri에 대해 캐시된 파트너 토큰을 무효화합니다.

PostResult(UInt32, GameServiceScoreKind, Int64, GameServiceGameOutcome, IBuffer)

게임 결과를 종료하고 게시합니다.

적용 대상