Package net.blueva.arcade.api.store
Enum StoreScope
- All Implemented Interfaces:
Serializable,Comparable<StoreScope>
Defines the visibility scope of a store category.
Store categories can be either globally available across all games or specific to individual game modules.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreScopeReturns the enum constant of this type with the specified name.static StoreScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GLOBAL
The category is globally available across all game modules. Global categories are visible in the main store menu regardless of which game is being played. -
MODULE
The category is specific to a particular game module. Module-specific categories are only visible when playing the associated game.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-