Class WrapperPlayServerMap
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerMap
(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the value of field 'colorPatch'com.comphenix.protocol.events.InternalStructure
Deprecated.Retrieves the value of field 'decorations'boolean
Retrieves the value of field 'locked'int
getMapId()
Retrieves the value of field 'mapId'byte
getScale()
Retrieves the value of field 'scale'void
Sets the value of field 'colorPatch'void
setColorPatchInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.void
Sets the value of field 'decorations'void
setLocked
(boolean value) Sets the value of field 'locked'void
setMapId
(int value) Sets the value of field 'mapId'void
setScale
(byte value) Sets the value of field 'scale'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerMap
public WrapperPlayServerMap()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerMap
public WrapperPlayServerMap(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet- Parameters:
packet
- the packet to wrap
-
-
Method Details
-
getMapId
public int getMapId()Retrieves the value of field 'mapId'- Returns:
- 'mapId'
-
setMapId
public void setMapId(int value) Sets the value of field 'mapId'- Parameters:
value
- New value for field 'mapId'
-
getScale
public byte getScale()Retrieves the value of field 'scale'- Returns:
- 'scale'
-
setScale
public void setScale(byte value) Sets the value of field 'scale'- Parameters:
value
- New value for field 'scale'
-
getLocked
public boolean getLocked()Retrieves the value of field 'locked'- Returns:
- 'locked'
-
setLocked
public void setLocked(boolean value) Sets the value of field 'locked'- Parameters:
value
- New value for field 'locked'
-
getDecorations
Retrieves the value of field 'decorations'- Returns:
- 'decorations'
-
setDecorations
Sets the value of field 'decorations'- Parameters:
value
- New value for field 'decorations'
-
getColorPatchInternal
Deprecated.Retrieves the value of field 'colorPatch'- Returns:
- 'colorPatch'
-
setColorPatchInternal
@Deprecated public void setColorPatchInternal(com.comphenix.protocol.events.InternalStructure value) Deprecated.Sets the value of field 'colorPatch'- Parameters:
value
- New value for field 'colorPatch'
-
getColorPatch
Retrieves the value of field 'colorPatch'- Returns:
- 'colorPatch'
-
setColorPatch
Sets the value of field 'colorPatch'- Parameters:
value
- New value for field 'colorPatch'
-