public class LoginDisconnectPacket extends MinecraftPacket
| Constructor and Description |
|---|
LoginDisconnectPacket(String text,
boolean escape) |
| Modifier and Type | Method and Description |
|---|---|
String |
getReason() |
boolean |
isPriority() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
toStringpublic LoginDisconnectPacket(String text, boolean escape)
public String getReason()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionpublic boolean isPriority()
isPriority in interface com.github.steveice10.packetlib.packet.PacketisPriority in class MinecraftPacketCopyright © 2020. All rights reserved.