Package | Description |
---|---|
com.comphenix.protocol.events |
Modifier and Type | Method and Description |
---|---|
static ListenerOptions |
ListenerOptions.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListenerOptions[] |
ListenerOptions.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ListenerOptions> |
ListeningWhitelist.getOptions()
Retrieve every special option associated with this whitelist.
|
Modifier and Type | Method and Description |
---|---|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.mergeOptions(ListenerOptions... serverOptions)
Options to merge into the current set of options.
|
PacketAdapter.AdapterParameteters |
PacketAdapter.AdapterParameteters.options(ListenerOptions... options)
Set listener options that decide whether or not to intercept the raw packet data as read from the network stream.
|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.options(ListenerOptions[] serverOptions)
Set the options to copy when constructing new whitelists.
|
Modifier and Type | Method and Description |
---|---|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.mergeOptions(java.util.Collection<ListenerOptions> serverOptions)
Options to merge into the current set of options.
|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.options(java.util.Collection<ListenerOptions> options)
Set the options to copy when constructing new whitelists.
|
PacketAdapter.AdapterParameteters |
PacketAdapter.AdapterParameteters.options(java.util.Set<? extends ListenerOptions> options)
Set listener options that decide whether or not to intercept the raw packet data as read from the network stream.
|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.options(java.util.Set<ListenerOptions> options)
Set the options to copy when constructing new whitelists.
|
Constructor and Description |
---|
ListeningWhitelist(ListenerPriority priority,
java.lang.Integer[] whitelist,
GamePhase gamePhase,
ListenerOptions... options)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerOptions[] options,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
ListenerOptions[] options,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority listenerPriority,
java.lang.Iterable<? extends PacketType> types,
ListenerOptions... options)
Initialize a packet listener with the given parameters.
|