| Package | Description |
|---|---|
| com.comphenix.protocol.events |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledPacket |
ScheduledPacket.fromFiltered(PacketContainer packet,
org.bukkit.entity.Player target)
Construct a new scheduled packet that will be processed by any packet listeners.
|
static ScheduledPacket |
ScheduledPacket.fromSilent(PacketContainer packet,
org.bukkit.entity.Player target)
Construct a new scheduled packet that will not be processed by any packet listeners (except MONITOR).
|
| Modifier and Type | Method and Description |
|---|---|
List<ScheduledPacket> |
NetworkMarker.getScheduledPackets()
Retrieve a list of packets that will be schedule (in-order) when the current packet has been successfully transmitted.
|
static List<ScheduledPacket> |
NetworkMarker.readScheduledPackets(NetworkMarker marker)
Retrieve the scheduled packets of a particular network marker without constructing the list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PacketEvent.schedule(ScheduledPacket scheduled)
Schedule a packet for sending or receiving after the current packet event is successful.
|
boolean |
PacketEvent.unschedule(ScheduledPacket scheduled)
Unschedule a specific packet.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.