UnitType enum

Inheritance

Constructors

UnitType()
const

Values

None → const UnitType

None = 0

Count → const UnitType

Count = 1 Indicates the statistic is a simple count of something.

PerGame → const UnitType

PerGame = 2 Indicates the statistic is a per game average.

Seconds → const UnitType

Seconds = 3 Indicates the number of seconds

Points → const UnitType

Points = 4 Indicates the number of points earned

Team → const UnitType

Team = 5 Values represents a team ID

Distance → const UnitType

Distance = 6 Values represents a distance (units to-be-determined)

Percent → const UnitType

Percent = 7 Ratio represented as a whole value from 0 to 100.

Ratio → const UnitType

Ratio = 8 Ratio of something, shown with decimal places

Boolean → const UnitType

Boolean = 9 True or false

WeaponType → const UnitType

WeaponType = 10 The stat is actually a weapon type.

Standing → const UnitType

Standing = 11 Indicates victory, defeat, or something in between.

Milliseconds → const UnitType

Milliseconds = 12 Number of milliseconds some event spanned. For example, race time, or lap time.

CompletionReason → const UnitType

CompletionReason = 13 The value is a enumeration of the Completion Reason type.

ProtectedInvalidEnumValue → const UnitType

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<UnitType>
A constant List of the values in this enum, in order of their declaration.