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