public static enum GameModeFavoriteEntry.Type extends java.lang.Enum<GameModeFavoriteEntry.Type> implements FavoriteEntryType<GameModeFavoriteEntry>
FavoriteEntryType.Registry, FavoriteEntryType.Section| Enum Constant and Description |
|---|
INSTANCE |
ENTRY_STACK| Modifier and Type | Method and Description |
|---|---|
@NotNull GameModeFavoriteEntry |
fromArgs(java.lang.Object... args) |
@NotNull GameModeFavoriteEntry |
fromJson(@NotNull com.google.gson.JsonObject object) |
@NotNull com.google.gson.JsonObject |
toJson(@NotNull GameModeFavoriteEntry entry,
@NotNull com.google.gson.JsonObject object) |
static GameModeFavoriteEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameModeFavoriteEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfregistrypublic static final GameModeFavoriteEntry.Type INSTANCE
public static GameModeFavoriteEntry.Type[] values()
for (GameModeFavoriteEntry.Type c : GameModeFavoriteEntry.Type.values()) System.out.println(c);
public static GameModeFavoriteEntry.Type 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 null@NotNull public @NotNull GameModeFavoriteEntry fromJson(@NotNull @NotNull com.google.gson.JsonObject object)
fromJson in interface FavoriteEntryType<GameModeFavoriteEntry>@NotNull public @NotNull GameModeFavoriteEntry fromArgs(java.lang.Object... args)
fromArgs in interface FavoriteEntryType<GameModeFavoriteEntry>@NotNull
public @NotNull com.google.gson.JsonObject toJson(@NotNull
@NotNull GameModeFavoriteEntry entry,
@NotNull
@NotNull com.google.gson.JsonObject object)
toJson in interface FavoriteEntryType<GameModeFavoriteEntry>