public class LoginHelloC2SPacket extends Object implements Packet<ServerLoginPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private com.mojang.authlib.GameProfile |
profile |
| Constructor and Description |
|---|
LoginHelloC2SPacket() |
LoginHelloC2SPacket(com.mojang.authlib.GameProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ServerLoginPacketListener serverLoginPacketListener) |
com.mojang.authlib.GameProfile |
getProfile() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippablepublic LoginHelloC2SPacket()
public LoginHelloC2SPacket(com.mojang.authlib.GameProfile profile)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ServerLoginPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ServerLoginPacketListener>IOExceptionpublic void apply(ServerLoginPacketListener serverLoginPacketListener)
apply in interface Packet<ServerLoginPacketListener>public com.mojang.authlib.GameProfile getProfile()