public class

VariableEditor

extends Object
java.lang.Object
   ↳ net.pierrox.lightning_launcher.script.api.VariableEditor

Class Overview

A VariableEditor is a tool to change the value of one or more variable. This object is retrieved using edit(). You can chain calls this way:


 	variable_set.edit()
 		.setInteger("someVariable", some_value)
 		.setFloat("someOtherVariable", some_other_value)
 		.commit();
 

Summary

Public Methods
void commit()
VariableEditor setBoolean(String name, boolean value)
VariableEditor setFloat(String name, float value)
VariableEditor setInteger(String name, long value)
VariableEditor setString(String name, String value)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void commit ()

public VariableEditor setBoolean (String name, boolean value)

public VariableEditor setFloat (String name, float value)

public VariableEditor setInteger (String name, long value)

public VariableEditor setString (String name, String value)