DestinyProfileResponse class
The response for GetDestinyProfile, with components for character and item-level data.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyProfileResponse()
-
DestinyProfileResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- characterActivities ↔ DictionaryComponentResponseOfint64AndDestinyCharacterActivitiesComponent?
-
Character activity data - the activities available to this character and its status, keyed by the Character's Id.
COMPONENT TYPE: CharacterActivities
getter/setter pair
- characterCollectibles ↔ DictionaryComponentResponseOfint64AndDestinyCollectiblesComponent?
-
COMPONENT TYPE: Collectibles
getter/setter pair
- characterCraftables ↔ DictionaryComponentResponseOfint64AndDestinyCraftablesComponent?
-
COMPONENT TYPE: Craftables
getter/setter pair
- characterCurrencyLookups ↔ DictionaryComponentResponseOfint64AndDestinyCurrenciesComponent?
-
A "lookup" convenience component that can be used to quickly check if the character has access to items that can be used for purchasing.
COMPONENT TYPE: CurrencyLookups
getter/setter pair
- characterEquipment ↔ DictionaryComponentResponseOfint64AndDestinyInventoryComponent?
-
The character's equipped items, keyed by the Character's Id.
COMPONENT TYPE: CharacterEquipment
getter/setter pair
- characterInventories ↔ DictionaryComponentResponseOfint64AndDestinyInventoryComponent?
-
The character-level non-equipped inventory items, keyed by the Character's Id.
COMPONENT TYPE: CharacterInventories
getter/setter pair
- characterKiosks ↔ DictionaryComponentResponseOfint64AndDestinyKiosksComponent?
-
Items available from Kiosks that are available to a specific character as opposed to the account as a whole. It must be combined with data from the profileKiosks property to get a full picture of the character's available items to check out of a kiosk.
This component returns information about what Kiosk items are available to you on a Character level. Usually, kiosk items will be earned for the entire Profile (all characters) at once. To find those, look in the profileKiosks property.
COMPONENT TYPE: Kiosks
getter/setter pair
- characterPlugSets ↔ DictionaryComponentResponseOfint64AndDestinyPlugSetsComponent?
-
When sockets refer to reusable Plug Sets (see DestinyPlugSetDefinition for more info), this is the set of plugs and their states, per character, that are character-scoped.
This comes back with ItemSockets, as it is needed for a complete picture of the sockets on requested items.
COMPONENT TYPE: ItemSockets
getter/setter pair
- characterPresentationNodes ↔ DictionaryComponentResponseOfint64AndDestinyPresentationNodesComponent?
-
COMPONENT TYPE: PresentationNodes
getter/setter pair
- characterProgressions ↔ DictionaryComponentResponseOfint64AndDestinyCharacterProgressionComponent?
-
Character-level progression data, keyed by the Character's Id.
COMPONENT TYPE: CharacterProgressions
getter/setter pair
- characterRecords ↔ DictionaryComponentResponseOfint64AndDestinyCharacterRecordsComponent?
-
COMPONENT TYPE: Records
getter/setter pair
- characterRenderData ↔ DictionaryComponentResponseOfint64AndDestinyCharacterRenderComponent?
-
Character rendering data - a minimal set of info needed to render a character in 3D - keyed by the Character's Id.
COMPONENT TYPE: CharacterRenderData
getter/setter pair
- characters ↔ DictionaryComponentResponseOfint64AndDestinyCharacterComponent?
-
Basic information about each character, keyed by the CharacterId.
COMPONENT TYPE: Characters
getter/setter pair
- characterStringVariables ↔ DictionaryComponentResponseOfint64AndDestinyStringVariablesComponent?
-
COMPONENT TYPE: StringVariables
getter/setter pair
-
characterUninstancedItemComponents
↔ Map<
String, DestinyBaseItemComponentSetOfuint32> ? -
Do you ever get the feeling that a system was designed too flexibly? That it can be used in so many different ways that you end up being unable to provide an easy to use abstraction for the mess that's happening under the surface?
Let's talk about character-specific data that might be related to items without instances. These two statements are totally unrelated, I promise.
At some point during D2, it was decided that items - such as Bounties - could be given to characters and not have instance data, but that could display and even use relevant state information on your account and character.
Up to now, any item that had meaningful dependencies on character or account state had to be instanced, and thus "itemComponents" was all that you needed: it was keyed by item's instance IDs and provided the stateful information you needed inside.
Unfortunately, we don't live in such a magical world anymore. This is information held on a per-character basis about non-instanced items that the characters have in their inventory - or that reference character-specific state information even if it's in Account-level inventory - and the values related to that item's state in relation to the given character.
To give a concrete example, look at a Moments of Triumph bounty. They exist in a character's inventory, and show/care about a character's progression toward completing the bounty. But the bounty itself is a non-instanced item, like a mod or a currency. This returns that data for the characters who have the bounty in their inventory.
I'm not crying, you're crying Okay we're both crying but it's going to be okay I promise Actually I shouldn't promise that, I don't know if it's going to be okay
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemComponents ↔ DestinyItemComponentSetOfint64?
-
Information about instanced items across all returned characters, keyed by the item's instance ID.
COMPONENT TYPE:
See inside the DestinyItemComponentSet contract for component types.
getter/setter pair - metrics ↔ SingleComponentResponseOfDestinyMetricsComponent?
-
COMPONENT TYPE: Metrics
getter/setter pair
- platformSilver ↔ SingleComponentResponseOfDestinyPlatformSilverComponent?
-
Silver quantities for any platform on which this Profile plays destiny.
COMPONENT TYPE: PlatformSilver
getter/setter pair
- profile ↔ SingleComponentResponseOfDestinyProfileComponent?
-
The basic information about the Destiny Profile (formerly "Account").
COMPONENT TYPE: Profiles
getter/setter pair
- profileCollectibles ↔ SingleComponentResponseOfDestinyProfileCollectiblesComponent?
-
COMPONENT TYPE: Collectibles
getter/setter pair
- profileCurrencies ↔ SingleComponentResponseOfDestinyInventoryComponent?
-
The profile-level currencies owned by the Destiny Profile.
COMPONENT TYPE: ProfileCurrencies
getter/setter pair
- profileInventory ↔ SingleComponentResponseOfDestinyInventoryComponent?
-
The profile-level inventory of the Destiny Profile.
COMPONENT TYPE: ProfileInventories
getter/setter pair
- profileKiosks ↔ SingleComponentResponseOfDestinyKiosksComponent?
-
Items available from Kiosks that are available Profile-wide (i.e. across all characters)
This component returns information about what Kiosk items are available to you on a Profile level. It is theoretically possible for Kiosks to have items gated by specific Character as well. If you ever have those, you will find them on the characterKiosks property.
COMPONENT TYPE: Kiosks
getter/setter pair
- profilePlugSets ↔ SingleComponentResponseOfDestinyPlugSetsComponent?
-
When sockets refer to reusable Plug Sets (see DestinyPlugSetDefinition for more info), this is the set of plugs and their states that are profile-scoped.
This comes back with ItemSockets, as it is needed for a complete picture of the sockets on requested items.
COMPONENT TYPE: ItemSockets
getter/setter pair
- profilePresentationNodes ↔ SingleComponentResponseOfDestinyPresentationNodesComponent?
-
COMPONENT TYPE: PresentationNodes
getter/setter pair
- profileProgression ↔ SingleComponentResponseOfDestinyProfileProgressionComponent?
-
When we have progression information - such as Checklists - that may apply profile-wide, it will be returned here rather than in the per-character progression data.
COMPONENT TYPE: ProfileProgression
getter/setter pair
- profileRecords ↔ SingleComponentResponseOfDestinyProfileRecordsComponent?
-
COMPONENT TYPE: Records
getter/setter pair
- profileStringVariables ↔ SingleComponentResponseOfDestinyStringVariablesComponent?
-
COMPONENT TYPE: StringVariables
getter/setter pair
- profileTransitoryData ↔ SingleComponentResponseOfDestinyProfileTransitoryComponent?
-
COMPONENT TYPE: Transitory
getter/setter pair
- responseMintedTimestamp ↔ String?
-
Records the timestamp of when most components were last generated from the world server source. Unless the component type is specified in the documentation for secondaryComponentsMintedTimestamp, this value is sufficient to do data freshness.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryComponentsMintedTimestamp ↔ String?
-
Some secondary components are not tracked in the primary response timestamp and have their timestamp tracked here. If your component is any of the following, this field is where you will find your timestamp value:
PresentationNodes, Records, Collectibles, Metrics, StringVariables, Craftables, Transitory
All other component types may use the primary timestamp property.
getter/setter pair
- vendorReceipts ↔ SingleComponentResponseOfDestinyVendorReceiptsComponent?
-
Recent, refundable purchases you have made from vendors. When will you use it? Couldn't say...
COMPONENT TYPE: VendorReceipts
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<DestinyProfileResponse>