UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StatsCommand.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "HAL/Platform.h"
6
7class FOutputDevice;
8
9namespace UE::Stats
10{
11 // Pass a console command directly to the stats system, return true if it is known command, false means it might be a stats command
12 CORE_API bool DirectStatsCommand(const TCHAR* Cmd, bool bBlockForCompletion = false, FOutputDevice* Ar = nullptr);
13}
14
15UE_DEPRECATED(5.6, "Use UE::Stats::DirectStatsCommand instead.")
16CORE_API bool DirectStatsCommand(const TCHAR* Cmd, bool bBlockForCompletion = false, FOutputDevice* Ar = nullptr);
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
CORE_API bool DirectStatsCommand(const TCHAR *Cmd, bool bBlockForCompletion=false, FOutputDevice *Ar=nullptr)
Definition StatsCommand.cpp:2466
Definition OutputDevice.h:133
Definition StatsCommand.cpp:2274
bool DirectStatsCommand(const TCHAR *Cmd, bool bBlockForCompletion, FOutputDevice *Ar)
Definition StatsCommand.cpp:2275
@ false
Definition radaudio_common.h:23