UpdateWorldMapSettings

public class UpdateWorldMapSettings implements Packet

Class UpdateWorldMapSettings. Provides updateworldmapsettings functionality for the Hytale server.

java.lang.Object > UpdateWorldMapSettings

Field Summary

enabled

public boolean enabled

Field enabled.

allowTeleportToCoordinates

public boolean allowTeleportToCoordinates

Field allowTeleportToCoordinates.

allowTeleportToMarkers

public boolean allowTeleportToMarkers

Field allowTeleportToMarkers.

defaultScale

public float defaultScale

Field defaultScale.

minScale

public float minScale

Field minScale.

maxScale

public float maxScale

Field maxScale.

obj

final UpdateWorldMapSettings obj

Field obj.

nullBits

final byte nullBits

Field nullBits.

biomeDataMapCount

final int biomeDataMapCount

Field biomeDataMapCount.

key

final short key

Field key.

val

final BiomeData val

Field val.

dictLen

final int dictLen

Field dictLen.

copy

final UpdateWorldMapSettings copy

Field copy.

Method Detail

getId

public int getId ()

Method getId.

UpdateWorldMapSettings

public public UpdateWorldMapSettings ()

Method UpdateWorldMapSettings.

deserialize

static UpdateWorldMapSettings deserialize (@Nonnull final ByteBuf buf, final int offset)

Method deserialize.

Parameters:
@Nonnull final ByteBuf buf
final int offset

computeBytesConsumed

static int computeBytesConsumed (@Nonnull final ByteBuf buf, final int offset)

Method computeBytesConsumed.

Parameters:
@Nonnull final ByteBuf buf
final int offset

serialize

public void serialize (@Nonnull final ByteBuf buf)

Method serialize.

Parameters:
@Nonnull final ByteBuf buf

computeSize

public int computeSize ()

Method computeSize.

validateStructure

static ValidationResult validateStructure (@Nonnull final ByteBuf buffer, final int offset)

Method validateStructure.

Parameters:
@Nonnull final ByteBuf buffer
final int offset

clone

public UpdateWorldMapSettings clone ()

Method clone.

equals

public boolean equals (final Object obj)

Method equals.

Parameters:
final Object obj

hashCode

public int hashCode ()

Method hashCode.