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, wait
isWritingErrorSkippable
public LoginHelloC2SPacket()
public LoginHelloC2SPacket(com.mojang.authlib.GameProfile profile)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ServerLoginPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ServerLoginPacketListener>
IOException
public void apply(ServerLoginPacketListener serverLoginPacketListener)
apply
in interface Packet<ServerLoginPacketListener>
public com.mojang.authlib.GameProfile getProfile()