Files
UnrealEngine/Engine/Source/Editor/KismetCompiler/Internal/BlueprintClassFlagUtils.h
2025-05-18 13:04:45 +08:00

26 lines
868 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#define UE_API KISMETCOMPILER_API
class UClass;
/** Utility functions for ClassFlags that is reused between normal and skeleton-only compilation. */
class FBlueprintClassFlagUtils
{
public:
/** Given a class, let it inherit class flags from its parent class. Only considers inheritable flags. */
static UE_API void PropagateParentClassFlags_CompileClassLayout(UClass* Class);
/** Given a class, let it inherit class flags from its parent class. Only considers inheritable flags. */
static UE_API void PropagateParentClassFlags_FinishCompilingClass(UClass* Class);
/** Given a class, set any class flags that are based on its properties. Does not consider parent class properties. */
static UE_API void AppendPropertyBasedClassFlags(UClass* Class);
};
#undef UE_API