Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DestinyItemPreviewBlockDefinition

Items like Sacks or Boxes can have items that it shows in-game when you view details that represent the items you can obtain if you use or acquire the item.

This defines those categories, and gives some insights into that data's source.

Hierarchy

  • DestinyItemPreviewBlockDefinition

Index

Properties

derivedItemCategories

derivedItemCategories: DestinyDerivedItemCategoryDefinition[]

This is a list of the items being previewed, categorized in the same way as they are in the preview UI.

previewActionString

previewActionString: string

If the preview has an associated action (like "Open"), this will be the localized string for that action.

previewVendorHash

previewVendorHash: number

If the preview data is derived from a fake "Preview" Vendor, this will be the hash identifier for the DestinyVendorDefinition of that fake vendor.

Mapped to DestinyVendorDefinition in the manifest.

screenStyle

screenStyle: string

A string that the game UI uses as a hint for which detail screen to show for the item. You, too, can leverage this for your own custom screen detail views. Note, however, that these are arbitrarily defined by designers: there's no guarantees of a fixed, known number of these - so fall back to something reasonable if you don't recognize it.