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