Package net.md_5.bungee.protocol.packet
Class Commands
java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.Commands
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(AbstractPacketHandler handler) void
read
(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) void
write
(io.netty.buffer.ByteBuf buf, 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
-
Commands
public Commands()
-
-
Method Details
-
read
public void read(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) - Overrides:
read
in classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) - Overrides:
write
in classDefinedPacket
-
handle
- Specified by:
handle
in classDefinedPacket
- Throws:
Exception
-