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) - 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.
Constructors
Properties
- children ↔ int
-
The child entities contained by this presentation node.
read / write
- 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. [...]
read / write
-
If this presentation node has children, but the game doesn't let you inspect the
details of those children, that is indicated here.
read / write
- displayProperties ↔ DestinyDisplayPropertiesDefinition
-
read / write
- displayStyle ↔ int
-
A hint for how to display this presentation node when it's shown in a list.
read / write
- hash ↔ int
-
The unique identifier for this entity. Guaranteed to be unique for the type of
entity, but not globally. [...]
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- index ↔ int
-
The index of the entity as it was found in the investment tables.
read / write
- nodeType ↔ DestinyPresentationNodeType
-
read / write
- 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. [...]
read / write
- originalIcon ↔ String
-
The original icon for this presentation node, before we futzed with it.
read / write
-
parentNodeHashes
↔ List<
int> -
A quick reference to presentation nodes that have this node as a child. (
presentation nodes can be parented under multiple parents) [...]
read / write
- 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!
read / write
- requirements ↔ int
-
The requirements for being able to interact with this presentation node and its
children.
read / write
- 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?
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- scope ↔ int
-
Indicates whether this presentation node's state is determined on a per-
character or on an account-wide basis.
read / write
- screenStyle ↔ int
-
A hint for how to display this presentation node when it's shown in its own
detail screen.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited