/Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h
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
static [EAddCodeToProjectResult](API\Editor\GameProjectGeneration\GameProjectUtils\EAddCodeToProjectResult) AddCodeToProject ( const [FString](API\Runtime\Core\Containers\FString) & NewClassName, const [FString](API\Runtime\Core\Containers\FString) & NewClassPath, const [FModuleContextInfo](API\Runtime\Projects\FModuleContextInfo) & ModuleInfo, const [FNewClassInfo](API\Editor\GameProjectGeneration\FNewClassInfo) ParentClassInfo, const [TSet](API\Runtime\Core\Containers\TSet)< [FString](API\Runtime\Core\Containers\FString) > & DisallowedHeaderNames, [FString](API\Runtime\Core\Containers\FString) & OutHeaderFilePath, [FString](API\Runtime\Core\Containers\FString) & OutCppFilePath, [FText](API\Runtime\Core\Internationalization\FText) & OutFailReason, [EReloadStatus](API\Editor\GameProjectGeneration\GameProjectUtils\EReloadStatus) & OutReloadStatus )