Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DestinyMaterialRequirement

Many actions relating to items require you to expend materials: - Activating a talent node - Inserting a plug into a socket The items will refer to material requirements by a materialRequirementsHash in these cases, and this is the definition for those requirements in terms of the item required, how much of it is required and other interesting info. This is one of the rare/strange times where a single contract class is used both in definitions and in live data response contracts. I'm not sure yet whether I regret that.

Hierarchy

  • DestinyMaterialRequirement

Index

Properties

count

count: number

The amount of the material required.

deleteOnAction

deleteOnAction: boolean

If True, the material will be removed from the character's inventory when the action is performed.

itemHash

itemHash: number

The hash identifier of the material required. Use it to look up the material's DestinyInventoryItemDefinition.

Mapped to DestinyInventoryItemDefinition in the manifest.

omitFromRequirements

omitFromRequirements: boolean

If True, this requirement is "silent": don't bother showing it in a material requirements display. I mean, I'm not your mom: I'm not going to tell you you * can't* show it. But we won't show it in our UI.