Navigation
API > API/Editor > API/Editor/GameProjectGeneration > API/Editor/GameProjectGeneration/GameProjectUtils > API/Editor/GameProjectGeneration/GameProjectUtils/AddCodeToProject
References
| Module | GameProjectGeneration |
| Header | /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h |
| Include | #include "GameProjectUtils.h" |
| Source | /Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp |
static EAddCodeToProjectResult AddCodeToProject
&40;
const FString & NewClassName,
const FString & NewClassPath,
const FModuleContextInfo & ModuleInfo,
const FNewClassInfo ParentClassInfo,
const TSet< FString > & DisallowedHeaderNames,
FString & OutHeaderFilePath,
FString & OutCppFilePath,
FText & OutFailReason,
EReloadStatus & OutReloadStatus
&41;
Remarks
Adds new source code to the project. When returning Succeeded or FailedToHotReload, OutSyncFileAndLineNumber will be the the preferred target file to sync in the users code editing IDE, formatted for use with GenericApplication::GotoLineInSource