Class MacroHelper.MacroParamRequest

java.lang.Object
com.mouseviator.fsuipc.datarequest.DataRequest
com.mouseviator.fsuipc.helpers.MacroHelper.MacroParamRequest
All Implemented Interfaces:
IDataRequest<java.lang.Integer>, IWriteOnlyRequest<java.lang.Integer>
Enclosing class:
MacroHelper

public static class MacroHelper.MacroParamRequest
extends DataRequest
implements IWriteOnlyRequest<java.lang.Integer>
This class implements macro parameter request. It is an Integer type request, with offset 0x0D6C and is WRITE type. The 0x0D6C offset is being used as parameter for FSUIPC macro execute requests. The value of this request is expected to be an integer in the range of -32768 to 32767 or 0 to 65535 for unsigned values.
  • Constructor Details

    • MacroParamRequest

      public MacroParamRequest​(java.lang.Integer value)
      Creates a new macro parameter request with initial value.
      Parameters:
      value - The parameter for the macro.
  • Method Details

    • setValue

      public void setValue​(java.lang.Integer value)
      Sets the macro parameter.
      Specified by:
      setValue in interface IDataRequest<java.lang.Integer>
      Parameters:
      value - The parameter for the macro.