Class PlayerSettings
- java.lang.Object
-
- org.dreambot.api.methods.settings.PlayerSettings
-
public class PlayerSettings extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getBitValue(int id)
Gets the specified bit value using the cache's varbit IDstatic int
getCleanedConfig(int id, int and)
Gets the specified config value, cleaned with given bitwise and valuestatic int
getConfig(int id)
Gets the specified config value configs are also known as varps or varplayersstatic int[]
getConfigs()
Gets player settingsstatic int[]
getVarBits()
static java.util.Set<java.lang.Integer>
getVarBitsForVarp(int varp)
-
-
-
Method Detail
-
getConfig
public static int getConfig(int id)
Gets the specified config value configs are also known as varps or varplayers- Parameters:
id
- Config ID- Returns:
- Config value
-
getBitValue
public static int getBitValue(int id)
Gets the specified bit value using the cache's varbit ID- Parameters:
id
- Config ID- Returns:
- Bit value
-
getCleanedConfig
public static int getCleanedConfig(int id, int and)
Gets the specified config value, cleaned with given bitwise and value- Parameters:
id
- Config IDand
- value to clean config value with by bitwise and operation- Returns:
- Cleaned config value
-
getConfigs
public static int[] getConfigs()
Gets player settings- Returns:
- player settings
-
getVarBitsForVarp
public static java.util.Set<java.lang.Integer> getVarBitsForVarp(int varp)
-
getVarBits
public static int[] getVarBits()
-
-