Class 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 int getInt​(int id)
      Retrieves the value of a VarClientInt (variable client integer) in Old School RuneScape.
      static @Nullable java.lang.String getString​(int id)
      Retrieves the value of a VarClientInt (variable client string) in Old School RuneScape.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VarClients

        public VarClients()
    • 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...