UTIL_ReplaceKeyBindings

From Valve Developer Community
Revision as of 22:34, 2 November 2021 by Amicdict (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

UTIL_ReplaceKeyBindings is a UTIL function that looks up key bindings (marked with %<command>%) for commands and replaces them with the key bound to them, in string.

Note.pngNote:Input buffer sizes are in bytes rather than unicode character count.

Declaration

void UTIL_ReplaceKeyBindings( const wchar_t *inbuf, int inbufsizebytes, OUT_Z_BYTECAP(outbufsizebytes) wchar_t *outbuf, int outbufsizebytes );

Examples

Todo: Add examples.