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
Nested ClassesModifier and TypeClassDescriptionstatic final classA serialized value of a variable. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe name of the variable.final @Nullable SerializedVariable.ValueThe serialized value of the variable. -
Constructor Summary
ConstructorsConstructorDescriptionSerializedVariable(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
nullindicates 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, ornullto indicate a deletion.
-