Class GameInput

java.lang.Object
net.botwithus.rs3.input.GameInput

public final class GameInput extends Object
  • Method Details

    • talk

      public static void talk(String value)
      Talks in the game chat.
      Parameters:
      value - The message to talk in the game chat.
    • setTextInput

      public static void setTextInput(@NotNull @NotNull String value)
      Sets the text input to the given value.
      Parameters:
      value - The string value to set the text input field to.
    • setIntInput

      public static void setIntInput(int value)
      Sets the int input to the given value.
      Parameters:
      value - the value to set the int input to
    • setInputText

      @Deprecated(forRemoval=true) public static void setInputText(String text, int type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setInputValue

      public static void setInputValue(String value, int type)
      Sets the input value.
      Parameters:
      value - The value to set the input to.
      type - The type of input to set (1 or varcstring 2506, 2 for varcstring 2507, 3 for varcstring 2250).