Package org.rspeer.game.script
Annotation Type TaskDescriptor
-
@Retention(RUNTIME) public @interface TaskDescriptor
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanblockIfSleepingWhether or not to block execution when sleepingbooleanblockingWhether or not to block execution of the iteration.Class<? extends Task>[]childrenbooleanexecuteWhilePausedbooleanloginScreenbooleanloopDeprecated.UseloginScreen()if you need to run tasks on the login screenStringnameintpriorityDeprecated.booleanregisterbooleanstoppablebooleanverbose
-
-
-
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:
falseto omit it fromTaskManager.getLastTaskExecutionSequence()
- Default:
- true
-
-