Package rsb.methods
Class Settings
java.lang.Object
rsb.methods.MethodProvider
rsb.methods.Settings
Provides access to game settings.
-
Field Summary
Fields inherited from class rsb.methods.MethodProvider
methods
-
Method Summary
Modifier and TypeMethodDescriptionint
getSetting
(int setting) Gets the setting at a given index.int[]
Gets the settings array.
-
Method Details
-
getSettingArray
public int[] getSettingArray()Gets the settings array.- Returns:
- An
int
array representing all of the settings values; otherwisenew 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
.
-