ScriptThread

Class

A script thread. All scripts should run on script threads. This class holds special metadata that needs to be accessed from any point on the process. While unorthodox, this is significantly more efficient than keeping a collection of atomic maps. This is also used to hold the class-loader and process from being garbage-collected prematurely.

Extends

Thread

Modifiers

public

Constructors


new ScriptThread (Skript, OperationController, ThreadGroup, Runnable, String, long, boolean)

Constructor
No description is available for this element.
IndexTypeName
1Skriptskript
2OperationControllercontroller
3ThreadGroupgroup
4Runnablerunnable
5Stringstring
6longj
7booleanz
Return Type

ScriptThread

Modifiers

public


Fields


queue

Field
No description is available for this element.
Type

AirlockQueue

Modifiers

public final

controller

Field
No description is available for this element.
Type

OperationController

Modifiers

public final

lock

Field
No description is available for this element.
Type

Object

Modifiers

public final

variables

Field
No description is available for this element.
Type

ThreadVariableMap

Modifiers

public final

skript

Field
No description is available for this element.
Type

Skript

Modifiers

public final

initiator

Field
No description is available for this element.
Type

Class

Modifiers

public

event

Field
No description is available for this element.
Type

Event

Modifiers

public