public class Configs extends API
bank, bot, camera, chatbox, client, colorPicker, combat, configs, depositBox, dialogues, diaries, display, doorHandler, equipment, experienceTracker, favour, grandExchange, graphicObjects, groundItems, hintArrow, inventory, keyboard, logger, logoutTab, magic, map, menu, mouse, npcs, objects, players, prayer, projectiles, quests, settings, skills, store, tabs, trade, walking, widgets, worlds
Constructor and Description |
---|
Configs() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkBit(int id,
int shift)
Checks if a particular bit is set
|
boolean |
checkBits(int id,
int value)
Checks if the given value is set in the bitset of the config by performing
a bitwise AND operation and checking if the returned value is not equal to
zero.
|
int |
get(int id)
Also known as varpbits or settings.
|
void |
initializeModule() |
boolean |
isSet(int id,
int value)
Checks if the value of the config equals the specified value.
|
exchangeContext, execute, getBank, getBot, getCamera, getChatbox, getClient, getColorPicker, getCombat, getConfigs, getDepositBox, getDialogues, getDiaries, getDisplay, getDoorHandler, getEquipment, getExperienceTracker, getFavour, getGrandExchange, getGraphicObjects, getGroundItems, getHintArrow, getInventory, getKeyboard, getLogoutTab, getMagic, getMap, getMenuAPI, getMouse, getNpcs, getObjects, getPlayers, getPrayer, getProjectiles, getQuests, getSettings, getSkills, getStore, getTabs, getTrade, getWalking, getWidgets, getWorlds, gRandom, gRandom, gRandom, initializeContext, log, log, myPlayer, myPosition, random, random, sleep, stripFormatting, warn
public int get(int id)
Variable permanent bits
id
- The index of the config to getpublic boolean checkBits(int id, int value)
id
- The id of the config.value
- The value to check if it's set in the bitset.public boolean checkBit(int id, int shift)
id
- The id of the configshift
- The amounts of bits to shiftpublic boolean isSet(int id, int value)
id
- The id of the config.value
- The value to check if it's equal to the config value.public void initializeModule()
initializeModule
in class API