Enum LoginEvent.Response
- java.lang.Object
-
- java.lang.Enum<LoginEvent.Response>
-
- net.storm.sdk.script.blocking_events.LoginEvent.Response
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LoginEvent.Response>
- Enclosing class:
- LoginEvent
public static enum LoginEvent.Response extends java.lang.Enum<LoginEvent.Response>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoginEvent.Response
forCode(int code)
static LoginEvent.Response
forMessage(java.lang.String contained)
java.lang.String
getMessage()
static LoginEvent.Response
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LoginEvent.Response[]
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 LoginEvent.Response CONNECTION_TIMED_OUT
-
ERROR_CONNECTING
public static final LoginEvent.Response ERROR_CONNECTING
-
NO_SERVER_RESPONSE
public static final LoginEvent.Response NO_SERVER_RESPONSE
-
INVALID_CREDENTIALS
public static final LoginEvent.Response INVALID_CREDENTIALS
-
ACCOUNT_DISABLED
public static final LoginEvent.Response ACCOUNT_DISABLED
-
ACCOUNT_NOT_LOGGED_OUT
public static final LoginEvent.Response ACCOUNT_NOT_LOGGED_OUT
-
RUNESCAPE_UPDATE
public static final LoginEvent.Response RUNESCAPE_UPDATE
-
WORLD_FULL
public static final LoginEvent.Response WORLD_FULL
-
LOGIN_SERVER_OFFLINE
public static final LoginEvent.Response LOGIN_SERVER_OFFLINE
-
LOGIN_LIMIT
public static final LoginEvent.Response LOGIN_LIMIT
-
BAD_SESSION_ID
public static final LoginEvent.Response BAD_SESSION_ID
-
ACCOUNT_STOLEN
public static final LoginEvent.Response ACCOUNT_STOLEN
-
MEMBERSHIP_REQUIRED
public static final LoginEvent.Response MEMBERSHIP_REQUIRED
-
COULD_NOT_COMPLETE
public static final LoginEvent.Response COULD_NOT_COMPLETE
-
SERVER_BEING_UPDATED
public static final LoginEvent.Response SERVER_BEING_UPDATED
-
TOO_MANY_ATTEMPTS
public static final LoginEvent.Response TOO_MANY_ATTEMPTS
-
MEMBERS_ONLY_AREA
public static final LoginEvent.Response MEMBERS_ONLY_AREA
-
ACCOUNT_LOCKED
public static final LoginEvent.Response ACCOUNT_LOCKED
-
WORLD_CLOSED_BETA
public static final LoginEvent.Response WORLD_CLOSED_BETA
-
INVALID_LOGIN_SERVER
public static final LoginEvent.Response INVALID_LOGIN_SERVER
-
MALFORMED_LOGIN_PACKET
public static final LoginEvent.Response MALFORMED_LOGIN_PACKET
-
NO_SERVER_REPLY
public static final LoginEvent.Response NO_SERVER_REPLY
-
ERROR_LOADING_PROFILE
public static final LoginEvent.Response ERROR_LOADING_PROFILE
-
UNEXPECTED_SERVER_RESPONSE
public static final LoginEvent.Response UNEXPECTED_SERVER_RESPONSE
-
COMPUTER_ADDRESS_BLOCKED
public static final LoginEvent.Response COMPUTER_ADDRESS_BLOCKED
-
SERVICE_UNAVAILABLE
public static final LoginEvent.Response SERVICE_UNAVAILABLE
-
NO_DISPLAY_NAME_SET
public static final LoginEvent.Response NO_DISPLAY_NAME_SET
-
UNSUCCESSFUL_ACCOUNT_LOGIN_ATTEMPT
public static final LoginEvent.Response UNSUCCESSFUL_ACCOUNT_LOGIN_ATTEMPT
-
ACCOUNT_INACCESSIBLE
public static final LoginEvent.Response ACCOUNT_INACCESSIBLE
-
VOTE_REQUIRED
public static final LoginEvent.Response VOTE_REQUIRED
-
ENTER_AUTH
public static final LoginEvent.Response ENTER_AUTH
-
INCORRECT_AUTH_CODE
public static final LoginEvent.Response INCORRECT_AUTH_CODE
-
RUNESCAPE_UPDATE_2
public static final LoginEvent.Response RUNESCAPE_UPDATE_2
-
-
Method Detail
-
values
public static LoginEvent.Response[] 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 (LoginEvent.Response c : LoginEvent.Response.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoginEvent.Response 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
-
forCode
public static LoginEvent.Response forCode(int code)
-
forMessage
public static LoginEvent.Response forMessage(java.lang.String contained)
-
getMessage
public java.lang.String getMessage()
-
-