Enum StoreCategoryType

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

public enum StoreCategoryType extends Enum<StoreCategoryType>
Describes how items inside a store category behave.
  • Enum Constant Details

    • SELECTION

      public static final StoreCategoryType SELECTION
      Items are selectable (one active at a time).
    • PURCHASE_ONLY

      public static final StoreCategoryType PURCHASE_ONLY
      Items are only purchased/unlocked; no active selection is required.
    • GROUP

      public static final StoreCategoryType GROUP
      A grouping node that contains subcategories instead of items.
  • Method Details

    • values

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