Package com.runemate.game.api.hybrid
Enum GameEvents.LoginManager.Fail
- java.lang.Object
-
- java.lang.Enum<GameEvents.LoginManager.Fail>
-
- com.runemate.game.api.hybrid.GameEvents.LoginManager.Fail
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GameEvents.LoginManager.Fail>
- Enclosing class:
- GameEvents.LoginManager
public static enum GameEvents.LoginManager.Fail extends java.lang.Enum<GameEvents.LoginManager.Fail>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_LOGGED_IN
AUTHENTICATOR
BAN
CONNECTION_ERROR
DISCONNECTED_FROM_SERVER
GENERIC
INVALID_CREDENTIALS
JAG_BLOCKED
LOGIN_LIMIT_EXCEEDED
MISSING_DISPLAY_NAME
RUNESCAPE_UPDATED
SESSION_ENDED
SUSPECTED_STOLEN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAllowedRetries()
java.lang.String
getDescription()
static GameEvents.LoginManager.Fail
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GameEvents.LoginManager.Fail[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAG_BLOCKED
public static final GameEvents.LoginManager.Fail JAG_BLOCKED
-
AUTHENTICATOR
public static final GameEvents.LoginManager.Fail AUTHENTICATOR
-
BAN
public static final GameEvents.LoginManager.Fail BAN
-
GENERIC
public static final GameEvents.LoginManager.Fail GENERIC
-
SESSION_ENDED
public static final GameEvents.LoginManager.Fail SESSION_ENDED
-
CONNECTION_ERROR
public static final GameEvents.LoginManager.Fail CONNECTION_ERROR
-
SUSPECTED_STOLEN
public static final GameEvents.LoginManager.Fail SUSPECTED_STOLEN
-
LOGIN_LIMIT_EXCEEDED
public static final GameEvents.LoginManager.Fail LOGIN_LIMIT_EXCEEDED
-
ALREADY_LOGGED_IN
public static final GameEvents.LoginManager.Fail ALREADY_LOGGED_IN
-
RUNESCAPE_UPDATED
public static final GameEvents.LoginManager.Fail RUNESCAPE_UPDATED
-
INVALID_CREDENTIALS
public static final GameEvents.LoginManager.Fail INVALID_CREDENTIALS
-
MISSING_DISPLAY_NAME
public static final GameEvents.LoginManager.Fail MISSING_DISPLAY_NAME
-
DISCONNECTED_FROM_SERVER
public static final GameEvents.LoginManager.Fail DISCONNECTED_FROM_SERVER
-
-
Method Detail
-
values
public static GameEvents.LoginManager.Fail[] 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 (GameEvents.LoginManager.Fail c : GameEvents.LoginManager.Fail.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GameEvents.LoginManager.Fail valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDescription
public java.lang.String getDescription()
-
getAllowedRetries
public int getAllowedRetries()
-
-