DestinyItemSourceDefinition class
Properties of a DestinyInventoryItemDefinition that store all of the information we were able to discern about how the item spawns, and where you can find the item. Items will have many of these sources, one per level at which it spawns, to try and give more granular data about where items spawn for specific level ranges.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyItemSourceDefinition()
-
DestinyItemSourceDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
computedStats
↔ Map<
String, DestinyInventoryItemStatDefinition> ? -
The stats computed for this level/quality range.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ int?
-
The level at which the item spawns. Essentially the Primary Key for this source data: there will be multiple of these source entries per item that has source data, grouped by the level at which the item spawns.
getter/setter pair
- maxLevelRequired ↔ int?
-
The maximum Character Level required for equipping the item when the item spawns at the item level defined on this DestinyItemSourceDefinition, as far as we saw in our processing.
getter/setter pair
- maxQuality ↔ int?
-
The maximum quality at which the item spawns for this level.
getter/setter pair
- minLevelRequired ↔ int?
-
The minimum Character Level required for equipping the item when the item spawns at the item level defined on this DestinyItemSourceDefinition, as far as we saw in our processing.
getter/setter pair
- minQuality ↔ int?
-
The minimum Quality at which the item spawns for this level. Examine DestinyInventoryItemDefinition for more information about what Quality means. Just don't ask Phaedrus about it, he'll never stop talking and you'll have to write a book about it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceHashes
↔ List<
int> ? -
The DestinyRewardSourceDefinitions found that can spawn the item at this level.
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<DestinyItemSourceDefinition>