FConsoleManager::RegisterConsoleCommand

Register a console command that is handles by an Exec functions (for auto completion)

Windows
MacOS
Linux

Override Hierarchy

IConsoleManager::RegisterConsoleCommand()

FConsoleManager::RegisterConsoleCommand()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/ConsoleManager.h

Include

#include "HAL/ConsoleManager.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp

Syntax

virtual IConsoleCommand * RegisterConsoleCommand
(
    const TCHAR * Name,
    const TCHAR * Help,
    uint32 Flags
)

Remarks

Register a console command that is handles by an Exec functions (for auto completion)

Parameters

Parameter

Description

Name

The name of this command (must not be nullptr)

Help

Help text for this command

Flags

Optional flags bitmask

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss