Class ServerboundLoginAcknowledgedPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.login.serverbound.ServerboundLoginAcknowledgedPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Details
-
ServerboundLoginAcknowledgedPacket
public ServerboundLoginAcknowledgedPacket(io.netty.buffer.ByteBuf in) -
ServerboundLoginAcknowledgedPacket
public ServerboundLoginAcknowledgedPacket()
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
isTerminal
public boolean isTerminal()Description copied from interface:PacketReturns whether the packet is terminal. If true, this should be the last packet sent inside a protocol state. Subsequently,Session.setAutoRead(boolean)should be disabled when a terminal packet is received, until the session has switched into a new state and is ready to receive more packets.- Specified by:
isTerminalin interfacePacket- Returns:
- Whether the packet is terminal.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-