public enum GameType extends Enum<GameType>
A game type is selected when creating a game.
Enum Constant and Description |
---|
Capture_The_Flag |
Custom |
Free_For_All |
Greed |
Iron_Man_Ladder |
Ladder |
Melee |
None |
One_on_One |
Pro_Gamer_League |
Slaughter |
Sudden_Death |
Team_Capture_The_Flag |
Team_Free_For_All |
Team_Melee |
Top_vs_Bottom |
Unknown |
Unknown_0x0E |
Use_Map_Settings |
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static GameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameType None
public static final GameType Custom
public static final GameType Melee
public static final GameType Free_For_All
public static final GameType One_on_One
public static final GameType Capture_The_Flag
public static final GameType Greed
public static final GameType Slaughter
public static final GameType Sudden_Death
public static final GameType Ladder
public static final GameType Use_Map_Settings
public static final GameType Team_Melee
public static final GameType Team_Free_For_All
public static final GameType Team_Capture_The_Flag
public static final GameType Unknown_0x0E
public static final GameType Top_vs_Bottom
public static final GameType Iron_Man_Ladder
public static final GameType Pro_Gamer_League
public static final GameType Unknown
public static GameType[] values()
for (GameType c : GameType.values()) System.out.println(c);
public static GameType 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 nullCopyright © 2022. All rights reserved.