DestinyVendorInteractionDefinition class

A Vendor Interaction is a dialog shown by the vendor other than sale items or transfer screens. The vendor is showing you something, and asking you to reply to it by choosing an option or reward.

Annotations
  • @JsonSerializable()

Properties

flavorLineOne String?
If the vendor interaction has flavor text, this is some of it.
getter/setter pair
flavorLineTwo String?
If the vendor interaction has flavor text, this is the rest of it.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerDisplayProperties DestinyDisplayPropertiesDefinition?
The header for the interaction dialog.
getter/setter pair
instructions String?
The localized text telling the player what to do when they see this dialog.
getter/setter pair
interactionIndex int?
The position of this interaction in its parent array. Note that this is NOT content agnostic, and should not be used as such.
getter/setter pair
interactionType VendorInteractionType?
The enumerated version of the possible UI hints for vendor interactions, which is a little easier to grok than the hash found in uiInteractionType.
getter/setter pair
questlineItemHash int?
If this interaction dialog is about a quest, this is the questline related to the interaction. You can use this to show the quest overview, or even the character's status with the quest if you use it to find the character's current Quest Step by checking their inventory against this questlineItemHash's DestinyInventoryItemDefinition.setData.
getter/setter pair
replies List<DestinyVendorInteractionReplyDefinition>?
The potential replies that the user can make to the interaction.
getter/setter pair
rewardBlockLabel String?
If this interaction is displaying rewards, this is the text to use for the header of the reward-displaying section of the interaction.
getter/setter pair
rewardVendorCategoryIndex int?
If the vendor's reward list is sourced from one of his categories, this is the index into the category array of items to show.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sackInteractionList List<DestinyVendorInteractionSackEntryDefinition>?
If this interaction is meant to show you sacks, this is the list of types of sacks to be shown. If empty, the interaction is not meant to show sacks.
getter/setter pair
uiInteractionType int?
A UI hint for the behavior of the interaction screen. This is useful to determine what type of interaction is occurring, such as a prompt to receive a rank up reward or a prompt to choose a reward for completing a quest. The hash isn't as useful as the Enum in retrospect, well what can you do. Try using interactionType instead.
getter/setter pair
vendorCategoryIndex int?
If >= 0, this is the category of sale items to show along with this interaction dialog.
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

Static Methods

asyncFromJson(Map<String, dynamic> json) Future<DestinyVendorInteractionDefinition>