Script::IsAddOnLoadOnDemand
function · ui · primitive
- Address
0x48e840· 153 bytes, up to0x48e8d8- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 1 when an add-on by index or name declares LoadOnDemand, else nil
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/addons#the-in-game-add-on-functions
Finding: The in-game add-on functions in ui: add-ons
Each takes an index or a name. A number or numeric string is an index, out of range raising
AddOn index must be in the range of 1 to %d; another string is a name, ignoring case, which may
match nothing; anything else raises the function's usage. GetAddOnInfo answers seven values: the
name; the title and notes or nil; enabled for the current character as 1 or nil; loadable, 1 when
loaded, else the on-demand check as 1 or nil; its reason or nil; and SECURE, INSECURE or
BANNED. LoadAddOn loads on demand and answers 1, nil or nil and the reason, UNKNOWN_ERROR when
the check has none. IsAddOnLoaded and IsAddOnLoadOnDemand answer 1 or nil, GetNumAddOns the
count.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- GetNumAddOns ui
- GetAddOnName ui
- IsAddOnLoadOnDemandByName ui
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.