java.io.Serializable
, java.lang.Comparable<ResponseCreateGame.Error>
public static enum ResponseCreateGame.Error extends java.lang.Enum<ResponseCreateGame.Error>
Enum Constant | Description |
---|---|
INVALID_MAP_DATA |
|
INVALID_MAP_HANDLE |
|
INVALID_MAP_NAME |
|
INVALID_MAP_PATH |
|
INVALID_PLAYER_SETUP |
|
MISSING_MAP |
|
MISSING_PLAYER_SETUP |
|
MULTIPLAYER_UNSUPPORTED |
Modifier and Type | Method | Description |
---|---|---|
static ResponseCreateGame.Error |
from(SC2APIProtocol.Sc2Api.ResponseCreateGame.Error sc2ApiResponseCreateGameError) |
|
static ResponseCreateGame.Error |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResponseCreateGame.Error[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseCreateGame.Error MISSING_MAP
public static final ResponseCreateGame.Error INVALID_MAP_PATH
public static final ResponseCreateGame.Error INVALID_MAP_DATA
public static final ResponseCreateGame.Error INVALID_MAP_NAME
public static final ResponseCreateGame.Error INVALID_MAP_HANDLE
public static final ResponseCreateGame.Error MISSING_PLAYER_SETUP
public static final ResponseCreateGame.Error INVALID_PLAYER_SETUP
public static final ResponseCreateGame.Error MULTIPLAYER_UNSUPPORTED
public static ResponseCreateGame.Error[] values()
for (ResponseCreateGame.Error c : ResponseCreateGame.Error.values()) System.out.println(c);
public static ResponseCreateGame.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 ResponseCreateGame.Error from(SC2APIProtocol.Sc2Api.ResponseCreateGame.Error sc2ApiResponseCreateGameError)
Copyright © 2017–2018 Ocraft Project. All rights reserved.