/Engine/Source/Runtime/Engine/Classes/GameFramework/CheatManager.h
This function handles a console exec sent to the object; it is virtual so 'nexus' objects like a player controller can reroute the command to several different objects.
virtual bool ProcessConsoleExec ( const TCHAR * Cmd, [FOutputDevice](API\Runtime\Core\Misc\FOutputDevice) & Ar, [UObject](API\Runtime\CoreUObject\UObject\UObject) * Executor )