api: add key script event fields

This commit is contained in:
Adam
2020-04-19 12:56:33 -04:00
parent 57072c973f
commit 1e06b4dc58

View File

@@ -66,4 +66,18 @@ public interface ScriptEvent
* Parent relative x coordinate for mouse related events
*/
int getMouseX();
/**
* Jagex typed keycode
*
* @return
*/
int getTypedKeyCode();
/**
* Get the typed character, ascii.
*
* @return
*/
int getTypedKeyChar();
}