DestinyItemValueBlockDefinition class

This defines an item's "Value". Unfortunately, this appears to be used in different ways depending on the way that the item itself is used.

For items being sold at a Vendor, this is the default "sale price" of the item. These days, the vendor itself almost always sets the price, but it still possible for the price to fall back to this value. For quests, it is a preview of rewards you can gain by completing the quest. For dummy items, if the itemValue refers to an Emblem, it is the emblem that should be shown as the reward. (jeez louise)

It will likely be used in a number of other ways in the future, it appears to be a bucket where they put arbitrary items and quantities into the item.

Constructors

DestinyItemValueBlockDefinition()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
itemValue List<DestinyItemQuantity>
References to the items that make up this item's "value", and the quantity.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
valueDescription String
If there's a localized text description of the value provided, this will be said description.
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 ==(Object other) bool
The equality operator. [...]
inherited