DestinyFactionProgression class
Mostly for historical purposes, we segregate Faction progressions from other progressions. This is just a DestinyProgression with a shortcut for finding the DestinyFactionDefinition of the faction related to the progression.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyFactionProgression()
-
DestinyFactionProgression.fromJson(Map<
String, dynamic> json) -
factory
Properties
- currentProgress ↔ int?
-
This is the total amount of progress obtained overall for this progression (for instance, the total amount of Character Level experience earned)
getter/setter pair
- currentResetCount ↔ int?
-
The number of resets of this progression you've executed this season, if applicable to this progression.
getter/setter pair
- dailyLimit ↔ int?
-
If this progression has a daily limit, this is that limit.
getter/setter pair
- dailyProgress ↔ int?
-
The amount of progress earned today for this progression.
getter/setter pair
- factionHash ↔ int?
-
The hash identifier of the Faction related to this progression. Use it to look up the DestinyFactionDefinition for more rendering info.
getter/setter pair
- factionVendorIndex ↔ int?
-
The index of the Faction vendor that is currently available. Will be set to -1 if no vendors are available.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ int?
-
This is the level of the progression (for instance, the Character Level).
getter/setter pair
- levelCap ↔ int?
-
This is the maximum possible level you can achieve for this progression (for example, the maximum character level obtainable)
getter/setter pair
- nextLevelAt ↔ int?
-
The total amount of progression (i.e. "Experience") needed in order to reach the next level.
getter/setter pair
- progressionHash ↔ int?
-
The hash identifier of the Progression in question. Use it to look up the DestinyProgressionDefinition in static data.
getter/setter pair
- progressToNextLevel ↔ int?
-
The amount of progression (i.e. "Experience") needed to reach the next level of this Progression. Jeez, progression is such an overloaded word.
getter/setter pair
-
rewardItemStates
↔ List<
DestinyProgressionRewardItemState> ? -
Information about historical rewards for this progression, if there is any data for it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
seasonResets
↔ List<
DestinyProgressionResetEntry> ? -
Information about historical resets of this progression, if there is any data for it.
getter/setter pair
- stepIndex ↔ int?
-
Progressions define their levels in "steps". Since the last step may be repeatable, the user may be at a higher level than the actual Step achieved in the progression. Not necessarily useful, but potentially interesting for those cruising the API. Relate this to the "steps" property of the DestinyProgression to see which step the user is on, if you care about that. (Note that this is Content Version dependent since it refers to indexes.)
getter/setter pair
- weeklyLimit ↔ int?
-
If this progression has a weekly limit, this is that limit.
getter/setter pair
- weeklyProgress ↔ int?
-
The amount of progress earned toward this progression in the current week.
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<DestinyFactionProgression>