public final class PlayerActionCodec extends Object implements com.flowpowered.network.Codec<PlayerActionMessage>
| Constructor and Description |
|---|
PlayerActionCodec() |
| Modifier and Type | Method and Description |
|---|---|
PlayerActionMessage |
decode(io.netty.buffer.ByteBuf buf) |
io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf buf,
PlayerActionMessage message) |
public PlayerActionMessage decode(io.netty.buffer.ByteBuf buf) throws IOException
decode in interface com.flowpowered.network.Codec<PlayerActionMessage>IOExceptionpublic io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf,
PlayerActionMessage message)
throws IOException
encode in interface com.flowpowered.network.Codec<PlayerActionMessage>IOExceptionCopyright © 2021. All rights reserved.