Files
UnrealEngine/Engine/Source/Editor/KismetCompiler/Public/UserDefinedStructureCompilerUtils.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

21 lines
630 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class FCompilerResultsLog;
class FUserDefinedStructureCompilerUtils
{
public:
// ASSUMPTION, structure doesn't need to be renamed or removed
static void CompileStruct(class UUserDefinedStruct* Struct, class FCompilerResultsLog& MessageLog, bool bForceRecompile);
KISMETCOMPILER_API static void ReplaceStructWithTempDuplicateByPredicate(
UUserDefinedStruct* StructureToReinstance,
TFunctionRef<bool(FStructProperty* InStructProperty)> ShouldReplaceStructInStructProperty,
TFunctionRef<void(UStruct* InStruct)> PostReplace);
};