Class SerializedVariable
java.lang.Object
io.github.syst3ms.skriptparser.variables.SerializedVariable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA serialized value of a variable. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe name of the variable.The 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.
-