Class WithdrawLoadoutEvent
- java.lang.Object
-
- net.eternalclient.api.events.AbstractEvent
-
- net.eternalclient.api.events.loadout.WithdrawLoadoutEvent
-
public class WithdrawLoadoutEvent extends AbstractEvent
This class represents a withdraw loadout event, which can be used to withdraw items from the bank based on a specified loadout.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
WithdrawLoadoutEvent.State
-
Constructor Summary
Constructors Constructor Description WithdrawLoadoutEvent(InventoryLoadout loadout)
WithdrawLoadoutEvent(InventoryLoadout inventoryLoadout, EquipmentLoadout equipmentLoadout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WithdrawLoadoutEvent
addEquipmentLoadout(EquipmentLoadout equipmentLoadout)
int
getDefaultEventTimeout()
EquipmentLoadout
getEquipmentLoadout()
InventoryLoadout
getLoadout()
WithdrawLoadoutEvent
keepBankOpen()
WithdrawLoadoutEvent
keepBankOpen(boolean keepOpen)
int
onLoop()
void
onStart()
WithdrawLoadoutEvent
setBank(java.util.function.Supplier<BankLocation> bank)
WithdrawLoadoutEvent
setBank(BankLocation bank)
WithdrawLoadoutEvent
setBuyRemainder(boolean buyRemainder)
WithdrawLoadoutEvent
setUseBuyingTeleport(boolean useBuyingTeleport)
-
Methods inherited from class net.eternalclient.api.events.AbstractEvent
execute, executed, getActiveEvent, getCompleteMessage, 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
-
WithdrawLoadoutEvent
public WithdrawLoadoutEvent(InventoryLoadout loadout)
-
WithdrawLoadoutEvent
public WithdrawLoadoutEvent(InventoryLoadout inventoryLoadout, EquipmentLoadout equipmentLoadout)
-
-
Method Detail
-
getEquipmentLoadout
public EquipmentLoadout getEquipmentLoadout()
-
getLoadout
public InventoryLoadout getLoadout()
-
keepBankOpen
public WithdrawLoadoutEvent keepBankOpen()
-
keepBankOpen
public WithdrawLoadoutEvent keepBankOpen(boolean keepOpen)
-
setBank
public WithdrawLoadoutEvent setBank(BankLocation bank)
-
setBank
public WithdrawLoadoutEvent setBank(java.util.function.Supplier<BankLocation> bank)
-
setBuyRemainder
public WithdrawLoadoutEvent setBuyRemainder(boolean buyRemainder)
-
setUseBuyingTeleport
public WithdrawLoadoutEvent setUseBuyingTeleport(boolean useBuyingTeleport)
-
addEquipmentLoadout
public WithdrawLoadoutEvent addEquipmentLoadout(EquipmentLoadout equipmentLoadout)
-
onStart
public void onStart()
- Overrides:
onStart
in classAbstractEvent
-
onLoop
public int onLoop()
- Specified by:
onLoop
in classAbstractEvent
-
getDefaultEventTimeout
public int getDefaultEventTimeout()
- Overrides:
getDefaultEventTimeout
in classAbstractEvent
-
-