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
boolean
register
boolean
stoppable
-
-
-
Element Detail
-
name
String name
- Default:
- ""
-
-
-
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
-
-