Class WrapperLoginServerEncryptionBegin

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.login.clientbound.WrapperLoginServerEncryptionBegin

public class WrapperLoginServerEncryptionBegin extends AbstractPacket
  • 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

      public String getServerId()
      Retrieves the value of field 'serverId'
      Returns:
      'serverId'
    • setServerId

      public void setServerId(String value)
      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'