DestinyVendorCategoryEntryDefinition class

This is the definition for a single Vendor Category, into which Sale Items are grouped.

Annotations
  • @JsonSerializable()

Properties

buyStringOverride String?
The localized string for making purchases from this category, if it is different from the vendor's string for purchasing.
getter/setter pair
categoryHash int?
The hashed identifier for the category.
getter/setter pair
categoryIndex int?
The index of the category in the original category definitions for the vendor.
getter/setter pair
disabledDescription String?
If the category is disabled, this is the localized description to show.
getter/setter pair
displayTitle String?
The localized title of the category.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hideFromRegularPurchase bool?
True if this category doesn't allow purchases.
getter/setter pair
hideIfNoCurrency bool?
If you don't have the currency required to buy items from this category, should the items be hidden?
getter/setter pair
isDisplayOnly bool?
If true, this category only displays items: you can't purchase anything in them.
getter/setter pair
isPreview bool?
Sometimes a category isn't actually used to sell items, but rather to preview them. This implies different UI (and manual placement of the category in the UI) in the game, and special treatment.
getter/setter pair
overlay DestinyVendorCategoryOverlayDefinition?
If this category has an overlay prompt that should appear, this contains the details of that prompt.
getter/setter pair
quantityAvailable int?
The amount of items that will be available when this category is shown.
getter/setter pair
resetIntervalMinutesOverride int?
getter/setter pair
resetOffsetMinutesOverride int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showUnavailableItems bool?
If items aren't up for sale in this category, should we still show them (greyed out)?
getter/setter pair
sortValue int?
Used in sorting items in vendors... but there's a lot more to it. Just go with the order provided in the itemIndexes property on the DestinyVendorCategoryComponent instead, it should be more reliable than trying to recalculate it yourself.
getter/setter pair
vendorItemIndexes List<int>?
A shortcut for the vendor item indexes sold under this category. Saves us from some expensive reorganization at runtime.
getter/setter pair

Methods

asyncToJson() Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited