Package | Description |
---|---|
com.comphenix.protocol.events | |
com.comphenix.protocol.injector |
Modifier and Type | Method and Description |
---|---|
ListenerPriority |
PacketOutputAdapter.getPriority() |
ListenerPriority |
PacketOutputHandler.getPriority()
Retrieve the priority that decides the order each network handler is allowed to manipulate the output buffer.
|
ListenerPriority |
ListeningWhitelist.getPriority()
Retrieve the priority in the execution order of the packet listener.
|
static ListenerPriority |
ListenerPriority.valueOf(java.lang.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,
java.lang.Integer... whitelist)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
java.lang.Integer[] whitelist,
GamePhase gamePhase)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
java.lang.Integer[] whitelist,
GamePhase gamePhase,
ListenerOptions... options)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
java.util.Set<java.lang.Integer> whitelist)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
java.util.Set<java.lang.Integer> whitelist,
GamePhase gamePhase)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
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,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.util.Set<java.lang.Integer> packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority listenerPriority,
java.lang.Iterable<? extends PacketType> types)
Initialize a packet listener with the given parameters.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority listenerPriority,
java.lang.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) |