Package net.md_5.bungee.protocol.packet
Class Kick
java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.Kick
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(AbstractPacketHandler handler) void
read
(io.netty.buffer.ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) void
write
(io.netty.buffer.ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) Methods inherited from class net.md_5.bungee.protocol.DefinedPacket
equals, hashCode, nextProtocol, read, read, readArray, readArray, readBaseComponent, readBaseComponent, readComponentStyle, readEitherBaseComponent, readEnumSet, readFixedBitSet, readNullable, readNumberFormat, readProperties, readPublicKey, readString, readString, readStringArray, readTag, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, toString, write, write, writeArray, writeBaseComponent, writeComponentStyle, writeEitherBaseComponent, writeEnumSet, writeFixedBitSet, writeNullable, writeNumberFormat, writeProperties, writePublicKey, writeString, writeString, writeStringArray, writeTag, writeUUID, writeVarInt, writeVarShort
-
Constructor Details
-
Kick
public Kick()
-
-
Method Details
-
read
public void read(io.netty.buffer.ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) - Overrides:
read
in classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf, Protocol protocol, ProtocolConstants.Direction direction, int protocolVersion) - Overrides:
write
in classDefinedPacket
-
handle
- Specified by:
handle
in classDefinedPacket
- Throws:
Exception
-