DestinyCharacterComponent class

This component contains base properties of the character. You'll probably want to always request this component, but hey you do you.

Constructors

DestinyCharacterComponent()

Properties

baseCharacterLevel ↔ int
The "base" level of your character, not accounting for any light level.
read / write
characterId ↔ String
The unique identifier for the character.
read / write
classHash ↔ int
Use this hash to look up the character's DestinyClassDefinition. [...]
read / write
classType ↔ int
Mostly for historical purposes at this point, this is an enumeration for the character's class. [...]
read / write
dateLastPlayed ↔ String
The last date that the user played Destiny.
read / write
emblemBackgroundPath ↔ String
A shortcut path to the user's currently equipped emblem background image. If you' re just showing summary info for a user, this is more convenient than examining their equipped emblem and looking up the definition.
read / write
emblemColor ↔ int
A shortcut for getting the background color of the user's currently equipped emblem without having to do a DestinyInventoryItemDefinition lookup.
read / write
emblemHash ↔ int
The hash of the currently equipped emblem for the user. Can be used to look up the DestinyInventoryItemDefinition. [...]
read / write
emblemPath ↔ String
A shortcut path to the user's currently equipped emblem image. If you're just showing summary info for a user, this is more convenient than examining their equipped emblem and looking up the definition.
read / write
genderHash ↔ int
Use this hash to look up the character's DestinyGenderDefinition. [...]
read / write
genderType ↔ int
Mostly for historical purposes at this point, this is an enumeration for the character's Gender. [...]
read / write
levelProgression ↔ int
The progression that indicates your character's level. Not their light level, but their character level: you know, the thing you max out a couple hours in and then ignore for the sake of light level.
read / write
light ↔ int
The user's calculated "Light Level". Light level is an indicator of your power that mostly matters in the end game, once you've reached the maximum character level: it's a level that's dependent on the average Attack/Defense power of your items.
read / write
membershipId ↔ String
Every Destiny Profile has a membershipId. This is provided on the character as well for convenience.
read / write
membershipType ↔ int
membershipType tells you the platform on which the character plays. Examine the BungieMembershipType enumeration for possible values.
read / write
minutesPlayedThisSession ↔ String
If the user is currently playing, this is how long they've been playing.
read / write
minutesPlayedTotal ↔ String
If this value is 525,600, then they played Destiny for a year. Or they're a very dedicated Rent fan. Note that this includes idle time, not just time spent actually in activities shooting things.
read / write
percentToNextLevel ↔ double
A number between 0 and 100, indicating the whole and fractional % remaining to get to the next character level.
read / write
raceHash ↔ int
Use this hash to look up the character's DestinyRaceDefinition. [...]
read / write
raceType ↔ int
Mostly for historical purposes at this point, this is an enumeration for the character's race. [...]
read / write
stats ↔ Map<int, int>
Your character's stats, such as Agility, Resilience, etc... not historical stats. [...]
read / write
titleRecordHash ↔ int
If this Character has a title assigned to it, this is the identifier of the DestinyRecordDefinition that has that title information. [...]
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