Class WrapperLoginServerCustomPayload
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.login.clientbound.WrapperLoginServerCustomPayload
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperLoginServerCustomPayload
(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'int
Retrieves the value of field 'transactionId'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'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
-
WrapperLoginServerCustomPayload
public WrapperLoginServerCustomPayload() -
WrapperLoginServerCustomPayload
public WrapperLoginServerCustomPayload(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'
-
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'
-