java.io.Serializable
, java.lang.Comparable<CharCreationLibrary.NewCharNameCheckResult>
public static enum CharCreationLibrary.NewCharNameCheckResult extends java.lang.Enum<CharCreationLibrary.NewCharNameCheckResult>
Enum Constant | Description |
---|---|
BAD_USED_NAME |
Either the name was a bad one, or used before by someone else
|
CREATE_LIMIT_REACHED |
The limits on character creation have been reached for this player or ip
|
NO_NEW_LOGINS |
Cannot create a character because new logins aren't allowed
|
NO_NEW_PLAYERS |
Cannot create a character because new players aren't allowed
|
OK |
All is well, proceed
|
Modifier and Type | Method | Description |
---|---|---|
static CharCreationLibrary.NewCharNameCheckResult |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CharCreationLibrary.NewCharNameCheckResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharCreationLibrary.NewCharNameCheckResult OK
public static final CharCreationLibrary.NewCharNameCheckResult NO_NEW_PLAYERS
public static final CharCreationLibrary.NewCharNameCheckResult NO_NEW_LOGINS
public static final CharCreationLibrary.NewCharNameCheckResult BAD_USED_NAME
public static final CharCreationLibrary.NewCharNameCheckResult CREATE_LIMIT_REACHED
public static CharCreationLibrary.NewCharNameCheckResult[] values()
for (CharCreationLibrary.NewCharNameCheckResult c : CharCreationLibrary.NewCharNameCheckResult.values()) System.out.println(c);
public static CharCreationLibrary.NewCharNameCheckResult 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