DestinyVendorItemState class

The possible states of Destiny Profile Records. IMPORTANT: Any given item can theoretically have many of these states simultaneously: as a result, this was altered to be a flags enumeration/bitmask for v3.2.0.

Constructors

DestinyVendorItemState(int _value)
const
DestinyVendorItemState.fromJson(int numValue)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
no setter

Methods

contains(DestinyVendorItemState childValue) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() int
toString() String
A string representation of this object.
inherited

Operators

operator &(DestinyVendorItemState item) int
operator ==(dynamic other) bool
The equality operator.
override

Constants

BestDeal → const DestinyVendorItemState
BestDeal = 32768 This indicates that the sale item is the best deal among different choices.
Charity → const DestinyVendorItemState
Charity = 8192 This indicates that the item is for charity.
Complete → const DestinyVendorItemState
Complete = 4 Deprecated forever (probably). See the description of the "Incomplete" value for the juicy scoop.
Cryptarch → const DestinyVendorItemState
Cryptarch = 1048576
DailyOffer → const DestinyVendorItemState
DailyOffer = 4096 This indicates that the item is a daily offer.
Ending → const DestinyVendorItemState
Ending = 32 This item is only available for a limited time, and that time is approaching.
Featured = 16 This item is being "featured", and should be shiny in a different way from items that are merely new.
Free → const DestinyVendorItemState
Free = 131072 This indicates that the sale item is free.
Incomplete → const DestinyVendorItemState
Incomplete = 1 Deprecated forever (probably). There was a time when Records were going to be implemented through Vendors, and this field was relevant. Now they're implemented through Presentation Nodes, and this field doesn't matter anymore.
Locked → const DestinyVendorItemState
Locked = 262144 This indicates that the sale item is locked.
New → const DestinyVendorItemState
New = 8 This item is considered to be "newly available", and should have some UI showing how shiny it is.
NexusAttention → const DestinyVendorItemState
NexusAttention = 512 This indicates that you should show some kind of attention-requesting indicator on the item, in a similar manner to items in the nexus that have such notifications.
None → const DestinyVendorItemState
None = 0 There are no augments on the item.
OnSale → const DestinyVendorItemState
OnSale = 64 This item is "on sale". Get it while it's hot.
Owned → const DestinyVendorItemState
Owned = 128 This item is already owned.
Paracausal → const DestinyVendorItemState
Paracausal = 524288 This indicates that the sale item is paracausal.
Popular = 65536 This indicates that the sale item is popular.
PriceDrop → const DestinyVendorItemState
PriceDrop = 2048 This indicates that the item has a price drop.
RewardAvailable → const DestinyVendorItemState
RewardAvailable = 2 Deprecated forever (probably). See the description of the "Incomplete" value for the juicy scoop.
SeasonalRewardExpiration → const DestinyVendorItemState
SeasonalRewardExpiration = 16384 This indicates that the item has a seasonal reward expiration.
SetDiscount → const DestinyVendorItemState
SetDiscount = 1024 This indicates that the item has some sort of a 'set' discount.
WideView → const DestinyVendorItemState
WideView = 256 This item should be shown with a "wide view" instead of normal icon view.