| Constructor and Description |
|---|
BufferedPacket(Class<? extends Packet> packetClass,
byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Packet> |
getPacketClass() |
boolean |
isPriority()
Gets whether the packet has handling priority.
|
void |
write(NetOutput out)
Writes the packet to the given output buffer.
|
public void write(NetOutput out) throws IOException
Packetwrite in interface Packetout - The output destination to write to.IOException - If an I/O error occurs.public boolean isPriority()
PacketisPriority in interface PacketCopyright © 2022. All rights reserved.