public static enum PlayerPreLoginEvent.Result extends Enum<PlayerPreLoginEvent.Result>
| Enum Constant and Description |
|---|
BANNED |
DISCONNECTED |
NOT_WHITELISTED |
| Modifier and Type | Method and Description |
|---|---|
DisconnectMessage |
getDisconnectMessage() |
static PlayerPreLoginEvent.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerPreLoginEvent.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerPreLoginEvent.Result DISCONNECTED
public static final PlayerPreLoginEvent.Result BANNED
public static final PlayerPreLoginEvent.Result NOT_WHITELISTED
public static PlayerPreLoginEvent.Result[] values()
for (PlayerPreLoginEvent.Result c : PlayerPreLoginEvent.Result.values()) System.out.println(c);
public static PlayerPreLoginEvent.Result 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 DisconnectMessage getDisconnectMessage()
Copyright © 2017–2018 NukkitX. All rights reserved.