DestinyActivityGraphDefinition class
Represents a Map View in the director: be them overview views, destination views, or other. They have nodes which map to activities, and other various visual elements that we (or others) may or may not be able to use. Activity graphs, most importantly, have nodes which can have activities in various states of playability. Unfortunately, activity graphs are combined at runtime with Game UI-only assets such as fragments of map images, various in-game special effects, decals etc... that we don't get in these definitions. If we end up having time, we may end up trying to manually populate those here: but the last time we tried that, before the lead-up to D1, it proved to be unmaintainable as the game's content changed. So don't bet the farm on us providing that content in this definition.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyActivityGraphDefinition()
-
DestinyActivityGraphDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
artElements
↔ List<
DestinyActivityGraphArtElementDefinition> ? -
Represents one-off/special UI elements that appear on the map.
getter/setter pair
-
connections
↔ List<
DestinyActivityGraphConnectionDefinition> ? -
Represents connections between graph nodes. However, it lacks context that we'd need to make good use of it.
getter/setter pair
-
displayObjectives
↔ List<
DestinyActivityGraphDisplayObjectiveDefinition> ? -
Objectives can display on maps, and this is supposedly metadata for that. I have not had the time to analyze the details of what is useful within however: we could be missing important data to make this work. Expect this property to be expanded on later if possible.
getter/setter pair
-
displayProgressions
↔ List<
DestinyActivityGraphDisplayProgressionDefinition> ? -
Progressions can also display on maps, but similarly to displayObjectives we appear to lack some required information and context right now. We will have to look into it later and add more data if possible.
getter/setter pair
- hash ↔ int?
-
The unique identifier for this entity. Guaranteed to be unique for the type of entity, but not globally.
When entities refer to each other in Destiny content, it is this hash that they are referring to.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ int?
-
The index of the entity as it was found in the investment tables.
getter/setter pair
-
linkedGraphs
↔ List<
DestinyLinkedGraphDefinition> ? -
Represents links between this Activity Graph and other ones.
getter/setter pair
-
nodes
↔ List<
DestinyActivityGraphNodeDefinition> ? -
These represent the visual "nodes" on the map's view. These are the activities you can click on in the map.
getter/setter pair
- redacted ↔ bool?
-
If this is true, then there is an entity with this identifier/type combination, but BNet is not yet allowed to show it. Sorry!
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<DestinyActivityGraphDefinition>