Package rsb.methods

Class Settings


public class Settings extends MethodProvider
Provides access to game settings.
  • Method Details

    • getSettingArray

      public int[] getSettingArray()
      Gets the settings array.
      Returns:
      An int array representing all of the settings values; otherwise new int[0].
    • getSetting

      public int getSetting(int setting)
      Gets the setting at a given index.
      Parameters:
      setting - The setting index to return the value of.
      Returns:
      int representing the setting of the given setting id; otherwise -1.