Class ScriptPreFired
- java.lang.Object
-
- net.eternalclient.api.listeners.cs2.ScriptPreFired
-
public final class ScriptPreFired extends java.lang.Object
An event that is fired before the designated script is ran
-
-
Constructor Summary
Constructors Constructor Description ScriptPreFired(int scriptId, RSScriptEvent scriptEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
RSScriptEvent
getScriptEvent()
The input of the script invoke, this will be null unless it is the root scriptint
getScriptId()
The script id of the invoked scriptint
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ScriptPreFired
public ScriptPreFired(int scriptId, RSScriptEvent scriptEvent)
-
-
Method Detail
-
getScriptId
public int getScriptId()
The script id of the invoked script
-
getScriptEvent
public RSScriptEvent getScriptEvent()
The input of the script invoke, this will be null unless it is the root script
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-