api: add arguments and mousey to scriptevent
This commit is contained in:
@@ -53,6 +53,12 @@ public interface ScriptEvent
|
||||
*/
|
||||
ScriptEvent setSource(Widget widget);
|
||||
|
||||
/**
|
||||
* Arguments passed to the script. Index 0 is the script being run and is not an argument.
|
||||
* @return
|
||||
*/
|
||||
Object[] getArguments();
|
||||
|
||||
/**
|
||||
* Gets the menu index of the event
|
||||
*
|
||||
@@ -73,6 +79,11 @@ public interface ScriptEvent
|
||||
*/
|
||||
int getMouseX();
|
||||
|
||||
/**
|
||||
* Parent relative y coordinate for mouse related events
|
||||
*/
|
||||
int getMouseY();
|
||||
|
||||
/**
|
||||
* Jagex typed keycode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user