public class EncryptionRequestPacket extends MinecraftPacket
| Constructor and Description |
|---|
EncryptionRequestPacket(String serverId,
PublicKey publicKey,
byte[] verifyToken) |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
getPublicKey() |
String |
getServerId() |
byte[] |
getVerifyToken() |
boolean |
isPriority() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
toStringpublic String getServerId()
public PublicKey getPublicKey()
public byte[] getVerifyToken()
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.