Source

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

Info

A list of minimal information for items in an inventory: be it a character's inventory, or a Profile's inventory. (Note that the Vault is a collection of inventory buckets in the Profile's inventory) Inventory Items returned here are in a flat list, but importantly they have a bucketHash property that indicates the specific inventory bucket that is holding them. These buckets constitute things like the separate sections of the Vault, the user's inventory slots, etc. See DestinyInventoryBucketDefinition for more info.

Schema

  • Schema Type: Class
  • Type: object

Properties

Name Type Description
items DestinyItemComponent[] The items in this inventory. If you care to bucket them, use the item's bucketHash property to group them.

Example

{
    // Type: DestinyItemComponent[]
    "items": [
       // Type: DestinyItemComponent
        {
            // Type: Destiny.Definitions.DestinyInventoryItemDefinition:integer:uint32
            "itemHash": 0,
            // Type: integer:int64:nullable
            "itemInstanceId": 0,
            // Type: integer:int32
            "quantity": 0,
            // Type: ItemBindStatus:Enum
            "bindStatus": {},
            // Type: ItemLocation:Enum
            "location": {},
            // Type: Destiny.Definitions.DestinyInventoryBucketDefinition:integer:uint32
            "bucketHash": 0,
            // Type: TransferStatuses:Enum
            "transferStatus": {},
            // Type: boolean
            "lockable": false,
            // Type: ItemState:Enum
            "state": {}
        }
    ]
}

References

  1. https://bungie-net.github.io/multi/schema_Destiny-Entities-Inventory-DestinyInventoryComponent.html#schema_Destiny-Entities-Inventory-DestinyInventoryComponent