次の方法で共有


XStoreProduct

Microsoft Store の製品が記述されています。

構文

typedef struct XStoreProduct {  
    const char* storeId;  
    const char* title;  
    const char* description;  
    const char* language;  
    const char* inAppOfferToken;  
    char* linkUri;  
    XStoreProductKind productKind;  
    XStorePrice price;  
    bool hasDigitalDownload;  
    bool isInUserCollection;  
    uint32_t keywordsCount;  
    const char** keywords;  
    uint32_t skusCount;  
    XStoreSku* skus;  
    uint32_t imagesCount;  
    XStoreImage* images;  
    uint32_t videosCount;  
    XStoreVideo* videos;  
} XStoreProduct  

メンバー

storeId
型: const char*

製品 ID。

title
型: const char*

製品のタイトル。

description
型: const char*

Microsoft Store 製品の説明。

language
型: const char*

タイトルと説明の文字列の言語を表す、国際標準化機構 (ISO) の識別子。 「https://msdn.microsoft.com/library/ms693062(v=vs.85).aspx」を参照してください

inAppOfferToken
型: const char*

内部的に項目をマッピングするために使用できる、ゲームで定義されたオファー トークン。 例: com.company.product.itemname。

linkUri
型: char*

製品への URI。

productKind
型: XStoreProductKind

Microsoft Store 製品の種類を示します。

Price
型: XStorePrice

Microsoft Store 製品の価格情報。

hasDigitalDownload
型: bool

Microsoft Store 製品にデジタル ダウンロードがあるかどうかを示します。

isInUserCollection
型: bool

製品がユーザー コレクション内にあるかどうかを示します。

keywordsCount
型: uint32_t

keywords 内のキーワードの数。

keywords
型: const char**

Microsoft Store 製品に関連付けられているキーワード。

skusCount
型: uint32_t

skus 内の SKU の数。

skus
型: XStoreSku*

製品に関連付けられている SKU の配列。

imagesCount
型: uint32_t

images 内の画像の数。

images
型: XStoreImage*

製品に関連付けられている画像。

videosCount
型: uint32_t

videos 内のビデオの数。

videos
型: XStoreVideo*

製品に関連付けられているビデオ。

解説

Microsoft Store 内の製品は、製品オブジェクト、SKU オブジェクト、および可用性オブジェクトの階層で整理されます。 製品は、XStoreProduct オブジェクトで表されます。 各製品の SKU は XStoreSku オブジェクトによって表され、各 SKU の可用性は xstoreavailability オブジェクトによって表されます。

要件

ヘッダー: XStore.h (XGameRuntime.h に含まれます)

サポートされているプラットフォーム: Windows、Xbox One ファミリー本体、Xbox Series 本体

関連項目

XStore