public enum GamePublishSetting extends Enum<GamePublishSetting>
| Enum Constant and Description |
|---|
FRIENDS_OF_FRIENDS |
FRIENDS_ONLY |
INVITE_ONLY |
NO_MULTI_PLAY |
PUBLIC |
| Modifier and Type | Method and Description |
|---|---|
static GamePublishSetting |
byId(int id) |
static GamePublishSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GamePublishSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GamePublishSetting NO_MULTI_PLAY
public static final GamePublishSetting INVITE_ONLY
public static final GamePublishSetting FRIENDS_ONLY
public static final GamePublishSetting FRIENDS_OF_FRIENDS
public static final GamePublishSetting PUBLIC
public static GamePublishSetting[] values()
for (GamePublishSetting c : GamePublishSetting.values()) System.out.println(c);
public static GamePublishSetting 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 static GamePublishSetting byId(int id)
Copyright © 2018–2019 NukkitX. All rights reserved.