Builder

class Builder

Functions

move
Link copied to clipboard
fun move(): WebWalkingResult

Move to the desired target

setAutoRun
Link copied to clipboard
fun setAutoRun(autoRun: Boolean): Movement.Builder
setRefreshQuests
Link copied to clipboard
fun setRefreshQuests(refreshQuests: Boolean): Movement.Builder

Set whether to force a completed quests list refresh

setRunMax
Link copied to clipboard
fun setRunMax(runMax: Int): Movement.Builder

Set the max run energy bound, a random number between runMin and runMax will be calculated. Must be greater than runMin if not it will be set to runMin + 1 If runMax is not provided

setRunMin
Link copied to clipboard
fun setRunMin(runMin: Int): Movement.Builder

Set the min run energy bound, a random number between runMin and runMax will be calculated. Must be less than runMax if not it will be set to runMax - 1 If runMax is not provided

setToBank
Link copied to clipboard
fun setToBank(toBank: Boolean): Movement.Builder
setWalkUntil
Link copied to clipboard
fun setWalkUntil(walkUntil: Callable<Boolean>): Movement.Builder

Set a global predicate, walking will continue as long as the predicate returns false

Properties

locatable
Link copied to clipboard
val locatable: Locatable?