benilla-re systems structs docs

GetBindingKeyByOrdinal

function · ui · orchestration

Address
0x4b7d20 · 118 bytes, up to 0x4b7d95
Signature
const char * __thiscall (void *this, const char *command, uint32_t index)
Meaning
Returns the key string of a command's key with an ordinal, or 0
Confidence
verified, proof one
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 2

Callees 1

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