DestinyItemObjectiveBlockDefinition class

An item can have objectives on it. In practice, these are the exclusive purview of "Quest Step" items: DestinyInventoryItemDefinitions that represent a specific step in a Quest. Quest steps have 1:M objectives that we end up processing and returning in live data as DestinyQuestStatus data, and other useful information.

Annotations
  • @JsonSerializable()

Properties

displayActivityHashes List<int>?
For every entry in objectiveHashes, there is a corresponding entry in this array at the same index. If the objective is meant to be associated with a specific DestinyActivityDefinition, there will be a valid hash at that index. Otherwise, it will be invalid (0). Rendered somewhat obsolete by perObjectiveDisplayProperties, which currently has much the same information but may end up with more info in the future.
getter/setter pair
displayAsStatTracker bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
narrative String?
The localized string for narrative text related to this quest step, if any.
getter/setter pair
objectiveHashes List<int>?
The hashes to Objectives (DestinyObjectiveDefinition) that are part of this Quest Step, in the order that they should be rendered.
getter/setter pair
objectiveVerbName String?
The localized string describing an action to be performed associated with the objectives, if any.
getter/setter pair
perObjectiveDisplayProperties List<DestinyObjectiveDisplayProperties>?
One entry per Objective on the item, it will have related display information.
getter/setter pair
questlineItemHash int?
The hash for the DestinyInventoryItemDefinition representing the Quest to which this Quest Step belongs.
getter/setter pair
questTypeHash int?
A hashed value for the questTypeIdentifier, because apparently I like to be redundant.
getter/setter pair
questTypeIdentifier String?
The identifier for the type of quest being performed, if any. Not associated with any fixed definition, yet.
getter/setter pair
requireFullObjectiveCompletion bool?
If True, all objectives must be completed for the step to be completed. If False, any one objective can be completed for the step to be completed.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<DestinyItemObjectiveBlockDefinition>