Package org.tribot.script.sdk
Class ChatScreen.Config
- java.lang.Object
- 
- org.tribot.script.sdk.ChatScreen.Config
 
- 
- Enclosing class:
- ChatScreen
 
 public static final class ChatScreen.Config extends java.lang.ObjectThe config for the chat handler. This provides default values so you don't have to configure everything, or even anything at all unless you want to change something.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classChatScreen.Config.ConfigBuilder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatScreen.Config.ConfigBuilderbuilder()booleanequals(java.lang.Object o)java.util.function.IntSuppliergetTimeout()The timeout for a single call toChatScreen.handle(String...)(or any of the overloaded methods).inthashCode()booleanisHoldSpaceForContinue()If the space bar should be held consistently and not let go while click continue screens are open, until dialog is over or an option screen comes upbooleanisPressSpaceForContinue()If the space bar should be pressed each time the click continue screen is openbooleanisUseKeysForOptions()If the number keys should be used to select an option rather than clickingjava.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
builderpublic static ChatScreen.Config.ConfigBuilder builder() 
 - 
isUseKeysForOptionspublic boolean isUseKeysForOptions() If the number keys should be used to select an option rather than clicking
 - 
isPressSpaceForContinuepublic boolean isPressSpaceForContinue() If the space bar should be pressed each time the click continue screen is open
 - 
isHoldSpaceForContinuepublic boolean isHoldSpaceForContinue() If the space bar should be held consistently and not let go while click continue screens are open, until dialog is over or an option screen comes up
 - 
getTimeoutpublic java.util.function.IntSupplier getTimeout() The timeout for a single call toChatScreen.handle(String...)(or any of the overloaded methods). This supplier should provide the number of milliseconds. Ex.() -> 50000for 50 seconds.
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-