UNPKG

bungie-net-core

Version:

An easy way to interact with the Bungie.net API

52 lines (51 loc) 1.93 kB
/** * An enumeration that indicates the high-level "type" of the item, attempting to * iron out the context specific differences for specific instances of an entity. * For instance, though a weapon may be of various weapon "Types", in * DestinyItemType they are all classified as "Weapon". This allows for better * filtering on a higher level of abstraction for the concept of types. * * This enum is provided for historical compatibility with Destiny 1, but an ideal * alternative is to use DestinyItemCategoryDefinitions and the * DestinyItemDefinition.itemCategories property instead. Item Categories allow for * arbitrary hierarchies of specificity, and for items to belong to multiple * categories across multiple hierarchies simultaneously. For this enum, we pick a * single type as a "best guess" fit. * * NOTE: This is not all of the item types available, and some of these are * holdovers from Destiny 1 that may or may not still exist. * * I keep updating these because they're so damn convenient. I guess I shouldn't * fight it. * @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.DestinyItemType} */ export declare const DestinyItemType: { readonly None: 0; readonly Currency: 1; readonly Armor: 2; readonly Weapon: 3; readonly Message: 7; readonly Engram: 8; readonly Consumable: 9; readonly ExchangeMaterial: 10; readonly MissionReward: 11; readonly QuestStep: 12; readonly QuestStepComplete: 13; readonly Emblem: 14; readonly Quest: 15; readonly Subclass: 16; readonly ClanBanner: 17; readonly Aura: 18; readonly Mod: 19; readonly Dummy: 20; readonly Ship: 21; readonly Vehicle: 22; readonly Emote: 23; readonly Ghost: 24; readonly Package: 25; readonly Bounty: 26; readonly Wrapper: 27; readonly SeasonalArtifact: 28; readonly Finisher: 29; readonly Pattern: 30; };