Class AutoCastSpellEvent
- java.lang.Object
-
- net.eternalclient.api.events.AbstractEvent
-
- net.eternalclient.api.events.magic.AutoCastSpellEvent
-
public class AutoCastSpellEvent extends AbstractEvent
This class represents an event for auto-casting a spell.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AutoCastSpellEvent.State
-
Constructor Summary
Constructors Constructor Description AutoCastSpellEvent(Spell spell)
AutoCastSpellEvent(Spell spell, boolean defensive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
onLoop()
-
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
-
-
-
-
Method Detail
-
onLoop
public int onLoop()
- Specified by:
onLoop
in classAbstractEvent
-
-