DestinyItemComponent class

The base item component, filled with properties that are generally useful to know in any item request or that don't feel worthwhile to put in their own component.

Constructors

DestinyItemComponent()

Properties

bindStatus int
If the item is bound to a location, it will be specified in this enum.
read / write
bucketHash int
The hash identifier for the specific inventory bucket in which the item is located. [...]
read / write
expirationDate String
If the item can expire, this is the date at which it will/did expire.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
itemHash int
The identifier for the item's definition, which is where most of the useful static information for the item can be found. [...]
read / write
itemInstanceId String
If the item is instanced, it will have an instance ID. Lack of an instance ID implies that the item has no distinct local qualities aside from stack size.
read / write
location int
An easy reference for where the item is located. Redundant if you got the item from an Inventory, but useful when making detail calls on specific items.
read / write
lockable bool
If the item can be locked, this will indicate that state.
read / write
overrideStyleItemHash int
If populated, this is the hash of the item whose icon (and other secondary styles, but not the human readable strings) should override whatever icons/ styles are on the item being sold. [...]
read / write
quantity int
The quantity of the item in this stack. Note that Instanced items cannot stack. If an instanced item, this value will always be 1 (as the stack has exactly one item in it)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state int
A flags enumeration indicating the transient/custom states of the item that affect how it is rendered: whether it's tracked or locked for example, or whether it has a masterwork plug inserted.
read / write
transferStatus int
If there is a known error state that would cause this item to not be transferable, this Flags enum will indicate all of those error states. Otherwise, it will be 0 (CanTransfer).
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited