UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BlueprintExtension.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreTypes.h
"
6
#include "
UObject/Object.h
"
7
8
#include "BlueprintExtension.generated.h"
9
10
class
UBlueprint
;
11
class
FKismetCompilerContext
;
12
class
UEdGraph
;
13
18
UCLASS
(MinimalAPI)
19
class
UBlueprintExtension
:
public
UObject
20
{
21
public
:
22
23
GENERATED_BODY
()
24
25
#if WITH_EDITORONLY_DATA
26
28
struct
FSearchTagDataPair
29
{
30
FSearchTagDataPair
(
FText
InKey
,
FText
InValue
)
31
: Key(
InKey
)
32
,
Value
(
InValue
)
33
{}
34
35
FText
Key;
36
FText
Value
;
37
};
38
struct
FSearchArrayData
;
39
struct
FSearchData
40
{
41
TArray<FSearchTagDataPair>
Datas;
42
TArray<TUniquePtr<FSearchArrayData>
>
SearchArrayDatas
;
43
};
44
struct
FSearchArrayData
45
{
46
FText
Identifier
;
47
TArray<FSearchData>
SearchSubList
;
48
};
49
53
void
GenerateFunctionGraphs
(
FKismetCompilerContext
*
CompilerContext
)
54
{
55
HandleGenerateFunctionGraphs
(
CompilerContext
);
56
}
57
61
void
PreloadObjectsForCompilation
(
UBlueprint
*
OwningBlueprint
)
62
{
63
HandlePreloadObjectsForCompilation
(
OwningBlueprint
);
64
}
65
69
FSearchData
GatherSearchData
(
const
UBlueprint
*
OwningBlueprint
)
const
70
{
71
return
HandleGatherSearchData
(
OwningBlueprint
);
72
}
73
77
virtual
void
GetAllGraphs(
TArray<UEdGraph*>
& Graphs)
const
{}
78
79
private
:
80
84
virtual
void
HandlePreloadObjectsForCompilation
(
UBlueprint
*
OwningBlueprint
) {}
85
89
virtual
void
HandleGenerateFunctionGraphs
(
FKismetCompilerContext
*
CompilerContext
) {}
90
94
virtual
FSearchData
HandleGatherSearchData
(
const
UBlueprint
*
OwningBlueprint
)
const
{
return
FSearchData
(); }
95
96
#endif
// WITH_EDITORONLY_DATA
97
};
CoreTypes.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EJsonToken::Identifier
@ Identifier
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
Object.h
EColorPickerChannels::Value
@ Value
FText
Definition
Text.h:385
TArray
Definition
Array.h:670
UBlueprintExtension
Definition
BlueprintExtension.h:20
UBlueprint
Definition
Blueprint.h:403
UEdGraph
Definition
EdGraph.h:68
UObject
Definition
Object.h:95
Engine
Source
Runtime
Engine
Public
Blueprint
BlueprintExtension.h
Generated by
1.9.8