OSRS Plugin API
    Preparing search index...

    Type Alias KeyTypeCallback

    KeyTypeCallback: (keycode: number) => void

    The callback for Events.KEY_TYPE event.

    Type Declaration

      • (keycode: number): void
      • Parameters

        • keycode: number

          the keycode of the unicode character that was typed.

        Returns void