public static enum GameID.GameType extends java.lang.Enum<GameID.GameType>
| Enum Constant and Description |
|---|
APP
A Steam application.
|
GAME_MOD
A game modification.
|
P2P
A peer-to-peer file.
|
SHORTCUT
A shortcut to a program.
|
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static GameID.GameType |
from(int code) |
static GameID.GameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameID.GameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameID.GameType APP
public static final GameID.GameType GAME_MOD
public static final GameID.GameType SHORTCUT
public static final GameID.GameType P2P
public static GameID.GameType[] values()
for (GameID.GameType c : GameID.GameType.values()) System.out.println(c);
public static GameID.GameType 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 int code()
public static GameID.GameType from(int code)