public class WaitEvent extends Event
Event.EventMode, Event.EventStatusbank, bot, camera, chatbox, client, colorPicker, combat, configs, depositBox, dialogues, diaries, display, doorHandler, equipment, experienceTracker, favour, grandExchange, graphicObjects, groundItems, hintArrow, inventory, keyboard, logger, logoutTab, magic, map, menu, mouse, npcs, objects, players, prayer, projectiles, quests, settings, skills, store, tabs, trade, walking, widgets, worlds| Constructor and Description |
|---|
WaitEvent(int timeout,
java.util.concurrent.Callable<java.lang.Boolean> condition,
java.util.concurrent.Callable<java.lang.Boolean>... breakConditions) |
WaitEvent(int timeout,
int sleepTime,
java.util.concurrent.Callable<java.lang.Boolean> condition,
java.util.concurrent.Callable<java.lang.Boolean>... breakConditions) |
| Modifier and Type | Method and Description |
|---|---|
int |
execute()
This is the execution method.
|
addChild, exchangeContext, getChildren, getMode, getParent, getStatus, hasFailed, hasFinished, interrupt, isQueued, isWorking, onEnd, onStart, removeChild, setAsync, setBlocking, setFailed, setFinished, setParentexecute, getBank, getBot, getCamera, getChatbox, getClient, getColorPicker, getCombat, getConfigs, getDepositBox, getDialogues, getDiaries, getDisplay, getDoorHandler, getEquipment, getExperienceTracker, getFavour, getGrandExchange, getGraphicObjects, getGroundItems, getHintArrow, getInventory, getKeyboard, getLogoutTab, getMagic, getMap, getMenuAPI, getMouse, getNpcs, getObjects, getPlayers, getPrayer, getProjectiles, getQuests, getSettings, getSkills, getStore, getTabs, getTrade, getWalking, getWidgets, getWorlds, gRandom, gRandom, gRandom, initializeContext, log, log, myPlayer, myPosition, random, random, sleep, stripFormatting, warnpublic WaitEvent(int timeout,
java.util.concurrent.Callable<java.lang.Boolean> condition,
java.util.concurrent.Callable<java.lang.Boolean>... breakConditions)
public WaitEvent(int timeout,
int sleepTime,
java.util.concurrent.Callable<java.lang.Boolean> condition,
java.util.concurrent.Callable<java.lang.Boolean>... breakConditions)
public int execute()
throws java.lang.InterruptedException
EventonLoop() in OSBot v1.