DestinyCharacterActivitiesComponent class

This component holds activity data for a character. It will tell you about the character's current activity status, as well as activities that are available to the user.

Constructors

DestinyCharacterActivitiesComponent()

Properties

availableActivities ↔ List<DestinyActivity>
The list of activities that the user can play.
read / write
currentActivityHash ↔ int
If the user is in an activity, this will be the hash of the Activity being played. Note that you must combine this info with currentActivityModeHash to get a real picture of what the user is doing right now. For instance, PVP " Activities" are just maps: it's the ActivityMode that determines what type of PVP game they're playing. [...]
read / write
currentActivityModeHash ↔ int
If the user is in an activity, this will be the hash of the activity mode being played. Combine with currentActivityHash to give a person a full picture of what they're doing right now. [...]
read / write
currentActivityModeHashes ↔ List<int>
If the user is in an activity, this will be the hashes of the DestinyActivityModeDefinition being played. Combine with currentActivityHash to give a person a full picture of what they're doing right now. [...]
read / write
currentActivityModeType ↔ int
And the current activity's most specific mode type, if it can be found. [...]
read / write
currentActivityModeTypes ↔ List<DestinyActivityModeType>
All Activity Modes that apply to the current activity being played, in enum form.
read / write
currentPlaylistActivityHash ↔ int
If the user is in a playlist, this is the hash identifier for the playlist that they chose. [...]
read / write
dateActivityStarted ↔ String
The last date that the user started playing an activity.
read / write
lastCompletedStoryHash ↔ int
This will have the activity hash of the last completed story/campaign mission, in case you care about that. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited