public class PacketViolationWarningSerializer_v407 extends java.lang.Object implements BedrockPacketSerializer<PacketViolationWarningPacket>
| Modifier and Type | Field and Description |
|---|---|
static PacketViolationWarningSerializer_v407 |
INSTANCE |
protected static PacketViolationSeverity[] |
SEVERITIES |
protected static PacketViolationType[] |
TYPES |
| Modifier | Constructor and Description |
|---|---|
protected |
PacketViolationWarningSerializer_v407() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
PacketViolationWarningPacket packet) |
void |
serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
PacketViolationWarningPacket packet) |
public static final PacketViolationWarningSerializer_v407 INSTANCE
protected static final PacketViolationType[] TYPES
protected static final PacketViolationSeverity[] SEVERITIES
protected PacketViolationWarningSerializer_v407()
public void serialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
PacketViolationWarningPacket packet)
serialize in interface BedrockPacketSerializer<PacketViolationWarningPacket>public void deserialize(io.netty.buffer.ByteBuf buffer,
BedrockCodecHelper helper,
PacketViolationWarningPacket packet)
deserialize in interface BedrockPacketSerializer<PacketViolationWarningPacket>