Defined in:Returns the cookie passed to the console callback function.
void *GetConsoleCookie(void) const;
GetConsoleCookiefunction returns the pointer that was previously passed to the
cookieparameter of the
GetConsoleCookiefunction is normally used to save the current cookie value before it is changed or set to
InputMgr::SetConsoleCallbackfunction. In this case, the
InputMgr::GetConsoleCallbackfunction should also be called to save the current console callback function. These two values can be passed to the
SetConsoleCallbackat a later time to restore the previously installed callback function.