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