GameListEntry 클래스

정의

게임 표시 정보, 시작 매개 변수, 게임 모드 구성, 범주 및 게임을 시작하는 방법과 같은 게임의 디스플레이 정보를 제공합니다.

public ref class GameListEntry sealed : IGameListEntry
public ref class GameListEntry sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameListEntry final : IGameListEntry
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameListEntry final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameListEntry : IGameListEntry
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameListEntry
Public NotInheritable Class GameListEntry
Implements IGameListEntry
Public NotInheritable Class GameListEntry
상속
Object Platform::Object IInspectable GameListEntry
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10240.0에서 도입되었습니다.)
Windows Mobile Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (v1.0에서 도입되었습니다.)
앱 기능
gameList

설명

이 API는 모든 앱에서 사용할 수 없습니다. 개발자 계정이 Microsoft에서 특별히 프로비전되지 않는 한 런타임에 이러한 API에 대한 호출이 실패합니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1709 16299 GameModeConfiguration
1709 16299 LaunchableState
1709 16299 LauncherExecutable
1709 16299 LaunchParameters
1709 16299 SetLauncherExecutableFileAsync(IStorageFile)
1709 16299 SetLauncherExecutableFileAsync(IStorageFile,String)
1709 16299 SetTitleIdAsync
1709 16299 TitleId

속성

Category

연결된 IGameListEntry에 대한 현재 GameListCategory 값입니다.

DisplayInfo

이 API는 모든 앱에서 사용할 수 없습니다. 개발자 계정이 Microsoft에서 특별히 프로비전되지 않는 한 런타임에 이러한 API에 대한 호출이 실패합니다.

GameModeConfiguration

게임의 현재 GameModeConfiguration 설정

LaunchableState

게임의 현재 GameListEntryLaunchableState

LauncherExecutable

게임 실행 파일의 경로입니다.

LaunchParameters

게임의 현재 시작 매개 변수입니다.

Properties

IGameListEntry 개체와 관련된 모든 속성의 컬렉션을 가져옵니다.

TitleId

게임의 TitleId이 빈 문자열로 돌아올 수 있습니다.

메서드

LaunchAsync()

연결된 게임을 시작합니다.

SetCategoryAsync(GameListCategory)

GameListCategory를 설정합니다.

SetLauncherExecutableFileAsync(IStorageFile)

게임의 실행 파일 및 시작 매개 변수에 대한 시작 경로를 설정합니다. LaunchableStateByTitle로 설정된 경우 실패할 수 있습니다.

SetLauncherExecutableFileAsync(IStorageFile, String)

게임 실행 파일의 시작 경로를 설정합니다. LaunchableStateByTitle로 설정된 경우 실패할 수 있습니다.

SetTitleIdAsync(String)

TitleID를 업데이트.

적용 대상

추가 정보