| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.injector |
| Modifier and Type | Method and Description |
|---|---|
ListenerPriority |
PacketOutputHandler.getPriority()
Retrieve the priority that decides the order each network handler is allowed to manipulate the output buffer.
|
ListenerPriority |
PacketOutputAdapter.getPriority() |
ListenerPriority |
ListeningWhitelist.getPriority()
Retrieve the priority in the execution order of the packet listener.
|
static ListenerPriority |
ListenerPriority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerPriority[] |
ListenerPriority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
PacketAdapter.AdapterParameteters |
PacketAdapter.AdapterParameteters.listenerPriority(ListenerPriority listenerPriority)
Set the the event priority, where the execution is in ascending order from lowest to highest.
|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.priority(ListenerPriority priority)
Set the priority to use when constructing new whitelists.
|
| Constructor and Description |
|---|
ListeningWhitelist(ListenerPriority priority,
Integer... whitelist)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
Integer[] whitelist,
GamePhase gamePhase)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
Integer[] whitelist,
GamePhase gamePhase,
ListenerOptions... options)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
Set<Integer> whitelist)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
Set<Integer> whitelist,
GamePhase gamePhase)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
ListenerOptions[] options,
Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
Set<Integer> packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
Set<Integer> packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority listenerPriority,
Iterable<? extends PacketType> types)
Initialize a packet listener with the given parameters.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority listenerPriority,
Iterable<? extends PacketType> types,
ListenerOptions... options)
Initialize a packet listener with the given parameters.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority listenerPriority,
PacketType... types)
Initialize a packet listener with the given parameters.
|
PacketOutputAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority priority)
Construct a new packet output adapter with the given values.
|
| Modifier and Type | Method and Description |
|---|---|
ListenerPriority |
PrioritizedListener.getPriority()
Retrieve the priority of this listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SortedPacketListenerList.invokePacketRecieving(ErrorReporter reporter,
PacketEvent event,
ListenerPriority priorityFilter)
Invokes the given packet event for every registered listener of the given priority.
|
void |
SortedPacketListenerList.invokePacketSending(ErrorReporter reporter,
PacketEvent event,
ListenerPriority priorityFilter)
Invokes the given packet event for every registered listener of the given priority.
|
| Constructor and Description |
|---|
PrioritizedListener(TListener listener,
ListenerPriority priority) |
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.