public static enum HandshakeHandler.ResultType extends Enum<HandshakeHandler.ResultType>
| Enum Constant and Description |
|---|
EXCEPTION |
INVALID_DATA_LENGTH |
NOT_FLOODGATE_DATA |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static HandshakeHandler.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandshakeHandler.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandshakeHandler.ResultType EXCEPTION
public static final HandshakeHandler.ResultType NOT_FLOODGATE_DATA
public static final HandshakeHandler.ResultType INVALID_DATA_LENGTH
public static final HandshakeHandler.ResultType SUCCESS
public static HandshakeHandler.ResultType[] values()
for (HandshakeHandler.ResultType c : HandshakeHandler.ResultType.values()) System.out.println(c);
public static HandshakeHandler.ResultType 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 © 2020 GeyserMC. All rights reserved.