import { DestinyDefinitionsDestinyItemVersionDefinition } from './destinyDefinitionsDestinyItemVersionDefinition'; /** * If this item can have a level or stats, this block will be non-null and will be populated with default quality (item level, \"quality\", and infusion) data. See the block for more details, there\'s often less upfront information in D2 so you\'ll want to be aware of how you use quality and item level on the definition level now. */ export interface DestinyDefinitionsDestinyInventoryItemDefinitionQuality { /** * The \"base\" defined level of an item. This is a list because, in theory, each Expansion could define its own base level for an item. In practice, not only was that never done in Destiny 1, but now this isn\'t even populated at all. When it\'s not populated, the level at which it spawns has to be inferred by Reward information, of which BNet receives an imperfect view and will only be reliable on instanced data as a result. */ itemLevels?: Array; /** * qualityLevel is used in combination with the item\'s level to calculate stats like Attack and Defense. It plays a role in that calculation, but not nearly as large as itemLevel does. */ qualityLevel?: number; /** * The string identifier for this item\'s \"infusability\", if any. Items that match the same infusionCategoryName are allowed to infuse with each other. DEPRECATED: Items can now have multiple infusion categories. Please use infusionCategoryHashes instead. */ infusionCategoryName?: string; /** * The hash identifier for the infusion. It does not map to a Definition entity. DEPRECATED: Items can now have multiple infusion categories. Please use infusionCategoryHashes instead. */ infusionCategoryHash?: number; /** * If any one of these hashes matches any value in another item\'s infusionCategoryHashes, the two can infuse with each other. */ infusionCategoryHashes?: Array; /** * An item can refer to pre-set level requirements. They are defined in DestinyProgressionLevelRequirementDefinition, and you can use this hash to find the appropriate definition. */ progressionLevelRequirementHash?: number; /** * The latest version available for this item. */ currentVersion?: number; /** * The list of versions available for this item. */ versions?: Array; /** * Icon overlays to denote the item version and power cap status. */ displayVersionWatermarkIcons?: Array; }