Class WrapperLoginClientCustomPayload
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.login.serverbound.WrapperLoginClientCustomPayload
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperLoginClientCustomPayload
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
getData()
Retrieves the value of field 'data'int
Retrieves the value of field 'transactionId'void
setData
(io.netty.buffer.ByteBuf value) Sets the value of field 'data'void
setTransactionId
(int value) Sets the value of field 'transactionId'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
-
WrapperLoginClientCustomPayload
public WrapperLoginClientCustomPayload() -
WrapperLoginClientCustomPayload
public WrapperLoginClientCustomPayload(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getTransactionId
public int getTransactionId()Retrieves the value of field 'transactionId'- Returns:
- 'transactionId'
-
setTransactionId
public void setTransactionId(int value) Sets the value of field 'transactionId'- Parameters:
value
- New value for field 'transactionId'
-
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'
-