java.io.Serializable
, java.lang.Comparable<ResponseJoinGame.Error>
public static enum ResponseJoinGame.Error extends java.lang.Enum<ResponseJoinGame.Error>
Enum Constant | Description |
---|---|
CANNOT_OPEN_MAP |
|
CHECKSUM_ERROR |
|
FEATURE_UNSUPPORTED |
|
GAME_FULL |
|
INVALID_OBSERVED_PLAYER_ID |
|
LAUNCH_ERROR |
|
MAP_DOES_NOT_EXIST |
|
MISSING_OPTIONS |
|
MISSING_PARTICIPATION |
|
MISSING_PORTS |
|
NETWORK_ERROR |
|
NO_SPACE_FOR_USER |
|
OTHER_ERROR |
Modifier and Type | Method | Description |
---|---|---|
static ResponseJoinGame.Error |
from(SC2APIProtocol.Sc2Api.ResponseJoinGame.Error sc2ApiResponseJoinGameError) |
|
static ResponseJoinGame.Error |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResponseJoinGame.Error[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseJoinGame.Error MISSING_PARTICIPATION
public static final ResponseJoinGame.Error INVALID_OBSERVED_PLAYER_ID
public static final ResponseJoinGame.Error MISSING_OPTIONS
public static final ResponseJoinGame.Error MISSING_PORTS
public static final ResponseJoinGame.Error GAME_FULL
public static final ResponseJoinGame.Error LAUNCH_ERROR
public static final ResponseJoinGame.Error FEATURE_UNSUPPORTED
public static final ResponseJoinGame.Error NO_SPACE_FOR_USER
public static final ResponseJoinGame.Error MAP_DOES_NOT_EXIST
public static final ResponseJoinGame.Error CANNOT_OPEN_MAP
public static final ResponseJoinGame.Error CHECKSUM_ERROR
public static final ResponseJoinGame.Error NETWORK_ERROR
public static final ResponseJoinGame.Error OTHER_ERROR
public static ResponseJoinGame.Error[] values()
for (ResponseJoinGame.Error c : ResponseJoinGame.Error.values()) System.out.println(c);
public static ResponseJoinGame.Error 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 static ResponseJoinGame.Error from(SC2APIProtocol.Sc2Api.ResponseJoinGame.Error sc2ApiResponseJoinGameError)
Copyright © 2017–2018 Ocraft Project. All rights reserved.