Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/UProjectInfo.h |
| Include | #include "Misc/UProjectInfo.h" |
Syntax
class FUProjectDictionary
Remarks
Dictionary of all the non-foreign projects for an engine installation, found by parsing .uprojectdirs files for source directories.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FUProjectDictionary
(
const FString& InRootDir |
Scans the engine root directory for all the known projects. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FUProjectDictionary & | GetDefault () |
Gets the project dictionary for the active engine installation. | |
| FString | GetProjectPathForGame
(
const TCHAR* GameName |
Gets the project filename for the given game. Empty if not found. | |
| TArray< FString > | Gets a list of all the known projects. | ||
| FString | GetRelativeProjectPathForGame
(
const TCHAR* GameName, |
Gets the project filename for the given game. Empty if not found. | |
| bool | IsForeignProject
(
const FString& ProjectFileName |
Determines whether a project is a foreign project or not. | |
| void | Refresh () |
Refreshes the list of known projects |