DestinyUnlockValueUIStyle enum

Inheritance

Constructors

DestinyUnlockValueUIStyle()
const

Values

Automatic → const DestinyUnlockValueUIStyle

Automatic = 0 Generally, Automatic means "Just show the number"

Fraction → const DestinyUnlockValueUIStyle

Fraction = 1 Show the number as a fractional value. For this to make sense, the value being displayed should have a comparable upper bound, like the progress to the next level of a Progression.

Checkbox → const DestinyUnlockValueUIStyle

Checkbox = 2 Show the number as a checkbox. 0 Will mean unchecked, any other value will mean checked.

Percentage → const DestinyUnlockValueUIStyle

Percentage = 3 Show the number as a percentage. For this to make sense, the value being displayed should have a comparable upper bound, like the progress to the next level of a Progression.

DateTime → const DestinyUnlockValueUIStyle

DateTime = 4 Show the number as a date and time. The number will be the number of seconds since the Unix Epoch (January 1st, 1970 at midnight UTC). It'll be up to you to convert this into a date and time format understandable to the user in their time zone.

FractionFloat → const DestinyUnlockValueUIStyle

FractionFloat = 5 Show the number as a floating point value that represents a fraction, where 0 is min and 1 is max. For this to make sense, the value being displayed should have a comparable upper bound, like the progress to the next level of a Progression.

Integer → const DestinyUnlockValueUIStyle

Integer = 6 Show the number as a straight-up integer.

TimeDuration → const DestinyUnlockValueUIStyle

TimeDuration = 7 Show the number as a time duration. The value will be returned as seconds.

Hidden → const DestinyUnlockValueUIStyle

Hidden = 8 Don't bother showing the value at all, it's not easily human-interpretable, and used for some internal purpose.

Multiplier → const DestinyUnlockValueUIStyle

Multiplier = 9 Example: "1.5x"

GreenPips → const DestinyUnlockValueUIStyle

GreenPips = 10 Show the value as a series of green pips, like the wins in a Trials of Osiris score card.

RedPips → const DestinyUnlockValueUIStyle

RedPips = 11 Show the value as a series of red pips, like the losses in a Trials of Osiris score card.

ExplicitPercentage → const DestinyUnlockValueUIStyle

ExplicitPercentage = 12 Show the value as a percentage. For example: "51%" - Does no division, only appends '%'

RawFloat → const DestinyUnlockValueUIStyle

RawFloat = 13 Show the value as a floating-point number. For example: "4.52" NOTE: Passed along from Investment as whole number with last two digits as decimal values (452 -> 4.52)

LevelAndReward → const DestinyUnlockValueUIStyle

LevelAndReward = 14 Show the value as a level and a reward.

ProtectedInvalidEnumValue → const DestinyUnlockValueUIStyle

value not found fallback

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<DestinyUnlockValueUIStyle>
A constant List of the values in this enum, in order of their declaration.