|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GiveKitResult>
com.amoebaman.kitmaster.enums.GiveKitResult
public enum GiveKitResult
| Enum Constant Summary | |
|---|---|
FAIL_CANCELLED
The kit was not given because a 3rd party plugin cancelled it. |
|
FAIL_COST
The kit was not given because the player could not afford it. |
|
FAIL_NO_PERMS
The kit was not given because the player did not have permissions. |
|
FAIL_NULL_KIT
The kit was not given because it was null. |
|
FAIL_SINGLE_USE
The kit was not given because the player had already taken it. |
|
FAIL_TIMEOUT
The kit was not given because the player had not waited for the timeout. |
|
SUCCESS
The kit was successfully given. |
|
| Method Summary | |
|---|---|
static GiveKitResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GiveKitResult[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GiveKitResult SUCCESS
public static final GiveKitResult FAIL_NO_PERMS
public static final GiveKitResult FAIL_TIMEOUT
public static final GiveKitResult FAIL_SINGLE_USE
public static final GiveKitResult FAIL_CANCELLED
public static final GiveKitResult FAIL_COST
public static final GiveKitResult FAIL_NULL_KIT
| Method Detail |
|---|
public static GiveKitResult[] values()
for (GiveKitResult c : GiveKitResult.values()) System.out.println(c);
public static GiveKitResult 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||