AutomationClient

open class AutomationClient

Utilities for interacting with and extending the functionality of the TRiBot automation client

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun sendMessage(message: String)
Sends a message to the server.
Link copied to clipboard
open fun <T> sendRequest(request: String, returnType: Class<T>): T
Sends a request to the server and waits for a response.
Link copied to clipboard
open fun setMessageListener(listener: Consumer<String>)
Sets a custom message listener.
Link copied to clipboard
open fun setRequestHandler(requestHandler: (String) -> Any)
Sets a custom request handler.