Native class
FGBAScaffoldUtils#
class
FGBAScaffoldUtils
Scaffold generation utilities.
Methods#
-
publicstatic GameProjectUtils::EAddCodeToProjectResultAddClassToProject(const FString& InNewClassName,
const FString& InNewClassPath,
const FString& InHeaderDestination,
const FString& InHeaderContent,
const FString& InSourceDestination,
const FString& InSourceContent,
const FModuleContextInfo& InModuleInfo,
GameProjectUtils::EReloadStatus& OutReloadStatus,
FText& OutErrorText -
static GameProjectUtils::EAddCodeToProjectResultAddCodeFileToProject(const FString& InDestination,
const FString& InContent,
FText& OutErrorText -
static boolDoesBuildCSFileContains(const FModuleContextInfo& InModuleContextInfo,
const FString& InSearchPattern,
FText& OutFailReason -
static boolDoesBuildCSSatisfiesDependencies(const FModuleContextInfo& InModuleContextInfo,
const TArray<FString>& InModuleDependencies,
TArray<FString>& OutMissingModuleDependencies,
FText& OutFailReason -
static boolGenerateBasicSourceCode(const FString& NewProjectSourcePath,
const FString& NewProjectName,
TArray<FString>& OutGeneratedStartupModuleNames,
TArray<FString>& OutCreatedFiles,
FText& OutFailReasonCreates the basic source code for a new project. On failure, OutFailReason will be populated.
-
static boolGenerateEditorModuleBuildFile(const FString& InNewBuildFileName,
const FString& InModuleName,
const TArray<FString>& OutPublicDependencyModuleNames,
const TArray<FString>& OutPrivateDependencyModuleNames,
FText& OutFailReasonGenerates a Build.cs file for a Editor module
-
static boolGenerateEditorModuleTargetFile(const FString& NewTargetFileName,
const FString& ModuleName,
const TArray<FString>& ExtraModuleNames,
FText& OutFailReasonGenerates a Target.cs file for a Editor module
-
static boolGenerateGameModuleCPPFile(const FString& NewGameModuleCPPFileName,
const FString& ModuleName,
const FString& GameName,
FText& OutFailReasonGenerates a main game module cpp file
-
static boolGenerateGameModuleHeaderFile(const FString& NewGameModuleHeaderFileName,
const TArray<FString>& PublicHeaderIncludes,
FText& OutFailReasonGenerates a main game module header file
-
static boolGenerateGameModuleTargetFile(const FString& NewTargetFileName,
const FString& ModuleName,
const TArray<FString>& ExtraModuleNames,
FText& OutFailReasonGenerates a Target.cs file for a game module
-
static FStringGetContainingModuleName(const UStruct* InStruct
-
static FStringGetModuleBuildCSFilename(const FModuleContextInfo& InModuleContextInfo
-
static FStringGetModuleBuildCSFilePath(const FModuleContextInfo& InModuleContextInfo
-
static FString
Returns the copyright line used at the top of all files
-
static boolUpdateProjectFiles(FText& ErrorText