Destiny.DestinyUnlockValueUIStyle
Enumeration
If you're showing an unlock value in the UI, this is the format in which it should be shown. You'll have to build your own algorithms on the client side to determine how best to render these options.
Type: int32
Valid Enum Values
-
Automatic: 0Generally, Automatic means "Just show the number"
-
Fraction: 1Show 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: 2Show the number as a checkbox. 0 Will mean unchecked, any other value will mean checked.
-
Percentage: 3Show 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: 4Show 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: 5Show 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: 6Show the number as a straight-up integer.
-
TimeDuration: 7Show the number as a time duration. The value will be returned as seconds.
-
Hidden: 8Don't bother showing the value at all, it's not easily human-interpretable, and used for some internal purpose.
-
Multiplier: 9Example: "1.5x"
-
GreenPips: 10Show the value as a series of green pips, like the wins in a Trials of Osiris score card.
-
RedPips: 11Show the value as a series of red pips, like the losses in a Trials of Osiris score card.
-
ExplicitPercentage: 12Show the value as a percentage. For example: "51%" - Does no division, only appends '%'
-
RawFloat: 13Show 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: 14Show the value as a level and a reward.