Class WrapperPlayServerGameStateChange

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerGameStateChange

public class WrapperPlayServerGameStateChange extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerGameStateChange

      public WrapperPlayServerGameStateChange()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerGameStateChange

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

    • getEvent

      public Integer getEvent()
      Retrieves the value of field 'event'
      Returns:
      'event'
    • setEvent

      public void setEvent(Integer value)
      Sets the value of field 'event'
      Parameters:
      value - New value for field 'event'
    • getParam

      public float getParam()
      Retrieves the value of field 'param'
      Returns:
      'param'
    • setParam

      public void setParam(float value)
      Sets the value of field 'param'
      Parameters:
      value - New value for field 'param'