Source

This page was generated with Wiki Builder. Do not change the format!

Info

This defines an item's "Value". Unfortunately, this appears to be used in different ways depending on the way that the item itself is used. For items being sold at a Vendor, this is the default "sale price" of the item. These days, the vendor itself almost always sets the price, but it still possible for the price to fall back to this value. For quests, it is a preview of rewards you can gain by completing the quest. For dummy items, if the itemValue refers to an Emblem, it is the emblem that should be shown as the reward. (jeez louise) It will likely be used in a number of other ways in the future, it appears to be a bucket where they put arbitrary items and quantities into the item.

Schema

  • Schema Type: Definition
  • Type: object

Properties

Name Type Description
itemValue DestinyItemQuantity[] References to the items that make up this item's "value", and the quantity.
valueDescription string If there's a localized text description of the value provided, this will be said description.

Example

{
    // Type: DestinyItemQuantity[]
    "itemValue": [
       // Type: DestinyItemQuantity
        {
            // Type: Destiny.Definitions.DestinyInventoryItemDefinition:integer:uint32
            "itemHash": 0,
            // Type: integer:int64:nullable
            "itemInstanceId": 0,
            // Type: integer:int32
            "quantity": 0
        }
    ],
    // Type: string
    "valueDescription": ""
}

References

  1. https://bungie-net.github.io/multi/schema_Destiny-Definitions-DestinyItemValueBlockDefinition.html#schema_Destiny-Definitions-DestinyItemValueBlockDefinition