UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ConsoleCommandLibrary Class Reference

Public Member Functions

 ConsoleCommandLibrary (FStringView InPrefix)
 
 ~ConsoleCommandLibrary ()
 
void OnParseCommand (const TCHAR *Cmd)
 

Public Attributes

FStringView Prefix
 
TSet< FString > KnownNames
 

Detailed Description

Needed for the console command "DumpConsoleCommands" How it works:

  • GConsoleCommandLibrary is set to point at a local instance of ConsoleCommandLibrary
  • a dummy command search is triggered which gathers all commands in a hashed set
  • sort all gathered commands in human friendly way
  • log all commands
  • GConsoleCommandLibrary is set 0

Constructor & Destructor Documentation

◆ ConsoleCommandLibrary()

ConsoleCommandLibrary::ConsoleCommandLibrary ( FStringView  InPrefix)

◆ ~ConsoleCommandLibrary()

ConsoleCommandLibrary::~ConsoleCommandLibrary ( )

Member Function Documentation

◆ OnParseCommand()

void ConsoleCommandLibrary::OnParseCommand ( const TCHAR Cmd)
inline

Member Data Documentation

◆ KnownNames

TSet<FString> ConsoleCommandLibrary::KnownNames

◆ Prefix

FStringView ConsoleCommandLibrary::Prefix

The documentation for this class was generated from the following file: