Uses of Enum Class
com.comphenix.protocol.events.ListenerPriority
Packages that use ListenerPriority
-
Uses of ListenerPriority in com.comphenix.protocol.events
Methods in com.comphenix.protocol.events that return ListenerPriorityModifier and TypeMethodDescriptionListeningWhitelist.getPriority()Retrieve the priority in the execution order of the packet listener.PacketOutputAdapter.getPriority()PacketOutputHandler.getPriority()Retrieve the priority that decides the order each network handler is allowed to manipulate the output buffer.static ListenerPriorityReturns the enum constant of this class with the specified name.static ListenerPriority[]ListenerPriority.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.comphenix.protocol.events with parameters of type ListenerPriorityModifier and TypeMethodDescriptionPacketAdapter.AdapterParameteters.listenerPriority(ListenerPriority listenerPriority)Set the the event priority, where the execution is in ascending order from lowest to highest.ListeningWhitelist.Builder.priority(ListenerPriority priority)Set the priority to use when constructing new whitelists.Constructors in com.comphenix.protocol.events with parameters of type ListenerPriorityModifierConstructorDescriptionPacketAdapter(org.bukkit.plugin.Plugin plugin, ListenerPriority listenerPriority, PacketType... types)Initialize a packet listener with the given parameters.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.PacketOutputAdapter(org.bukkit.plugin.Plugin plugin, ListenerPriority priority)Construct a new packet output adapter with the given values. -
Uses of ListenerPriority in com.comphenix.protocol.injector
Methods in com.comphenix.protocol.injector that return ListenerPriorityModifier and TypeMethodDescriptionPrioritizedListener.getPriority()Retrieve the priority of this listener.Methods in com.comphenix.protocol.injector with parameters of type ListenerPriorityModifier and TypeMethodDescriptionvoidSortedPacketListenerList.invokePacketRecieving(ErrorReporter reporter, PacketEvent event, ListenerPriority priorityFilter)Invokes the given packet event for every registered listener of the given priority.voidSortedPacketListenerList.invokePacketSending(ErrorReporter reporter, PacketEvent event, ListenerPriority priorityFilter)Invokes the given packet event for every registered listener of the given priority.Constructors in com.comphenix.protocol.injector with parameters of type ListenerPriorityModifierConstructorDescriptionPrioritizedListener(TListener listener, ListenerPriority priority)