Navigation
API > API/Editor > API/Editor/GameProjectGeneration > API/Editor/GameProjectGeneration/GameProjectUtils
Description
Generates a header file for a UObject class. OutSyncLocation is a string representing the preferred cursor sync location for this file after creation.
| Name | GenerateClassHeaderFile |
| Type | function |
| Header File | /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h |
| Include Path | #include "GameProjectUtils.h" |
| Source | /Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp |
static bool GenerateClassHeaderFile
(
const FString & NewHeaderFileName,
const FString UnPrefixedClassName,
const FNewClassInfo ParentClassInfo,
const TArray < FString > & ClassSpecifierList,
const FString & ClassProperties,
const FString & ClassFunctionDeclarations,
FString & OutSyncLocation,
const FModuleContextInfo & ModuleInfo,
bool bDeclareConstructor,
FText & OutFailReason
)