Class PlayerSettings
- java.lang.Object
-
- org.dreambot.api.methods.settings.PlayerSettings
-
public class PlayerSettings extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PlayerSettings()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated 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 valuestatic PlayerSettings
getPlayerSettings()
Deprecated.
-
-
-
Method Detail
-
getPlayerSettings
@Deprecated public static PlayerSettings getPlayerSettings()
Deprecated.
-
getConfig
public static int getConfig(int id)
Gets the specified config value- 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
-
-