public class ServerScriptDebugDrawerSerializer_v818 extends java.lang.Object implements BedrockPacketSerializer<ServerScriptDebugDrawerPacket>
| Modifier and Type | Field and Description |
|---|---|
static ServerScriptDebugDrawerSerializer_v818 |
INSTANCE |
protected static java.util.function.Function<io.netty.buffer.ByteBuf,java.awt.Color> |
READ_COLOR |
protected static java.util.function.BiFunction<io.netty.buffer.ByteBuf,BedrockCodecHelper,java.lang.String> |
READ_STRING |
protected static java.util.function.BiFunction<io.netty.buffer.ByteBuf,BedrockCodecHelper,org.cloudburstmc.math.vector.Vector3f> |
READ_VECTOR3F |
protected static DebugShape.Type[] |
SHAPE_TYPES |
protected static java.util.function.BiConsumer<io.netty.buffer.ByteBuf,java.awt.Color> |
WRITE_COLOR |
protected static org.cloudburstmc.protocol.common.util.TriConsumer<io.netty.buffer.ByteBuf,BedrockCodecHelper,java.lang.String> |
WRITE_STRING |
protected static org.cloudburstmc.protocol.common.util.TriConsumer<io.netty.buffer.ByteBuf,BedrockCodecHelper,org.cloudburstmc.math.vector.Vector3f> |
WRITE_VECTOR3F |
| Constructor and Description |
|---|
ServerScriptDebugDrawerSerializer_v818() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
ServerScriptDebugDrawerPacket packet) |
protected DebugShape |
readShape(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper) |
void |
serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
ServerScriptDebugDrawerPacket packet) |
protected void |
writeShape(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
DebugShape shape) |
public static final ServerScriptDebugDrawerSerializer_v818 INSTANCE
protected static final DebugShape.Type[] SHAPE_TYPES
protected static final org.cloudburstmc.protocol.common.util.TriConsumer<io.netty.buffer.ByteBuf,BedrockCodecHelper,org.cloudburstmc.math.vector.Vector3f> WRITE_VECTOR3F
protected static final java.util.function.BiConsumer<io.netty.buffer.ByteBuf,java.awt.Color> WRITE_COLOR
protected static final org.cloudburstmc.protocol.common.util.TriConsumer<io.netty.buffer.ByteBuf,BedrockCodecHelper,java.lang.String> WRITE_STRING
protected static final java.util.function.BiFunction<io.netty.buffer.ByteBuf,BedrockCodecHelper,org.cloudburstmc.math.vector.Vector3f> READ_VECTOR3F
protected static final java.util.function.Function<io.netty.buffer.ByteBuf,java.awt.Color> READ_COLOR
protected static final java.util.function.BiFunction<io.netty.buffer.ByteBuf,BedrockCodecHelper,java.lang.String> READ_STRING
public ServerScriptDebugDrawerSerializer_v818()
public void serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
ServerScriptDebugDrawerPacket packet)
serialize in interface BedrockPacketSerializer<ServerScriptDebugDrawerPacket>public void deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
ServerScriptDebugDrawerPacket packet)
deserialize in interface BedrockPacketSerializer<ServerScriptDebugDrawerPacket>protected void writeShape(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
DebugShape shape)
protected DebugShape readShape(io.netty.buffer.ByteBuf buffer, BedrockCodecHelper helper)