DestinyPublicMilestone class

Information about milestones, presented in a character state-agnostic manner. Combine this data with DestinyMilestoneDefinition to get a full picture of the milestone, which is basically a checklist of things to do in the game. Think of this as GetPublicAdvisors 3.0, for those who used the Destiny 1 API.

Constructors

DestinyPublicMilestone()

Properties

activities ↔ List<DestinyPublicMilestoneChallengeActivity>
read / write
availableQuests ↔ List<DestinyPublicMilestoneQuest>
A milestone not need have even a single quest, but if there are active quests they will be returned here.
read / write
endDate ↔ String
If known, this is the date when the Milestone will expire/recycle/end.
read / write
milestoneHash ↔ int
The hash identifier for the milestone. Use it to look up the DestinyMilestoneDefinition for static data about the Milestone. [...]
read / write
order ↔ int
Used for ordering milestones in a display to match how we order them in BNet. May pull from static data, or possibly in the future from dynamic information.
read / write
startDate ↔ String
If known, this is the date when the Milestone started/became active.
read / write
vendorHashes ↔ List<int>
Sometimes milestones - or activities active in milestones - will have relevant vendors. These are the vendors that are currently relevant. [...]
read / write
vendors ↔ List<DestinyPublicMilestoneVendor>
This is why we can't have nice things. This is the ordered list of vendors to be shown that relate to this milestone, potentially along with other interesting data.
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