Package ch.njol.skript.variables
Class SerializedVariable
java.lang.Object
ch.njol.skript.variables.SerializedVariable
An instance of a serialized variable, contains the variable name
and the serialized value.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A serialized value of a variable. -
Field Summary
Modifier and TypeFieldDescriptionfinal String
The name of the variable.final @Nullable SerializedVariable.Value
The serialized value of the variable. -
Constructor Summary
ConstructorDescriptionSerializedVariable
(String name, @Nullable SerializedVariable.Value value) Creates a new serialized variable with the given name and value. -
Method Summary
-
Field Details
-
name
The name of the variable. -
value
The serialized value of the variable.A value of
null
indicates the variable will be deleted.
-
-
Constructor Details
-
SerializedVariable
Creates a new serialized variable with the given name and value.- Parameters:
name
- the given name.value
- the given value, ornull
to indicate a deletion.
-