public class LoginStartPacket extends MinecraftPacket
| Constructor and Description |
|---|
LoginStartPacket(String username) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUsername() |
boolean |
isPriority() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
toStringpublic LoginStartPacket(String username)
public String getUsername()
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.