Package net.runelite.api.events
Class ScriptPreFired
- java.lang.Object
-
- net.runelite.api.events.ScriptPreFired
-
public class ScriptPreFired extends Object
An event that is fired before the designated script is ran
-
-
Constructor Summary
Constructors Constructor Description ScriptPreFired(int scriptId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ScriptEventgetScriptEvent()The input of the script invoke, this will be null unless it is the root scriptintgetScriptId()The script id of the invoked scriptinthashCode()voidsetScriptEvent(ScriptEvent scriptEvent)The input of the script invoke, this will be null unless it is the root scriptStringtoString()
-
-
-
Method Detail
-
getScriptId
public int getScriptId()
The script id of the invoked script
-
getScriptEvent
public ScriptEvent getScriptEvent()
The input of the script invoke, this will be null unless it is the root script
-
setScriptEvent
public void setScriptEvent(ScriptEvent scriptEvent)
The input of the script invoke, this will be null unless it is the root script
-
canEqual
protected boolean canEqual(Object other)
-
-