DestinyRaceDefinition class
In Destiny, "Races" are really more like "Species". Sort of. I mean, are the Awoken a separate species from humans? I'm not sure. But either way, they're defined here. You'll see Exo, Awoken, and Human as examples of these Species. Players will choose one for their character.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyRaceDefinition()
-
DestinyRaceDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- displayProperties ↔ DestinyDisplayPropertiesDefinition?
-
Many Destiny*Definition contracts - the "first order" entities of Destiny that have their own tables in the Manifest Database - also have displayable information. This is the base class for that display information.
getter/setter pair
-
genderedRaceNames
↔ Map<
String, String> ? -
A localized string referring to the singular form of the Race's name when referred to in gendered form. Keyed by the DestinyGender.
getter/setter pair
-
genderedRaceNamesByGenderHash
↔ Map<
String, String> ? -
getter/setter pair
- hash ↔ int?
-
The unique identifier for this entity. Guaranteed to be unique for the type of entity, but not globally.
When entities refer to each other in Destiny content, it is this hash that they are referring to.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ int?
-
The index of the entity as it was found in the investment tables.
getter/setter pair
- raceType ↔ DestinyRace?
-
An enumeration defining the existing, known Races/Species for player characters. This value will be the enum value matching this definition.
getter/setter pair
- redacted ↔ bool?
-
If this is true, then there is an entity with this identifier/type combination, but BNet is not yet allowed to show it. Sorry!
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<DestinyRaceDefinition>