FParse::Command

Sees if Stream starts with the named command.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Parse.h

Include

#include "Misc/Parse.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/Parse.cpp

Syntax

static bool Command
(
    const TCHAR ** Stream,
    const TCHAR * Match,
    bool bParseMightTriggerExecution
)

Remarks

Sees if Stream starts with the named command. If it does, skips through the command and blanks past it. Returns true of match.

Parameters

Parameter

Description

bParseMightTriggerExecution

true: Caller guarantees this is only part of parsing and no execution happens without further parsing (good for "DumpConsoleCommands").

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