Skip to main content

XStoreConsumableResult

表示消耗品的数量。

语法

成员

quantity
类型:uint32_t
消耗品的剩余数量。

备注

虽然此结构包含 XStoreQueryConsumableBalanceRemainingAsyncXStoreReportConsumableFulfillmentAsync 的结果,但这些结构实际上是在其结果函数中填充的,即分别是 XStoreQueryConsumableBalanceRemainingResultXStoreReportConsumableFulfillmentResultXStoreConsumableResultXStoreQueryConsumableBalanceRemainingResult 的参数。XStoreConsumableResultXStoreReportConsumableFulfillmentResult 的参数。此结构可以通过多种机制返回,包括在使用或购买消耗品之后返回。

要求

头文件: XStore.h(包含在 XGameRuntime.h 中) 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机

另请参阅

XStore
XStoreQueryConsumableBalanceRemainingResult
XStoreReportConsumableFulfillmentResult
最后修改于 2026年8月24日