Read Script UI Configuration (LCC.get_ui_config)
Signature
config = LCC.get_ui_config()
Parameters
- none
Returns
- config
Table containing theConfigsection ofmain.jsontogether with default values of UI controls.
Notes
Reads
main.jsonfrom the current script directory and merges theConfigblock with control defaults to build the final configuration table.
ComboBox/RadioGroup values return the selected label; CheckBoxGroup returns mappings such as{ ['Option A'] = true }.
Returns an empty table whenmain.jsonis missing or malformed.
Example
local conf = LCC.get_ui_config()
if conf["Target Group"] then
print("Running against group: " .. conf["Target Group"])
end