DestinyObjectiveProgress class
Returns data about a character's status with a given Objective. Combine with DestinyObjectiveDefinition static data for display purposes.
Constructors
Properties
- activityHash ↔ int
-
If the Objective has an Activity associated with it, this is the unique
identifier of the Activity being referred to. Use to look up the
DestinyActivityDefinition in static data. This will give localized data about *
what* you should be playing for the objective to be achieved. [...]
read / write
- complete ↔ bool
-
Whether or not the Objective is completed.
read / write
- completionValue ↔ int
-
As of Forsaken, objectives' completion value is determined dynamically at
runtime. [...]
read / write
- destinationHash ↔ int
-
If the Objective has a Destination associated with it, this is the unique
identifier of the Destination being referred to. Use to look up the
DestinyDestinationDefinition in static data. This will give localized data about
where in the universe the objective should be achieved. [...]
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- objectiveHash ↔ int
-
The unique identifier of the Objective being referred to. Use to look up the
DestinyObjectiveDefinition in static data. [...]
read / write
- progress ↔ int
-
If progress has been made, and the progress can be measured numerically, this
will be the value of that progress. You can compare it to the
DestinyObjectiveDefinition.completionValue property for current vs. upper bounds,
and use DestinyObjectiveDefinition.valueStyle to determine how this should be
rendered. Note that progress, in Destiny 2, need not be a literal numeric
progression. It could be one of a number of possible values, even a Timestamp.
Always examine DestinyObjectiveDefinition.valueStyle before rendering progress.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- visible ↔ bool
-
If this is true, the objective is visible in-game. Otherwise, it's not yet
visible to the player. Up to you if you want to honor this property.
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