XStoreGameLicense
ゲーム ライセンスを表します。Syntax
Members
skuStoreId型: char[STORE_SKU_ID_SIZE] ストア ID。 isActive
型: bool ライセンスが有効かどうかを示します。 isTrialOwnedByThisUser
型: bool 試用版が XStoreContext に関連付けられたユーザーによって所有されているかどうかを示します。PC の場合、これは Microsoft Store アプリに現在サインインしているユーザーとなります。 isDiscLicense
型: bool ライセンスがディスク ライセンスかどうかを示します。 isTrial
型: bool ライセンスが試用ライセンスかどうかを示します。 trialTimeRemainingInSeconds
型: uint32_t 試用ライセンスの残り時間。 trialUniqueId
型: char[TRIAL_UNIQUE_ID_MAX_SIZE] 試用版の一意の ID。 expirationDate
型: time_t ライセンスの有効期限。
Remarks
ゲーム ライセンスを取得するには、XStoreQueryGameLicenseAsync を呼び出します。返されたライセンスは結果関数 XStoreQueryGameLicenseResult で取得できます。XStoreGameLicense は XStoreQueryGameLicenseResult の出力パラメーターです。Requirements
ヘッダー: XStore.h (XGameRuntime.h に含まれる) サポートされているプラットフォーム: Windows、XBOX One ファミリー本体および XBOX Series 本体Conceptual documentation
See also
XStoreXStoreQueryGameLicenseAsync
XStoreQueryGameLicenseResult
