public class TypeStringEvent 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 |
|---|
TypeStringEvent(java.lang.String string)
Creates an instance of this event that sends a string and finishes up with the enter key event.
|
TypeStringEvent(java.lang.String string,
boolean pressEnter)
Creates an instance of this event that send a string and finished up with the enter key event as specified.
|
| 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 TypeStringEvent(java.lang.String string)
string - The string to send.public TypeStringEvent(java.lang.String string,
boolean pressEnter)
string - The string to send.pressEnter - Whether to finish up with the enter key event.public int execute()
throws java.lang.InterruptedException
EventonLoop() in OSBot v1.