public class AdventureSettingsSerializer_v291 extends Object implements BedrockPacketSerializer<AdventureSettingsPacket>
| Modifier and Type | Field and Description |
|---|---|
static AdventureSettingsSerializer_v291 |
INSTANCE |
| Constructor and Description |
|---|
AdventureSettingsSerializer_v291() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuf buffer,
BedrockPacketHelper helper,
AdventureSettingsPacket packet) |
protected static void |
readFlags(int flags,
AdventureSetting[] mappings,
Set<AdventureSetting> settings) |
void |
serialize(ByteBuf buffer,
BedrockPacketHelper helper,
AdventureSettingsPacket packet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializepublic static final AdventureSettingsSerializer_v291 INSTANCE
public void serialize(ByteBuf buffer, BedrockPacketHelper helper, AdventureSettingsPacket packet)
serialize in interface BedrockPacketSerializer<AdventureSettingsPacket>serialize in interface com.nukkitx.protocol.serializer.PacketSerializer<AdventureSettingsPacket,BedrockPacketHelper>public void deserialize(ByteBuf buffer, BedrockPacketHelper helper, AdventureSettingsPacket packet)
deserialize in interface BedrockPacketSerializer<AdventureSettingsPacket>deserialize in interface com.nukkitx.protocol.serializer.PacketSerializer<AdventureSettingsPacket,BedrockPacketHelper>protected static void readFlags(int flags,
AdventureSetting[] mappings,
Set<AdventureSetting> settings)
Copyright © 2018–2023 NukkitX. All rights reserved.