Navigation
Unreal Engine C++ API Reference > Editor > GameProjectGeneration > GameProjectUtils
References
Module | GameProjectGeneration |
Header | /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h |
Include | #include "GameProjectUtils.h" |
Source | /Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp |
static bool CalculateSourcePaths ( const [FString](API\Runtime\Core\Containers\FString) & InPath, const [FModuleContextInfo](API\Runtime\Projects\FModuleContextInfo) & ModuleInfo, [FString](API\Runtime\Core\Containers\FString) & OutHeaderPath, [FString](API\Runtime\Core\Containers\FString) & OutSourcePath, [FText](API\Runtime\Core\Internationalization\FText) *const OutFailReason )
Remarks
Given the path provided, work out where generated .h and .cpp files would be placed false if the paths are invalid
Parameters
Name | Description |
---|---|
InPath | The path to use a base |
ModuleInfo | Information about the module being validated |
OutHeaderPath | The path where the .h file should be placed |
OutSourcePath | The path where the .cpp file should be placed |
OutFailReason | Optional parameter to fill with failure information |