Class InputRequestFuture
java.lang.Object
com.zenith.util.RequestFuture
com.zenith.feature.player.InputRequestFuture
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputExecutedListener(Consumer<InputRequestFuture> listener) Add a callback function to be run if the input was completed, accepted, and executed.voidvoidsetClickResult(ClickResult clickResult) static InputRequestFuturewrap(RequestFuture future) Methods inherited from class RequestFuture
cancel, complete, get, get, getNow, immediateFuture, isAccepted, isCancelled, isCompleted, isDone, setAccepted, setCompletedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Field Details
-
rejected
-
-
Constructor Details
-
InputRequestFuture
public InputRequestFuture()
-
-
Method Details
-
setClickResult
-
addInputExecutedListener
Add a callback function to be run if the input was completed, accepted, and executed. Called after the client bot tick event. -
notifyListeners
public void notifyListeners() -
wrap
-
getClickResult
-