public enum GameCheckCode extends Enum<GameCheckCode>
| Enum Constant and Description |
|---|
LOC_NOT_SET_ERROR |
NO_ITEMSHOP_CATEGORIES |
NO_LOBBY_SET |
NO_MAIN_LOBBY_SET |
NO_RES_SPAWNER_ERROR |
OK |
TEAM_NO_WRONG_BED |
TEAM_NO_WRONG_TARGET |
TEAM_SIZE_LOW_ERROR |
TEAMS_WITHOUT_SPAWNS |
| Modifier and Type | Field and Description |
|---|---|
static HashMap<String,String> |
GameCheckCodeMessages |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getCodeMessage() |
String |
getCodeMessage(com.google.common.collect.ImmutableMap<String,String> map) |
static GameCheckCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameCheckCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameCheckCode OK
public static final GameCheckCode LOC_NOT_SET_ERROR
public static final GameCheckCode TEAM_SIZE_LOW_ERROR
public static final GameCheckCode NO_RES_SPAWNER_ERROR
public static final GameCheckCode NO_LOBBY_SET
public static final GameCheckCode TEAMS_WITHOUT_SPAWNS
public static final GameCheckCode NO_ITEMSHOP_CATEGORIES
public static final GameCheckCode TEAM_NO_WRONG_BED
public static final GameCheckCode NO_MAIN_LOBBY_SET
public static final GameCheckCode TEAM_NO_WRONG_TARGET
public static GameCheckCode[] values()
for (GameCheckCode c : GameCheckCode.values()) System.out.println(c);
public static GameCheckCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public String getCodeMessage(com.google.common.collect.ImmutableMap<String,String> map)
public String getCodeMessage()
Copyright © 2017. All rights reserved.