Class WrapperHandshakingClientSetProtocol

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.handshaking.WrapperHandshakingClientSetProtocol

public class WrapperHandshakingClientSetProtocol extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperHandshakingClientSetProtocol

      public WrapperHandshakingClientSetProtocol()
    • WrapperHandshakingClientSetProtocol

      public WrapperHandshakingClientSetProtocol(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getProtocolVersion

      public int getProtocolVersion()
      Retrieves the value of field 'protocolVersion'
      Returns:
      'protocolVersion'
    • setProtocolVersion

      public void setProtocolVersion(int value)
      Sets the value of field 'protocolVersion'
      Parameters:
      value - New value for field 'protocolVersion'
    • getHostName

      public String getHostName()
      Retrieves the value of field 'hostName'
      Returns:
      'hostName'
    • setHostName

      public void setHostName(String value)
      Sets the value of field 'hostName'
      Parameters:
      value - New value for field 'hostName'
    • getPort

      public int getPort()
      Retrieves the value of field 'port'
      Returns:
      'port'
    • setPort

      public void setPort(int value)
      Sets the value of field 'port'
      Parameters:
      value - New value for field 'port'
    • getIntention

      public com.comphenix.protocol.PacketType.Protocol getIntention()
      Retrieves the value of field 'intention'
      Returns:
      'intention'
    • setIntention

      public void setIntention(com.comphenix.protocol.PacketType.Protocol value)
      Sets the value of field 'intention'
      Parameters:
      value - New value for field 'intention'