WorldSavingStatus.java
package com.hypixel.hytale.protocol.packets.interface_;
import com.hypixel.hytale.protocol.Packet;
import com.hypixel.hytale.protocol.io.ValidationResult;
import io.netty.buffer.ByteBuf;
import java.util.Objects;
import javax.annotation.Nonnull;
public class WorldSavingStatus implements Packet {
public static final int PACKET_ID = 233;
public static final boolean IS_COMPRESSED = false;
public static final int NULLABLE_BIT_FIELD_SIZE = 0;
public static final int FIXED_BLOCK_SIZE = 1;
public static final int VARIABLE_FIELD_COUNT ;
;
;
isWorldSaving;
{
;
}
{
}
{
.isWorldSaving = isWorldSaving;
}
{
.isWorldSaving = other.isWorldSaving;
}
WorldSavingStatus {
();
obj.isWorldSaving = buf.getByte(offset + ) != ;
obj;
}
{
;
}
{
buf.writeByte(.isWorldSaving ? : );
}
{
;
}
ValidationResult {
buffer.readableBytes() - offset < ? ValidationResult.error() : ValidationResult.OK;
}
WorldSavingStatus {
();
copy.isWorldSaving = .isWorldSaving;
copy;
}
{
( == obj) {
;
} (obj WorldSavingStatus) {
(WorldSavingStatus)obj;
.isWorldSaving == other.isWorldSaving;
} {
;
}
}
{
Objects.hash( []{.isWorldSaving});
}
}