Class Varcs
- java.lang.Object
-
- org.dreambot.api.methods.settings.Varcs
-
public class Varcs extends java.lang.ObjectClass used to access read/write methods for RS client varc values. Note: This should be used inside of the client thread. SeeClient.getOnGameThread(Supplier)andClient.runOnGameThread(Runnable)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetInt(int varc)Gets an int value for a given varcstatic java.lang.StringgetString(int varc)Gets the string value for a given varcstatic voidsetInt(int val, int intVal)Runs on the RS client thread.static voidsetString(int val, java.lang.String str)Runs on the RS client thread.
-
-
-
Method Detail
-
getInt
public static int getInt(int varc)
Gets an int value for a given varc- Parameters:
varc-- Returns:
-
getString
public static java.lang.String getString(int varc)
Gets the string value for a given varc- Parameters:
varc-- Returns:
-
setString
public static void setString(int val, java.lang.String str)Runs on the RS client thread. This will add the call to the client thread. It will NOT wait for the client thread to process it.- Parameters:
val-str-
-
setInt
public static void setInt(int val, int intVal)Runs on the RS client thread. This will add the call to the client thread. It will NOT wait for the client thread to process it.- Parameters:
val-intVal-
-
-