benilla-re systems structs docs

Script::RunBinding

function · ui · orchestration

Address
0x4b8180 · 125 bytes, up to 0x4b81fc
Signature
int __fastcall (lua_State *L)
Meaning
Runs a command by name as a press or a release
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 5

Calls and jumps by a bare address, from tables/calls.tsv.