Class DepositAllEvent
- java.lang.Object
-
- net.eternalclient.api.events.AbstractEvent
-
- net.eternalclient.api.events.bank.deposit.DepositAllEvent
-
public class DepositAllEvent extends AbstractEvent
This class represents an event for depositing all items in the inventory into the bank.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DepositAllEvent.State
-
Constructor Summary
Constructors Constructor Description DepositAllEvent()
DepositAllEvent(int... ids)
DepositAllEvent(java.lang.String... names)
DepositAllEvent(java.util.function.Predicate<Item> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DepositAllEvent
excluding(int... ids)
DepositAllEvent
excluding(java.lang.String... names)
int
onLoop()
DepositAllEvent
setKeepBankOpen(boolean keepBankOpen)
DepositAllEvent
setMaximumTries(int tries)
-
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, onStart, 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
-
DepositAllEvent
public DepositAllEvent(java.lang.String... names)
-
DepositAllEvent
public DepositAllEvent(java.util.function.Predicate<Item> predicate)
-
DepositAllEvent
public DepositAllEvent(int... ids)
-
DepositAllEvent
public DepositAllEvent()
-
-
Method Detail
-
setMaximumTries
public DepositAllEvent setMaximumTries(int tries)
-
excluding
public DepositAllEvent excluding(java.lang.String... names)
-
excluding
public DepositAllEvent excluding(int... ids)
-
setKeepBankOpen
public DepositAllEvent setKeepBankOpen(boolean keepBankOpen)
-
onLoop
public int onLoop()
- Specified by:
onLoop
in classAbstractEvent
-
-