DestinyPresentationNodeDefinition class

A PresentationNode is an entity that represents a logical grouping of other entities visually/organizationally. For now, Presentation Nodes may contain the following... but it may be used for more in the future:

  • Collectibles - Records (Or, as the public will call them, "Triumphs." Don't ask me why we're overloading the term "Triumph", it still hurts me to think about it) - Metrics (aka Stat Trackers) - Other Presentation Nodes, allowing a tree of Presentation Nodes to be created Part of me wants to break these into conceptual definitions per entity being collected, but the possibility of these different types being mixed in the same UI and the possibility that it could actually be more useful to return the "bare metal" presentation node concept has resulted in me deciding against that for the time being. We'll see if I come to regret this as well.
Annotations
  • @JsonSerializable.new()

Properties

children ↔ DestinyPresentationNodeChildrenBlock?
The child entities contained by this presentation node.
getter/setter pair
completionRecordHash ↔ int?
If this presentation node has an associated "Record" that you can accomplish for completing its children, this is the identifier of that Record.
getter/setter pair
disableChildSubscreenNavigation ↔ bool?
If this presentation node has children, but the game doesn't let you inspect the details of those children, that is indicated here.
getter/setter pair
displayProperties ↔ DestinyDisplayPropertiesDefinition?
Many Destiny*Definition contracts - the "first order" entities of Destiny that have their own tables in the Manifest Database - also have displayable information. This is the base class for that display information.
getter/setter pair
displayStyle ↔ DestinyPresentationDisplayStyle?
A hint for how to display this presentation node when it's shown in a list.
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
isSeasonal ↔ bool?
Primarily for Guardian Ranks, this property if the contents of this node are tied to the current season. These nodes are shown with a different color for the in-game Guardian Ranks display.
getter/setter pair
maxCategoryRecordScore ↔ int?
getter/setter pair
nodeType ↔ DestinyPresentationNodeType?
getter/setter pair
objectiveHash ↔ int?
If this presentation node shows a related objective (for instance, if it tracks the progress of its children), the objective being tracked is indicated here.
getter/setter pair
originalIcon ↔ String?
The original icon for this presentation node, before we futzed with it.
getter/setter pair
parentNodeHashes ↔ List<int>?
A quick reference to presentation nodes that have this node as a child. Presentation nodes can be parented under multiple parents.
getter/setter pair
presentationNodeType ↔ DestinyPresentationNodeType?
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
requirements ↔ DestinyPresentationNodeRequirementsBlock?
The requirements for being able to interact with this presentation node and its children.
getter/setter pair
rootViewIcon ↔ String?
Some presentation nodes are meant to be explicitly shown on the "root" or "entry" screens for the feature to which they are related. You should use this icon when showing them on such a view, if you have a similar "entry point" view in your UI. If you don't have a UI, then I guess it doesn't matter either way does it?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope ↔ DestinyScope?
Indicates whether this presentation node's state is determined on a per-character or on an account-wide basis.
getter/setter pair
screenStyle ↔ DestinyPresentationScreenStyle?
A hint for how to display this presentation node when it's shown in its own detail screen.
getter/setter pair
traitHashes ↔ List<int>?
getter/setter pair
traitIds ↔ List<String>?
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<DestinyPresentationNodeDefinition>