Script::GetBinding
function · ui · primitive
- Address
0x4b7f60· 153 bytes, up to0x4b7ff8- Signature
int __fastcall (lua_State *L)- Meaning
- Returns a command's name and every key bound to it
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/keybindings#binding-functions
Finding: Binding functions in ui: key bindings
Nine Lua functions come from the table at 0x846c88. GetNumBindings returns the count of displayed
commands. GetBinding(index) returns the command name at that ordinal, then every key bound to it; hidden
rows have no ordinal. GetBindingKey(command) returns every key of a command, none when it has none, except after a rebind to the same command (see Setting a binding).
GetBindingAction(key) returns the command bound to exactly that key and the empty string, not nil, when
none: it has no modifier fallback. RunBinding(command[, "up"]) runs the command by name as a press unless
the second argument equals up, and returns nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __ftol crt
- GetBindingNameByOrdinal ui
- GetBindingKeyByOrdinal ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.