Skip to main content

XStoreSku

描述商店 SKU。

語法

成員

skuId
類型:const char*
商店 SKU 的識別碼。 title
類型:const char*
SKU 的標題。 description
類型:const char*
SKU 的描述。 language
類型:const char*
代表標題和描述字串所用語言的國際標準組織 (ISO) 識別碼。請參閱 https://msdn.microsoft.com/library/ms693062(v=vs.85).aspx price
類型:XStorePrice
商店產品的價格資訊 isTrial
類型:bool
指出商店 SKU 是否為試用版。 isInUserCollection
類型:bool
指出 SKU 是否在使用者收藏中。 collectionData
類型:XStoreCollectionData
與使用者收藏中產品相關的其他資料,若產品為消耗性產品,則包括數量。 isSubscription
類型:bool
指出商店 SKU 是否為訂閱。 subscriptionInfo
類型:XStoreSubscriptionInfo
SKU 的訂閱資訊。 bundledSkusCount
類型:uint32_t
bundledSkus 中的元素數目。 bundledSkus
類型:const char**
套件組合 SKU 的陣列。 imagesCount
類型:uint32_t
images 中的影像數目。 images
類型:XStoreImage*
與 SKU 相關聯的影像。 videosCount
類型:uint32_t
videos 中的影片數目。 videos
類型:XStoreVideo*
與 SKU 相關聯的影片。 availabilitiesCount
類型:uint32_t
availabilities 中的元素數目。 availabilities
類型:XStoreAvailability*
SKU 的供應。

備註

SKU 是唯一識別產品或服務特定版本的代碼。這是庫存管理領域中非常常見的術語。Store 中的產品會依「產品」、「SKU」和「供應物件」的階層組織。產品以 XStoreProduct 物件表示。每個產品的 SKU 以 StoreSku 物件表示,而每個 SKU 的供應則以 XStoreAvailability 物件表示。 若要存取產品的 SKU,請使用您感興趣之產品的 XStoreProduct 的 SKUs 屬性。 XStoreProduct 的成員。

需求

標頭: XStore.h (包含在 XGameRuntime.h 中) 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機

另請參閱

XStore
XStoreProduct
XStoreAvailability
Last modified on October 6, 2026