UTIL_ReplaceKeyBindings

From Valve Developer Community
Jump to: navigation, 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.