XStoreSubscriptionInfo
包含訂閱的相關資訊。語法
成員
hasTrialPeriod類型:bool 指出訂閱是否有試用期。 trialPeriodUnit
類型:XStoreDurationUnit 試用期的單位類型。 trialPeriod
類型:uint32_t 試用期的長度。 billingPeriodUnit
類型:XStoreDurationUnit 計費週期的單位類型。 billingPeriod
類型:uint32_t 訂閱的計費週期。
備註
訂閱是在 Partner Center 中建立和設定的。為您的遊戲提供的每種訂閱類型都需要個別的訂閱設定。 XStoreSubscriptionInfo 是 XStoreSku 結構的成員。需求
標頭: XStore.h (包含在 XGameRuntime.h 中) 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
XStoreXStoreSku
