Compartir a través de


XStoreConsumableResult

Represents the quantity of the consumable.

Syntax

typedef struct XStoreConsumableResult {  
    uint32_t quantity;  
} XStoreConsumableResult  

Members

quantity
Type: uint32_t

The remaining quantity of the consumable.

Remarks

While this struct contains the results of XStoreQueryConsumableBalanceRemainingAsync and XStoreReportConsumableFulfillmentAsync the structs are actually populated in their results functions which are XStoreQueryConsumableBalanceRemainingResult and XStoreReportConsumableFulfillmentResult respectively. XStoreConsumableResult is a parameter of XStoreQueryConsumableBalanceRemainingResult. XStoreConsumableResult is a parameter of XStoreReportConsumableFulfillmentResult. This struct can be returned in a variety of mechanisms, including after use or purchase of a consumable.

Requirements

Header: XStore.h (included in XGameRuntime.h)

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XStore
XStoreQueryConsumableBalanceRemainingResult
XStoreReportConsumableFulfillmentResult