FAutoConsoleCommandWithWorld::FAutoConsoleCommandWithWorld

Register a console command that takes a world argument

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "HAL/IConsoleManager.h"

Syntax

FAutoConsoleCommandWithWorld
(
    const TCHAR * Name,
    const TCHAR * Help,
    const FConsoleCommandWithWorldDelegate & Command,
    uint32 Flags
)

Remarks

Register a console command that takes a world argument

Parameters

Parameter

Description

Name

The name of this command (must not be nullptr)

Help

Help text for this command

Command

The user function to call when this command is executed

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