XStoreConsumableResult
表示消耗品的数量。语法
成员
quantity类型:uint32_t 消耗品的剩余数量。
备注
虽然此结构包含 XStoreQueryConsumableBalanceRemainingAsync 和 XStoreReportConsumableFulfillmentAsync 的结果,但这些结构实际上是在其结果函数中填充的,即分别是 XStoreQueryConsumableBalanceRemainingResult 和 XStoreReportConsumableFulfillmentResult。XStoreConsumableResult 是 XStoreQueryConsumableBalanceRemainingResult 的参数。XStoreConsumableResult 是 XStoreReportConsumableFulfillmentResult 的参数。此结构可以通过多种机制返回,包括在使用或购买消耗品之后返回。要求
头文件: XStore.h(包含在 XGameRuntime.h 中) 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机另请参阅
XStoreXStoreQueryConsumableBalanceRemainingResult
XStoreReportConsumableFulfillmentResult
