public class ScriptCustomEventSerializer_v291 extends Object implements BedrockPacketSerializer<ScriptCustomEventPacket>
| Modifier and Type | Field and Description |
|---|---|
static ScriptCustomEventSerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
ScriptCustomEventSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockPacketHelper helper,
ScriptCustomEventPacket packet) |
void |
serialize(ByteBuf buffer,
BedrockPacketHelper helper,
ScriptCustomEventPacket packet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializepublic static final ScriptCustomEventSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockPacketHelper helper, ScriptCustomEventPacket packet)
serialize in interface BedrockPacketSerializer<ScriptCustomEventPacket>serialize in interface com.nukkitx.protocol.serializer.PacketSerializer<ScriptCustomEventPacket,BedrockPacketHelper>public void deserialize(ByteBuf buffer, BedrockPacketHelper helper, ScriptCustomEventPacket packet)
deserialize in interface BedrockPacketSerializer<ScriptCustomEventPacket>deserialize in interface com.nukkitx.protocol.serializer.PacketSerializer<ScriptCustomEventPacket,BedrockPacketHelper>Copyright © 2018–2021 NukkitX. All rights reserved.