DestinyItemQuantity class

Used in a number of Destiny contracts to return data about an item stack and its quantity. Can optionally return an itemInstanceId if the item is instanced - in which case, the quantity returned will be 1. If it's not... uh, let me know okay? Thanks.




itemHash ↔ int
The hash identifier for the item in question. Use it to look up the item's DestinyInventoryItemDefinition. [...]
read / write
itemInstanceId ↔ String
If this quantity is referring to a specific instance of an item, this will have the item's instance ID. Normally, this will be null.
read / write
quantity ↔ int
The amount of the item needed/available depending on the context of where DestinyItemQuantity is being used.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


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


operator ==(dynamic other) → bool
The equality operator.