UTIL_ReplaceKeyBindings

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png

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

Blank image.pngTodo: Add examples.