public class InteractionHelper
extends java.lang.Object
| Constructor and Description |
|---|
InteractionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
click(org.tribot.api.interfaces.Clickable07 clickable,
java.lang.String... actions) |
static boolean |
click(org.tribot.api.interfaces.Clickable07 clickable,
java.lang.String[] actions,
WaitFor.Condition condition)
Interacts with nearby object and waits for
condition. |
static boolean |
click(org.tribot.api.interfaces.Clickable07 clickable,
java.lang.String action,
WaitFor.Condition condition) |
static boolean |
focusCamera(org.tribot.api.interfaces.Clickable07 clickable) |
static org.tribot.api2007.types.RSGroundItem |
getRSGroundItem(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSGroundItem> filter) |
static org.tribot.api2007.types.RSItem |
getRSItem(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSItem> filter) |
static org.tribot.api2007.types.RSNPC |
getRSNPC(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSNPC> filter) |
static org.tribot.api2007.types.RSObject |
getRSObject(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSObject> filter) |
public static boolean click(org.tribot.api.interfaces.Clickable07 clickable,
java.lang.String... actions)
public static boolean click(org.tribot.api.interfaces.Clickable07 clickable,
java.lang.String action,
WaitFor.Condition condition)
public static boolean click(org.tribot.api.interfaces.Clickable07 clickable,
java.lang.String[] actions,
WaitFor.Condition condition)
condition.clickable - clickable entityactions - actions to clickcondition - condition to wait for after the click actioncondition is null, then return the outcome of condition.
Otherwise, return the result of the click action.public static org.tribot.api2007.types.RSItem getRSItem(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSItem> filter)
public static org.tribot.api2007.types.RSNPC getRSNPC(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSNPC> filter)
public static org.tribot.api2007.types.RSObject getRSObject(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSObject> filter)
public static org.tribot.api2007.types.RSGroundItem getRSGroundItem(org.tribot.api.types.generic.Filter<org.tribot.api2007.types.RSGroundItem> filter)
public static boolean focusCamera(org.tribot.api.interfaces.Clickable07 clickable)