ClientScriptAPI
ClientScript API.
ClassRLPlugins API
public class ClientScriptAPIMembers
Static methods
- voidcloseNumericInputDialogue()
Closes the local numeric input UI if it is open.
- voidrunScript(Object...)
Runs a client script with the specified id and arguments.
- voidswitchTabs(Tab)
Switches to the specified tab.
- voidswitchTabs(int)
Switches the local tab layout.
closeNumericInputDialogue()static
public static void closeNumericInputDialogue()Closes the local numeric input UI if it is open.
The answer itself must already have been sent through the typed resume-dialogue packet.
runScript(Object...)static
public static void runScript(Object... args)Runs a client script with the specified id and arguments.
Enables packet dispatch so that scripts triggering actions (such as closing interfaces, bank PIN, or UI interactions) can transmit outgoing packets.
Parameters
args- The script id followed by arguments.
switchTabs(Tab)static
public static void switchTabs(Tab tab)Switches to the specified tab.
Parameters
tab- The tab to switch to.
switchTabs(int)static
public static void switchTabs(int tab)Switches the local tab layout.
Tab selection has no server action packet; its cache script also updates the visible panel and tab highlight.
Parameters
tab- The tab index to switch to.
Also allowed
Every class has these, as in plain Java.
equals, toString