DestinyActivityGraphNodeDefinition class
This is the position and other data related to nodes in the activity graph that you can click to launch activities. An Activity Graph node will only have one active Activity at a time, which will determine the activity to be launched (and, unless overrideDisplay information is provided, will also determine the tooltip and other UI related to the node)
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyActivityGraphNodeDefinition()
-
DestinyActivityGraphNodeDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
activities
↔ List<
DestinyActivityGraphNodeActivityDefinition> ? -
The node may have various possible activities that could be active for it, however only one may be active at a time. See the DestinyActivityGraphNodeActivityDefinition for details.
getter/setter pair
-
featuringStates
↔ List<
DestinyActivityGraphNodeFeaturingStateDefinition> ? -
The node may have various visual accents placed on it, or styles applied. These are the list of possible styles that the Node can have. The game iterates through each, looking for the first one that passes a check of the required game/character/account state in order to show that style, and then renders the node in that style.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeId ↔ int?
-
An identifier for the Activity Graph Node, only guaranteed to be unique within its parent Activity Graph.
getter/setter pair
- overrideDisplay ↔ DestinyDisplayPropertiesDefinition?
-
The node may have display properties that override the active Activity's display properties.
getter/setter pair
- position ↔ DestinyPositionDefinition?
-
The position on the map for this node.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
↔ List<
DestinyActivityGraphNodeStateEntry> ? -
Represents possible states that the graph node can be in. These are combined with some checking that happens in the game client and server to determine which state is actually active at any given time.
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<DestinyActivityGraphNodeDefinition>