Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api reward
com.phoenixplugins.phoenixcrates.api.reward

Enum RewardsMode

  • java.lang.Object
    • java.lang.Enum<RewardsMode>
      • com.phoenixplugins.phoenixcrates.api.reward.RewardsMode
  • All Implemented Interfaces:
    Serializable, Comparable<RewardsMode>


    public enum RewardsMode
    extends Enum<RewardsMode>
    Represents the mode for rewards.

    RANDOM - Rewards are given randomly. SELECTIVE - Rewards are given based on player selection.

    • Enum Constant Summary

      Enum Constant and Description
      RANDOM
      Rewards are given randomly.
      SELECTIVE
      Rewards are given based on player selection.
    • Method Summary

      Modifier and Type Method and Description
      static RewardsMode valueOf(String name)
      Returns the enum constant of this type with the specified name.
      static RewardsMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • RANDOM

        public static final RewardsMode RANDOM
        Rewards are given randomly.
      • SELECTIVE

        public static final RewardsMode SELECTIVE
        Rewards are given based on player selection.
    • Method Detail

      • values

        public static RewardsMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RewardsMode c : RewardsMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RewardsMode 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
Last updated about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more