UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ImportantToggleSettingInterface.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
//=============================================================================
4
// ImportantToogleSettingInterface.h
5
//
6
// Interface for settings classes containing a single, emphasized boolean value.
7
// Implement this interface to make a settings category containing one boolean
8
// property lots of extra info for the user.
9
//=============================================================================
10
11
#pragma once
12
13
#include "
CoreMinimal.h
"
14
#include "
UObject/ObjectMacros.h
"
15
#include "
UObject/Interface.h
"
16
#include "ImportantToggleSettingInterface.generated.h"
17
18
UINTERFACE
(MinimalAPI, meta=(CannotImplementInterfaceInBlueprint))
19
class
UImportantToggleSettingInterface
:
public
UInterface
20
{
21
GENERATED_UINTERFACE_BODY
()
22
};
23
24
class
IImportantToggleSettingInterface
25
{
26
GENERATED_IINTERFACE_BODY
()
27
28
virtual
void
GetToggleCategoryAndPropertyNames(
FName
&
OutCategory
,
FName
&
OutProperty
)
const
{
OutCategory
=
NAME_None
;
OutProperty
=
NAME_None
; }
29
30
virtual
FText
GetFalseStateLabel()
const
{
return
FText::GetEmpty
(); }
31
virtual
FText
GetFalseStateTooltip()
const
{
return
FText::GetEmpty
(); }
32
virtual
FText
GetFalseStateDescription()
const
{
return
FText::GetEmpty
(); }
33
virtual
FText
GetTrueStateLabel()
const
{
return
FText::GetEmpty
(); }
34
virtual
FText
GetTrueStateTooltip()
const
{
return
FText::GetEmpty
(); }
35
virtual
FText
GetTrueStateDescription()
const
{
return
FText::GetEmpty
(); }
36
virtual
FString GetAdditionalInfoUrl()
const
{
return
FString(); }
37
virtual
FText
GetAdditionalInfoUrlLabel()
const
{
return
FText::GetEmpty
(); }
38
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Interface.h
ObjectMacros.h
UINTERFACE
#define UINTERFACE(...)
Definition
ObjectMacros.h:780
GENERATED_IINTERFACE_BODY
#define GENERATED_IINTERFACE_BODY(...)
Definition
ObjectMacros.h:770
GENERATED_UINTERFACE_BODY
#define GENERATED_UINTERFACE_BODY(...)
Definition
ObjectMacros.h:769
FName
Definition
NameTypes.h:617
FText
Definition
Text.h:385
FText::GetEmpty
static CORE_API const FText & GetEmpty()
Definition
Text.cpp:252
IImportantToggleSettingInterface
Definition
ImportantToggleSettingInterface.h:25
UImportantToggleSettingInterface
Definition
ImportantToggleSettingInterface.h:20
UInterface
Definition
Interface.h:19
Engine
Source
Runtime
Engine
Classes
Engine
ImportantToggleSettingInterface.h
Generated by
1.9.8