Class ClientSettingsCodec
java.lang.Object
net.glowstone.net.codec.play.game.ClientSettingsCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<ClientSettingsMessage>
public final class ClientSettingsCodec
extends Object
implements com.flowpowered.network.Codec<ClientSettingsMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowpowered.network.Codec
com.flowpowered.network.Codec.CodecRegistration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(io.netty.buffer.ByteBuf buf) io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf buf, ClientSettingsMessage message)
-
Constructor Details
-
ClientSettingsCodec
public ClientSettingsCodec()
-
-
Method Details
-
decode
- Specified by:
decodein interfacecom.flowpowered.network.Codec<ClientSettingsMessage>- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, ClientSettingsMessage message) throws IOException - Specified by:
encodein interfacecom.flowpowered.network.Codec<ClientSettingsMessage>- Throws:
IOException
-