Skip to main content

XStoreConsumableResult

代表消耗性產品的數量。

語法

成員

quantity
類型:uint32_t
消耗性產品的剩餘數量。

備註

雖然此結構包含 XStoreQueryConsumableBalanceRemainingAsync 和 XStoreReportConsumableFulfillmentAsync 的結果,但這些結構實際上是在其結果函式中填入的,分別為 XStoreQueryConsumableBalanceRemainingResult 和 XStoreReportConsumableFulfillmentResult。XStoreConsumableResult 是 XStoreQueryConsumableBalanceRemainingResult 的參數。XStoreConsumableResult 是 XStoreReportConsumableFulfillmentResult 的參數。此結構可透過多種機制傳回,包括在使用或購買消耗性產品之後。

需求

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

另請參閱

XStore
XStoreQueryConsumableBalanceRemainingResult
XStoreReportConsumableFulfillmentResult
Last modified on October 6, 2026