Source

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

Info

A shortcut for the fact that some items have a "Preview Vendor" - See DestinyInventoryItemDefinition.preview.previewVendorHash - that is intended to be used to show what items you can get as a result of acquiring or using this item. A common example of this in Destiny 1 was Eververse "Boxes," which could have many possible items. This "Preview Vendor" is not a vendor you can actually see in the game, but it defines categories and sale items for all of the possible items you could get from the Box so that the game can show them to you. We summarize that info here so that you don't have to do that Vendor lookup and aggregation manually.

Schema

  • Schema Type: Definition
  • Type: object

Properties

Name Type Description
categoryDescription string The localized string for the category title. This will be something describing the items you can get as a group, or your likelihood/the quantity you'll get.
items DestinyDerivedItemDefinition:Definition[] This is the list of all of the items for this category and the basic properties we'll know about them.

Example

{
    // Type: string
    "categoryDescription": "",
    // Type: DestinyDerivedItemDefinition:Definition[]
    "items": [
       // Type: DestinyDerivedItemDefinition:Definition
        {
            // Type: integer:uint32:nullable
            "itemHash": 0,
            // Type: string
            "itemName": "",
            // Type: string
            "itemDetail": "",
            // Type: string
            "itemDescription": "",
            // Type: string
            "iconPath": "",
            // Type: integer:int32
            "vendorItemIndex": 0
        }
    ]
}

References

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