Rarity
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
Rarity is an enum with 4 constants. They are accessible like so:
Members
Getter
Gets the weight of this Rarity
Return Type:
int
weight() as int
Gets the weight of this Rarity
Returns: The weight of this Rarity.
Return Type:
int