UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CVarUtilities.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Templates/UniquePtr.h
"
6
7
// The following works in the header, make sure that you include 'HAL/IConsoleManager.h' in the cpp!
8
struct
IConsoleCommand
;
9
10
struct
FConsoleCommandUnregister
11
{
12
void
operator()
(
IConsoleCommand
*
ConsoleCommandPtr
)
const
;
13
};
14
16
using
FConsoleCommandPtr
=
TUniquePtr<IConsoleCommand, FConsoleCommandUnregister>
;
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
UniquePtr.h
TUniquePtr< IConsoleCommand, FConsoleCommandUnregister >
FConsoleCommandUnregister
Definition
CVarUtilities.h:11
FConsoleCommandUnregister::operator()
void operator()(IConsoleCommand *ConsoleCommandPtr) const
Definition
OnDemandHttpThread.cpp:53
IConsoleCommand
Definition
IConsoleManager.h:797
Engine
Source
Runtime
Experimental
IoStore
OnDemand
Private
CVarUtilities.h
Generated by
1.9.8