![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UProjectInfo.h>
Public Member Functions | |
| CORE_API | FUProjectDictionary (const FString &InRootDir) |
| CORE_API void | Refresh () |
| CORE_API bool | IsForeignProject (const FString &ProjectFileName) const |
| CORE_API FString | GetRelativeProjectPathForGame (const TCHAR *GameName, const FString &BaseDir) const |
| CORE_API FString | GetProjectPathForGame (const TCHAR *GameName) const |
| CORE_API TArray< FString > | GetProjectPaths () const |
Static Public Member Functions | |
| static CORE_API FUProjectDictionary & | GetDefault () |
Dictionary of all the non-foreign projects for an engine installation, found by parsing .uprojectdirs files for source directories.
| FUProjectDictionary::FUProjectDictionary | ( | const FString & | InRootDir | ) |
Scans the engine root directory for all the known projects.
|
static |
Gets the project dictionary for the active engine installation.
| FString FUProjectDictionary::GetProjectPathForGame | ( | const TCHAR * | GameName | ) | const |
Gets the project filename for the given game. Empty if not found.
| TArray< FString > FUProjectDictionary::GetProjectPaths | ( | ) | const |
Gets a list of all the known projects.
| FString FUProjectDictionary::GetRelativeProjectPathForGame | ( | const TCHAR * | GameName, |
| const FString & | BaseDir | ||
| ) | const |
Gets the project filename for the given game. Empty if not found.
| bool FUProjectDictionary::IsForeignProject | ( | const FString & | ProjectFileName | ) | const |
Determines whether a project is a foreign project or not.
| void FUProjectDictionary::Refresh | ( | ) |
Refreshes the list of known projects