Package com.epicbot.api.os.model.game
Enum LoginScreenState
- java.lang.Object
-
- java.lang.Enum<LoginScreenState>
-
- com.epicbot.api.os.model.game.LoginScreenState
-
- All Implemented Interfaces:
LoginScreenState
,java.io.Serializable
,java.lang.Comparable<LoginScreenState>
public enum LoginScreenState extends java.lang.Enum<LoginScreenState> implements LoginScreenState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INITIAL
The client is at the initial login screen (new user or existing user screen).INVALID_CREDENTIALS
The client is at the username and/or password is incorrect screen.LOGIN_SCREEN
The client is at the login screen and can enter an username and password.LOGIN_SCREEN_AUTHENTICATOR
The client is at the enter 6-digit code authenticator screen.LOGIN_SCREEN_BANNED
The client is at the banned screen.LOGIN_SCREEN_DISCONNECT
The client is at the disconnected screen.LOGIN_SCREEN_FORGOT
The client is at the forgot password screen.UNKNOWN
Unknown login state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getState()
static LoginScreenState
of(int state)
static LoginScreenState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LoginScreenState[]
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 interface com.epicbot.api.shared.model.game.LoginScreenState
is
-
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final LoginScreenState UNKNOWN
Unknown login state.
-
INITIAL
public static final LoginScreenState INITIAL
The client is at the initial login screen (new user or existing user screen).
-
LOGIN_SCREEN
public static final LoginScreenState LOGIN_SCREEN
The client is at the login screen and can enter an username and password.
-
INVALID_CREDENTIALS
public static final LoginScreenState INVALID_CREDENTIALS
The client is at the username and/or password is incorrect screen.
-
LOGIN_SCREEN_AUTHENTICATOR
public static final LoginScreenState LOGIN_SCREEN_AUTHENTICATOR
The client is at the enter 6-digit code authenticator screen.
-
LOGIN_SCREEN_FORGOT
public static final LoginScreenState LOGIN_SCREEN_FORGOT
The client is at the forgot password screen.
-
LOGIN_SCREEN_BANNED
public static final LoginScreenState LOGIN_SCREEN_BANNED
The client is at the banned screen.
-
LOGIN_SCREEN_DISCONNECT
public static final LoginScreenState LOGIN_SCREEN_DISCONNECT
The client is at the disconnected screen.
-
-
Method Detail
-
values
public static LoginScreenState[] 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 (LoginScreenState c : LoginScreenState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoginScreenState 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
-
getState
public int getState()
- Specified by:
getState
in interfaceLoginScreenState
-
of
public static LoginScreenState of(int state)
-
-