java.lang.Object
net.botwithus.rs3.script.ScriptController
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidstatic ImmutableScriptstatic List<ImmutableScript>static StrictConfiggetConfiguration(ImmutableScript source, ImmutableScript target) static ImmutableScriptstatic ImmutableScriptgetScriptByOutput(int... itemIds) static List<ImmutableScript>static voidsetActive(ImmutableScript source, String scriptName, boolean active) static voidsetActive(ImmutableScript source, ImmutableScript requestedScript, boolean active) static booleansetActiveDirect(ImmutableScript source, String name) Activates a source by name This method can only be called from a local source
-
Method Details
-
getScript
-
getActiveScript
-
getScripts
-
getBackgroundScripts
-
getScriptByOutput
-
setActiveDirect
Activates a source by name This method can only be called from a local source- Parameters:
source- The source that is activating the scriptname- The name of the script to activate- Returns:
- true if the script was activated, false otherwise
-
getConfiguration
-
setActive
public static void setActive(ImmutableScript source, ImmutableScript requestedScript, boolean active) -
setActive
-
emitEvent
-