DestinyProgressionRewardDefinition class
Inventory Items can reward progression when actions are performed on them. A common example of this in Destiny 1 was Bounties, which would reward Experience on your Character and the like when you completed the bounty. Note that this maps to a DestinyProgressionMappingDefinition, and not a DestinyProgressionDefinition directly. This is apparently so that multiple progressions can be granted progression points/experience at the same time.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyProgressionRewardDefinition()
-
DestinyProgressionRewardDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount ↔ int?
-
The amount of experience to give to each of the mapped progressions.
getter/setter pair
- applyThrottles ↔ bool?
-
If true, the game's internal mechanisms to throttle progression should be applied.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- progressionMappingHash ↔ int?
-
The hash identifier of the DestinyProgressionMappingDefinition that contains the progressions for which experience should be applied.
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<DestinyProgressionRewardDefinition>