Enum StoreScope

java.lang.Object
java.lang.Enum<StoreScope>
net.blueva.arcade.api.store.StoreScope
All Implemented Interfaces:
Serializable, Comparable<StoreScope>

public enum StoreScope extends Enum<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 Details

    • GLOBAL

      public static final StoreScope 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

      public static final StoreScope MODULE
      The category is specific to a particular game module. Module-specific categories are only visible when playing the associated game.
  • Method Details

    • values

      public static StoreScope[] 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

      public static StoreScope valueOf(String name)
      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 name
      NullPointerException - if the argument is null