public class CommandOutputSerializer_v291 extends Object implements BedrockPacketSerializer<CommandOutputPacket>
| Modifier and Type | Field and Description |
|---|---|
static CommandOutputSerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
CommandOutputSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockPacketHelper helper,
CommandOutputPacket packet) |
CommandOutputMessage |
readMessage(ByteBuf buffer,
BedrockPacketHelper helper) |
void |
serialize(ByteBuf buffer,
BedrockPacketHelper helper,
CommandOutputPacket packet) |
void |
writeMessage(ByteBuf buffer,
BedrockPacketHelper helper,
CommandOutputMessage outputMessage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializepublic static final CommandOutputSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockPacketHelper helper, CommandOutputPacket packet)
serialize in interface BedrockPacketSerializer<CommandOutputPacket>serialize in interface com.nukkitx.protocol.serializer.PacketSerializer<CommandOutputPacket,BedrockPacketHelper>public void deserialize(ByteBuf buffer, BedrockPacketHelper helper, CommandOutputPacket packet)
deserialize in interface BedrockPacketSerializer<CommandOutputPacket>deserialize in interface com.nukkitx.protocol.serializer.PacketSerializer<CommandOutputPacket,BedrockPacketHelper>public CommandOutputMessage readMessage(ByteBuf buffer, BedrockPacketHelper helper)
public void writeMessage(ByteBuf buffer, BedrockPacketHelper helper, CommandOutputMessage outputMessage)
Copyright © 2018–2021 NukkitX. All rights reserved.