public enum SFSErrorCode extends java.lang.Enum<SFSErrorCode> implements IErrorCode
Modifier and Type | Method and Description |
---|---|
short |
getId() |
static SFSErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SFSErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SFSErrorCode HANDSHAKE_API_OBSOLETE
public static final SFSErrorCode LOGIN_BAD_ZONENAME
public static final SFSErrorCode LOGIN_BAD_USERNAME
public static final SFSErrorCode LOGIN_BAD_PASSWORD
public static final SFSErrorCode LOGIN_BANNED_USER
public static final SFSErrorCode LOGIN_ZONE_FULL
public static final SFSErrorCode LOGIN_ALREADY_LOGGED
public static final SFSErrorCode LOGIN_SERVER_FULL
public static final SFSErrorCode LOGIN_INACTIVE_ZONE
public static final SFSErrorCode LOGIN_NAME_CONTAINS_BAD_WORDS
public static final SFSErrorCode LOGIN_GUEST_NOT_ALLOWED
public static final SFSErrorCode LOGIN_BANNED_IP
public static final SFSErrorCode ROOM_DUPLICATE_NAME
public static final SFSErrorCode CREATE_ROOM_BAD_GROUP
public static final SFSErrorCode ROOM_NAME_BAD_SIZE
public static final SFSErrorCode ROOM_NAME_CONTAINS_BADWORDS
public static final SFSErrorCode CREATE_ROOM_ZONE_FULL
public static final SFSErrorCode CREATE_ROOM_EXCEED_USER_LIMIT
public static final SFSErrorCode CREATE_ROOM_WRONG_PARAMETER
public static final SFSErrorCode JOIN_ALREADY_JOINED
public static final SFSErrorCode JOIN_ROOM_FULL
public static final SFSErrorCode JOIN_BAD_PASSWORD
public static final SFSErrorCode JOIN_BAD_ROOM
public static final SFSErrorCode JOIN_ROOM_LOCKED
public static final SFSErrorCode SUBSCRIBE_GROUP_ALREADY_SUBSCRIBED
public static final SFSErrorCode SUBSCRIBE_GROUP_NOT_FOUND
public static final SFSErrorCode UNSUBSCRIBE_GROUP_NOT_SUBSCRIBED
public static final SFSErrorCode UNSUBSCRIBE_GROUP_NOT_FOUND
public static final SFSErrorCode GENERIC_ERROR
public static final SFSErrorCode ROOM_NAME_CHANGE_PERMISSION_ERR
public static final SFSErrorCode ROOM_PASS_CHANGE_PERMISSION_ERR
public static final SFSErrorCode ROOM_CAPACITY_CHANGE_PERMISSION_ERR
public static final SFSErrorCode SWITCH_NO_PLAYER_SLOTS_AVAILABLE
public static final SFSErrorCode SWITCH_NO_SPECTATOR_SLOTS_AVAILABLE
public static final SFSErrorCode SWITCH_NOT_A_GAME_ROOM
public static final SFSErrorCode SWITCH_NOT_JOINED_IN_ROOM
public static final SFSErrorCode BUDDY_LIST_LOAD_FAILURE
public static final SFSErrorCode BUDDY_LIST_FULL
public static final SFSErrorCode BUDDY_BLOCK_FAILURE
public static final SFSErrorCode BUDDY_TOO_MANY_VARIABLES
public static final SFSErrorCode JOIN_GAME_ACCESS_DENIED
public static final SFSErrorCode JOIN_GAME_NOT_FOUND
public static final SFSErrorCode INVITATION_NOT_VALID
public static SFSErrorCode[] values()
for (SFSErrorCode c : SFSErrorCode.values()) System.out.println(c);
public static SFSErrorCode 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 nullpublic short getId()
getId
in interface IErrorCode