Class Vars


  • public class Vars
    extends Object
    Provides access to game vars
    • Field Detail

      • BIT_MASKS

        public static final int[] BIT_MASKS
    • Constructor Detail

      • Vars

        public Vars()
    • Method Detail

      • getAll

        public static int[] getAll()
        Returns:
        All loaded varps
      • get

        public static int get​(int index)
        Parameters:
        index - The index of the varp
        Returns:
        A varp at the given index
      • get

        public static int get​(Vars.Type type,
                              int index)
        Parameters:
        type - The type of the var
        index - The index of the var
        Returns:
        A var at the given index of the specified Vars.Type
        See Also:
        Vars.Type
      • get

        public static int get​(VarComposite composite)
        Parameters:
        composite - The VarComposite type
        Returns:
        A var matching the specified VarComposite