public static enum ProxyQueryEvent.QueryType extends Enum<ProxyQueryEvent.QueryType>
Enum Constant and Description |
---|
BASIC
Basic query asks only a subset of information, such as hostname, game type (hardcoded to
|
FULL
Full query asks pretty much everything present on this event (only hardcoded values cannot be
modified here).
|
Modifier and Type | Method and Description |
---|---|
static ProxyQueryEvent.QueryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyQueryEvent.QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyQueryEvent.QueryType BASIC
MINECRAFT), map, current players, max players, proxy port and proxy hostname.
public static final ProxyQueryEvent.QueryType FULL
public static ProxyQueryEvent.QueryType[] values()
for (ProxyQueryEvent.QueryType c : ProxyQueryEvent.QueryType.values()) System.out.println(c);
public static ProxyQueryEvent.QueryType 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 null