DestinyItemPlugObjectivesComponent class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
objectivesPerPlug
↔ Map<String, List<DestinyObjectiveProgress>>?
-
This set of data is keyed by the Item Hash (DestinyInventoryItemDefinition) of the plug whose objectives are being returned, with the value being the list of those objectives.
What if two plugs with the same hash are returned for an item, you ask?
Good question! They share the same item-scoped state, and as such would have identical objective state as a result. How's that for convenient.
Sometimes, Plugs may have objectives: generally, these are used for flavor and display purposes. For instance, a Plug might be tracking the number of PVP kills you have made. It will use the parent item's data about that tracking status to determine what to show, and will generally show it using the DestinyObjectiveDefinition's progressDescription property. Refer to the plug's itemHash and objective property for more information if you would like to display even more data.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited