public static enum KitRedeemResult.Status extends java.lang.Enum<KitRedeemResult.Status>
| Enum Constant and Description |
|---|
ALREADY_REDEEMED_ONE_TIME
The one time kit has already been redeemed.
|
COOLDOWN_NOT_EXPIRED
The cooldown has not expired.
|
NO_SPACE
There is no space for the items in the kit.
|
PARTIAL_SUCCESS
The redemption was a success, but some items were rejected
|
PRE_EVENT_CANCELLED
The
NucleusKitEvent.Redeem.Pre event was cancelled. |
SUCCESS
The redemption was a success, and everything was redeemed
|
UNKNOWN
An unknown error occurred.
|
| Modifier and Type | Method and Description |
|---|---|
static KitRedeemResult.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KitRedeemResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KitRedeemResult.Status SUCCESS
public static final KitRedeemResult.Status PARTIAL_SUCCESS
public static final KitRedeemResult.Status ALREADY_REDEEMED_ONE_TIME
public static final KitRedeemResult.Status COOLDOWN_NOT_EXPIRED
public static final KitRedeemResult.Status NO_SPACE
public static final KitRedeemResult.Status PRE_EVENT_CANCELLED
NucleusKitEvent.Redeem.Pre event was cancelled.public static final KitRedeemResult.Status UNKNOWN
public static KitRedeemResult.Status[] values()
for (KitRedeemResult.Status c : KitRedeemResult.Status.values()) System.out.println(c);
public static KitRedeemResult.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null