benilla-re systems structs docs

s_textBind

global · ui

Address
0x846e3c · 6 bytes, up to 0x846e41
Type
char[6]
Meaning
Holds the string "bind ", the line prefix that ParseBindingSet compares
Confidence
verified, proof one
Finding
ui/keybindings#binding-files

Finding: Binding files in ui: key bindings

Bindings are read from three files. Set 0 is read from WTF\DefaultBindings.wtf; set 1 from bindings-cache.wtf under the account folder and set 2 from bindings-cache.wtf under the character folder, the account-data kinds 2 and 3. Each file is text with one line per key, bind <key> <command>, ended by a carriage return and line feed. Loading empties the set, then takes each line whose first five characters are bind (any case), reads the key up to the next space (31 characters at most) and the rest of the line as the command, and stores them through the same routine as SetBinding, so a key the validator refuses is dropped. A line is cut to 127 characters.

The derivation is in the doc.