Package org.rspeer.game.script
Annotation Type TaskDescriptor
-
@Retention(RUNTIME) public @interface TaskDescriptor
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
blockIfSleeping
Whether or not to block execution when sleepingboolean
blocking
Whether or not to block execution of the iteration.Class<? extends Task>[]
children
boolean
executeWhilePaused
boolean
loginScreen
boolean
loop
Deprecated.UseloginScreen()
if you need to run tasks on the login screenString
name
int
priority
Deprecated.boolean
register
boolean
stoppable
boolean
verbose
-
-
-
Element Detail
-
name
String name
- Default:
- ""
-
-
-
priority
@Deprecated int priority
Deprecated.- Default:
- 0
-
-
-
loop
@Deprecated boolean loop
Deprecated.UseloginScreen()
if you need to run tasks on the login screenRuns on loop (when ticks are not called i.e when logged out)- Default:
- false
-
-
-
verbose
boolean verbose
- Returns:
false
to omit it fromTaskManager.getLastTaskExecutionSequence()
- Default:
- true
-
-