Class WithdrawAllEvent
- java.lang.Object
-
- net.eternalclient.api.events.AbstractEvent
-
- net.eternalclient.api.events.bank.withdraw.WithdrawAllEvent
-
public class WithdrawAllEvent extends AbstractEvent
This class represents a withdrawal event for an item in a bank, providing various methods to customize the event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
WithdrawAllEvent.State
-
Constructor Summary
Constructors Constructor Description WithdrawAllEvent(int itemId)
WithdrawAllEvent(java.lang.String itemName)
WithdrawAllEvent(java.util.function.Predicate<Item> predicate)
WithdrawAllEvent(Item item)
WithdrawAllEvent(ItemVariant variant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WithdrawAllEvent
asNote()
WithdrawAllEvent
asNote(boolean noted)
int
onLoop()
void
onStart()
WithdrawAllEvent
setKeepBankOpen(boolean keepBankOpen)
-
Methods inherited from class net.eternalclient.api.events.AbstractEvent
execute, executed, getActiveEvent, getCompleteMessage, getDefaultEventTimeout, getEventCompleteCondition, getEventCompleteTimeout, getEventInterruptCondition, getEventTimeout, getFailMessage, getRunLoggedOut, isEventCompleted, isEventFailed, isEventInterrupted, onComplete, onEventExit, onEventStart, onFail, onStop, setActiveEvent, setCompleted, setCompleted, setEventCompleteCondition, setEventCompleteCondition, setEventCompleted, setEventFailed, setEventInterruptCondition, setEventInterrupted, setEventLoginHandler, setEventTimeout, setExecutionDelay, setExecutionDelay, setExecutionTickDelay, setExecutionTickDelay, setFailed, setFailed, setInteractionMode, setLoggedOutRunnable, setLoggedOutRunnable, setReturnDelay, setReturnDelay, setReturnDelay, setReturnDelay, setReturnTickDelay, setReturnTickDelay, setReturnTickDelay, setReturnTickDelay, setRunLoggedOut, setRunLoggedOut, setSleep, shouldInterrupt, sleep, sleepAFK, sleepLowPredictable, sleepNormal, sleepPredictable
-
-
-
-
Constructor Detail
-
WithdrawAllEvent
public WithdrawAllEvent(int itemId)
-
WithdrawAllEvent
public WithdrawAllEvent(java.lang.String itemName)
-
WithdrawAllEvent
public WithdrawAllEvent(Item item)
-
WithdrawAllEvent
public WithdrawAllEvent(java.util.function.Predicate<Item> predicate)
-
WithdrawAllEvent
public WithdrawAllEvent(ItemVariant variant)
-
-
Method Detail
-
asNote
public WithdrawAllEvent asNote()
-
asNote
public WithdrawAllEvent asNote(boolean noted)
-
setKeepBankOpen
public WithdrawAllEvent setKeepBankOpen(boolean keepBankOpen)
-
onStart
public void onStart()
- Overrides:
onStart
in classAbstractEvent
-
onLoop
public int onLoop()
- Specified by:
onLoop
in classAbstractEvent
-
-