GetSetting_Bool
ESO Lua API function — used by 30 of the 3,030 addons we indexed (combined 4,309,830 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetSetting_Bool([SettingSystemType|#SettingSystemType] system, integer settingId)Returns: bool value
Real usage — from Ravalox' Quest Tracker
if settingId == UI_SETTING_SHOW_QUEST_TRACKER then
local newValue = not GetSetting_Bool(SETTING_TYPE_UI, UI_SETTING_SHOW_QUEST_TRACKER)
Short excerpt from the shipping addon Ravalox' Quest Tracker — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Ravalox' Quest Tracker | 1,460,568 |
| LibScrollableMenu | 748,266 |
| Addon Selector (Save & Load AddOn profiles/packs) | 726,157 |
| Info Panel | 368,274 |
| Votan's Adaptive (Video-)Settings | 274,330 |
| Vampire's Woe | 175,688 |