VarAPI
Varbit and Varp related API.
ClassRLPlugins API
public class VarAPIMembers
Static methods
- intgetVar(int)
Gets the value of a varbit.
- intgetVarcInteger(int)
The varc integer.
- StringgetVarcString(int)
The varc string.
- intgetVarp(int)
Gets the value of a varp.
- voidsetVar(int, int)
Sets the value of a varbit.
- voidsetVarcInteger(int, int)
Sets the varc integer.
- voidsetVarcString(int, String)
Sets the varc string.
getVar(int)static
public static int getVar(int varbit)Gets the value of a varbit.
Parameters
varbit- The varbit id.
Returns
The value of the varbit.
getVarcInteger(int)static
public static int getVarcInteger(int varc)The varc integer.
Parameters
varc- Varc.
getVarcString(int)static
public static String getVarcString(int varc)The varc string.
Parameters
varc- Varc.
getVarp(int)static
public static int getVarp(int varp)Gets the value of a varp.
Parameters
varp- The varp id.
Returns
The value of the varp.
setVar(int, int)static
public static void setVar(int varbit, int value)Sets the value of a varbit.
Parameters
varbit- The varbit id.
value- The value to set.
setVarcInteger(int, int)static
public static void setVarcInteger(int varc, int value)Sets the varc integer.
Parameters
varc- Varc.
value- Value.
setVarcString(int, String)static
public static void setVarcString(int varc, String value)Sets the varc string.
Parameters
varc- Varc.
value- Value.
Also allowed
Every class has these, as in plain Java.
equals, toString