Script::SaveAddOns
function · glue · orchestration
- Address
0x46d990· 8 bytes, up to0x46d997- Signature
int __fastcall (lua_State *L)- Meaning
- Calls the add-on code's save and returns nothing
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- glue/script#add-on-list
Finding: Add-on list in glue: the script functions
An add-on index argument must be a number, else the function's usage error; __ftol of it minus 1
selects from the list of add-on names, and anything outside 1 to the count, compared unsigned,
raises AddOn index must be in the range of 1 to %d with the count. A character argument must be
a string, a number or nil, nil meaning none; absent is the usage error. The functions:
| function | arguments | returns, effect |
|---|---|---|
GetNumAddOns 0x46d420 | none | the count |
GetAddOnInfo 0x46d460 | index | 8: name; title, notes and URL, each a string or nil; loadable flag; reason or nil; security; a flag |
GetAddOnDependencies 0x46d650 | index | one string per dependency, none for none |
GetAddOnEnableState 0x46d6f0 | character, index | the state the add-on code returns, a number |
EnableAddOn, DisableAddOn 0x46d7b0, 0x46d8a0 | character, index | sets state 2 or 0 |
EnableAllAddOns, DisableAllAddOns 0x46d850, 0x46d940 | character, unchecked | sets 2 or 0 for every index |
SaveAddOns, ResetAddOns 0x46d990, 0x46d9a0 | none | saves; reloads all, null passed |
IsAddonVersionCheckEnabled 0x46d9b0 | none | the flag checkAddonVersion ≠ 0 |
SetAddonVersionCheck 0x46d9e0 | flag, default 1 | sets checkAddonVersion to "1" or "0" |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.