public class InteractionQueue extends EventQueue<InteractionQueue>
Event.EventMode, Event.EventStatus
bank, 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 |
---|
InteractionQueue() |
Modifier and Type | Method and Description |
---|---|
InteractionQueue |
hover(Entity entity)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
hover(MouseDestination destination)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
hover(Position position)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
hover(RS2Widget widget)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
interact(Entity entity,
java.lang.String... actions)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
interact(MouseDestination destination,
java.lang.String... actions)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
interact(Position position,
java.lang.String... actions)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
interact(RS2Widget widget,
java.lang.String... actions)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
interaction(InteractionEvent event)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
openMenu(Entity entity)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
openMenu(MouseDestination destination)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
openMenu(Position position)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
InteractionQueue |
openMenu(RS2Widget widget)
Adds an
InteractionEvent to the queue, to perform a specific interaction |
add, awaitState, awaitState, endQueueIf, execute
addChild, exchangeContext, getChildren, getMode, getParent, getStatus, hasFailed, hasFinished, interrupt, isQueued, isWorking, onEnd, onStart, removeChild, setAsync, setBlocking, setFailed, setFinished, setParent
execute, 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, warn
public InteractionQueue interaction(InteractionEvent event)
InteractionEvent
to the queue, to perform a specific interactionevent
- The interaction event to addpublic InteractionQueue interact(Entity entity, java.lang.String... actions)
InteractionEvent
to the queue, to perform a specific interactionentity
- The entity to interact withactions
- The possible actions to selectpublic InteractionQueue interact(Position position, java.lang.String... actions)
InteractionEvent
to the queue, to perform a specific interactionposition
- The position to interact withactions
- The possible actions to selectpublic InteractionQueue interact(RS2Widget widget, java.lang.String... actions)
InteractionEvent
to the queue, to perform a specific interactionwidget
- The widget to interact withactions
- The possible actions to selectpublic InteractionQueue interact(MouseDestination destination, java.lang.String... actions)
InteractionEvent
to the queue, to perform a specific interactiondestination
- The destination to interact withactions
- The possible actions to selectpublic InteractionQueue hover(Entity entity)
InteractionEvent
to the queue, to perform a specific interactionentity
- The entity to hoverpublic InteractionQueue hover(Position position)
InteractionEvent
to the queue, to perform a specific interactionposition
- The position to hoverpublic InteractionQueue hover(RS2Widget widget)
InteractionEvent
to the queue, to perform a specific interactionwidget
- The widget to hoverpublic InteractionQueue hover(MouseDestination destination)
InteractionEvent
to the queue, to perform a specific interactiondestination
- The destination to hoverpublic InteractionQueue openMenu(Entity entity)
InteractionEvent
to the queue, to perform a specific interactionentity
- The entity to open the menu onpublic InteractionQueue openMenu(Position position)
InteractionEvent
to the queue, to perform a specific interactionposition
- The position to open the menu onpublic InteractionQueue openMenu(RS2Widget widget)
InteractionEvent
to the queue, to perform a specific interactionwidget
- The widget to open the menu onpublic InteractionQueue openMenu(MouseDestination destination)
InteractionEvent
to the queue, to perform a specific interactiondestination
- The destination to open the menu on