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)
ConstructorNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | Skript | skript |
2 | OperationController | controller |
3 | ThreadGroup | group |
4 | Runnable | runnable |
5 | String | string |
6 | long | j |
7 | boolean | z |
Return Type
ScriptThread
Modifiers
public
Fields
queue
FieldNo description is available for this element.
Type
AirlockQueue
Modifiers
public final
controller
FieldNo description is available for this element.
Type
OperationController
Modifiers
public final
lock
FieldNo description is available for this element.
Type
Object
Modifiers
public final
variables
FieldNo description is available for this element.
Type
ThreadVariableMap
Modifiers
public final
skript
FieldNo description is available for this element.
Type
Skript
Modifiers
public final
initiator
FieldNo description is available for this element.
Type
Class
Modifiers
public
event
FieldNo description is available for this element.
Type
Event
Modifiers
public