Package org.dreambot.api.methods
Enum RSLoginResponse
- java.lang.Object
-
- java.lang.Enum<RSLoginResponse>
-
- org.dreambot.api.methods.RSLoginResponse
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RSLoginResponse>
public enum RSLoginResponse extends java.lang.Enum<RSLoginResponse>
Created by Nezz on 6/6/2015.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull RSLoginResponse
getLoginResponse(java.lang.String... responses)
java.lang.String[]
getResponses()
int
getSeverity()
static RSLoginResponse
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RSLoginResponse[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION_TIMED_OUT
public static final RSLoginResponse CONNECTION_TIMED_OUT
-
ERROR_CONNECTING
public static final RSLoginResponse ERROR_CONNECTING
-
FAILED_TO_LOGIN
public static final RSLoginResponse FAILED_TO_LOGIN
-
NO_RESPONSE
public static final RSLoginResponse NO_RESPONSE
-
NOT_LOGGED_OUT
public static final RSLoginResponse NOT_LOGGED_OUT
-
STILL_LOGGED_IN
public static final RSLoginResponse STILL_LOGGED_IN
-
INVALID_LOGIN
public static final RSLoginResponse INVALID_LOGIN
-
DISABLED
public static final RSLoginResponse DISABLED
-
ALREADY_LOGGED_IN
public static final RSLoginResponse ALREADY_LOGGED_IN
-
UPDATED
public static final RSLoginResponse UPDATED
-
FULL_WORLD
public static final RSLoginResponse FULL_WORLD
-
UNABLE_TO_CONNECT
public static final RSLoginResponse UNABLE_TO_CONNECT
-
LOGIN_LIMIT_EXCEEDED
public static final RSLoginResponse LOGIN_LIMIT_EXCEEDED
-
BAD_SESSION
public static final RSLoginResponse BAD_SESSION
-
PASSWORD_KNOWN
public static final RSLoginResponse PASSWORD_KNOWN
-
MEMBERS_WORLD
public static final RSLoginResponse MEMBERS_WORLD
-
MEMBERS_WORLD_2
public static final RSLoginResponse MEMBERS_WORLD_2
-
FAILED_TO_COMPLETE_LOGIN
public static final RSLoginResponse FAILED_TO_COMPLETE_LOGIN
-
SERVER_UPDATED
public static final RSLoginResponse SERVER_UPDATED
-
SERVER_UPDATING
public static final RSLoginResponse SERVER_UPDATING
-
TOO_MANY_ATTEMPTS
public static final RSLoginResponse TOO_MANY_ATTEMPTS
-
TOO_MANY_ATTEMPTS_LAUNCHER
public static final RSLoginResponse TOO_MANY_ATTEMPTS_LAUNCHER
-
MEMBERS_AREA
public static final RSLoginResponse MEMBERS_AREA
-
ACCOUNT_LOCKED
public static final RSLoginResponse ACCOUNT_LOCKED
-
CLOSED_BETA
public static final RSLoginResponse CLOSED_BETA
-
INVALID_LOGIN_SERVER
public static final RSLoginResponse INVALID_LOGIN_SERVER
-
MALFORMED_PACKET
public static final RSLoginResponse MALFORMED_PACKET
-
NO_REPLY
public static final RSLoginResponse NO_REPLY
-
ERROR_LOADING_PROFILE
public static final RSLoginResponse ERROR_LOADING_PROFILE
-
UNEXPECTED_LOGIN_RESPONSE
public static final RSLoginResponse UNEXPECTED_LOGIN_RESPONSE
-
ADDRESS_BLOCKED
public static final RSLoginResponse ADDRESS_BLOCKED
-
SERVICE_UNAVAILABLE
public static final RSLoginResponse SERVICE_UNAVAILABLE
-
SET_DISPLAY_NAME
public static final RSLoginResponse SET_DISPLAY_NAME
-
UNSUCCESSFUL_LOGIN
public static final RSLoginResponse UNSUCCESSFUL_LOGIN
-
INACCESSIBLE
public static final RSLoginResponse INACCESSIBLE
-
VOTE
public static final RSLoginResponse VOTE
-
NOT_ELIGIBLE
public static final RSLoginResponse NOT_ELIGIBLE
-
ENTER_AUTH
public static final RSLoginResponse ENTER_AUTH
-
BAD_AUTH_CODE
public static final RSLoginResponse BAD_AUTH_CODE
-
UNEXPECTED_SERVER_RESPONSE
public static final RSLoginResponse UNEXPECTED_SERVER_RESPONSE
-
CONNECTING_TO_SERVER
public static final RSLoginResponse CONNECTING_TO_SERVER
-
TOTAL_LEVEL
public static final RSLoginResponse TOTAL_LEVEL
-
WORLD_LOCKED
public static final RSLoginResponse WORLD_LOCKED
-
LOGIN_SCREEN
public static final RSLoginResponse LOGIN_SCREEN
-
LOGGED_IN
public static final RSLoginResponse LOGGED_IN
-
-
Method Detail
-
values
public static RSLoginResponse[] 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 (RSLoginResponse c : RSLoginResponse.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RSLoginResponse 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
-
getLoginResponse
public static @NonNull RSLoginResponse getLoginResponse(java.lang.String... responses)
-
getResponses
public java.lang.String[] getResponses()
-
getSeverity
public int getSeverity()
-
-