Class VarClients
- java.lang.Object
-
- com.osrsbots.orb.api.interactables.variables.VarClients
-
public class VarClients extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VarClients()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetInt(int id)Retrieves the value of a VarClientInt (variable client integer) in Old School RuneScape.static @Nullable java.lang.StringgetString(int id)Retrieves the value of a VarClientInt (variable client string) in Old School RuneScape.
-
-
-
Method Detail
-
getInt
public static int getInt(int id)
Retrieves the value of a VarClientInt (variable client integer) in Old School RuneScape.If this operation fails -1 is returned.
- Parameters:
id- The ID of the VarClientInt to retrieve.- Returns:
- The value of the specified VarClientInt, or -1 if the operation times out.
- See Also:
- List of VarClientInt, More information...
-
getString
@Nullable public static @Nullable java.lang.String getString(int id)
Retrieves the value of a VarClientInt (variable client string) in Old School RuneScape.If this operation fails null is returned.
- Parameters:
id- The ID of the VarClientStr to retrieve.- Returns:
- The value of the specified VarClientStr, or -1 if the operation times out.
- See Also:
- List of VarClientStr, More information...
-
-