public enum PlayerInjectHooks extends Enum<PlayerInjectHooks>
| Enum Constant and Description |
|---|
NETWORK_HANDLER_FIELDS
Override the packet queue lists in NetworkHandler.
|
NETWORK_MANAGER_OBJECT
Override the network handler object itself.
|
NETWORK_SERVER_OBJECT
Override the server handler object.
|
NONE
The injection hook that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
static PlayerInjectHooks |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerInjectHooks[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerInjectHooks NONE
public static final PlayerInjectHooks NETWORK_MANAGER_OBJECT
Cannot intercept MapChunk packets.
public static final PlayerInjectHooks NETWORK_HANDLER_FIELDS
Cannot intercept MapChunk packets.
public static final PlayerInjectHooks NETWORK_SERVER_OBJECT
public static PlayerInjectHooks[] values()
for (PlayerInjectHooks c : PlayerInjectHooks.values()) System.out.println(c);
public static PlayerInjectHooks 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 © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.