Class WrapperPlayClientCustomPayload
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientCustomPayload
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientCustomPayload
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
getData()
Retrieves the value of field 'data'com.comphenix.protocol.wrappers.MinecraftKey
Retrieves the value of field 'identifier'void
setData
(io.netty.buffer.ByteBuf value) Sets the value of field 'data'void
setIdentifier
(com.comphenix.protocol.wrappers.MinecraftKey value) Sets the value of field 'identifier'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 TYPE
-
-
Constructor Details
-
WrapperPlayClientCustomPayload
public WrapperPlayClientCustomPayload() -
WrapperPlayClientCustomPayload
public WrapperPlayClientCustomPayload(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getIdentifier
public com.comphenix.protocol.wrappers.MinecraftKey getIdentifier()Retrieves the value of field 'identifier'- Returns:
- 'identifier'
-
setIdentifier
public void setIdentifier(com.comphenix.protocol.wrappers.MinecraftKey value) Sets the value of field 'identifier'- Parameters:
value
- New value for field 'identifier'
-
getData
public io.netty.buffer.ByteBuf getData()Retrieves the value of field 'data'- Returns:
- 'data'
-
setData
public void setData(io.netty.buffer.ByteBuf value) Sets the value of field 'data'- Parameters:
value
- New value for field 'data'
-