Syntax
Members
annotation const char*is null-terminated (Optional) Game specific comment associated with this instance when it was added to the user inventory.
bundleContents const char* const*may be nullptr (Optional) Array of unique items that were awarded when this catalog item was purchased.
bundleContentsCount uint32_t
Count of bundleContents
bundleParent const char*is null-terminated (Optional) Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container.
catalogVersion const char*is null-terminated (Optional) Catalog version for the inventory item, when this instance was created.
customData PFStringDictionaryEntry const*may be nullptr (Optional) A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog item’s custom data.
customDataCount uint32_t
Count of customData
displayName const char*is null-terminated (Optional) CatalogItem.DisplayName at the time this item was purchased.
expiration time_t const*may be nullptr (Optional) Timestamp for when this instance will expire.
itemClass const char*is null-terminated (Optional) Class name for the inventory item, as defined in the catalog.
itemId const char*is null-terminated (Optional) Unique identifier for the inventory item, as defined in the catalog.
itemInstanceId const char*is null-terminated (Optional) Unique item identifier for this specific instance of the item.
purchaseDate time_t const*may be nullptr (Optional) Timestamp for when this instance was purchased.
remainingUses int32_t const*may be nullptr (Optional) Total number of remaining uses, if this is a consumable item.
unitCurrency const char*is null-terminated (Optional) Currency type for the cost of the catalog item. Not available when granting items.
unitPrice uint32_t
Cost of the catalog item in the given currency. Not available when granting items.
usesIncrementedBy int32_t const*may be nullptr (Optional) The number of uses that were added or removed to this item in this call.
