Enum Class RewardType

java.lang.Object
java.lang.Enum<RewardType>
com.ordwen.odailyquests.rewards.RewardType
All Implemented Interfaces:
Serializable, Comparable<RewardType>, Constable

public enum RewardType extends Enum<RewardType>
List of all possible rewards types.
  • Enum Constant Details

    • COMMAND

      public static final RewardType COMMAND
    • EXP_POINTS

      public static final RewardType EXP_POINTS
    • EXP_LEVELS

      public static final RewardType EXP_LEVELS
    • MONEY

      public static final RewardType MONEY
    • POINTS

      public static final RewardType POINTS
    • NONE

      public static final RewardType NONE
    • COINS_ENGINE

      public static final RewardType COINS_ENGINE
  • Method Details

    • values

      public static RewardType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RewardType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null