Class WrapperLoginServerEncryptionBegin
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.login.clientbound.WrapperLoginServerEncryptionBegin
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperLoginServerEncryptionBegin
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Retrieves the value of field 'challenge'byte[]
Retrieves the value of field 'publicKey'Retrieves the value of field 'serverId'void
setChallenge
(byte[] value) Sets the value of field 'challenge'void
setPublicKey
(byte[] value) Sets the value of field 'publicKey'void
setServerId
(String value) Sets the value of field 'serverId'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
-
WrapperLoginServerEncryptionBegin
public WrapperLoginServerEncryptionBegin() -
WrapperLoginServerEncryptionBegin
public WrapperLoginServerEncryptionBegin(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getServerId
Retrieves the value of field 'serverId'- Returns:
- 'serverId'
-
setServerId
Sets the value of field 'serverId'- Parameters:
value
- New value for field 'serverId'
-
getPublicKey
public byte[] getPublicKey()Retrieves the value of field 'publicKey'- Returns:
- 'publicKey'
-
setPublicKey
public void setPublicKey(byte[] value) Sets the value of field 'publicKey'- Parameters:
value
- New value for field 'publicKey'
-
getChallenge
public byte[] getChallenge()Retrieves the value of field 'challenge'- Returns:
- 'challenge'
-
setChallenge
public void setChallenge(byte[] value) Sets the value of field 'challenge'- Parameters:
value
- New value for field 'challenge'
-