Navigation
API > API/Runtime > API/Runtime/Core
Dictionary of all the non-foreign projects for an engine installation, found by parsing .uprojectdirs files for source directories.
| Name | FUProjectDictionary |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/UProjectInfo.h |
| Include Path | #include "Misc/UProjectInfo.h" |
Syntax
class FUProjectDictionary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUProjectDictionary
(
const FString& InRootDir |
Scans the engine root directory for all the known projects. | Misc/UProjectInfo.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ProjectRootDirs | TArray< FString > | List of project root directories | Misc/UProjectInfo.h | |
| RootDir | FString | The root directory for this engine installation | Misc/UProjectInfo.h | |
| ShortProjectNameDictionary | TMap< FString, FString > | Map of short game names to full project paths. | Misc/UProjectInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetProjectPathForGame
(
const TCHAR* GameName |
Gets the project filename for the given game. Empty if not found. | Misc/UProjectInfo.h | |
| Gets a list of all the known projects. | Misc/UProjectInfo.h | ||
| Gets the project filename for the given game. Empty if not found. | Misc/UProjectInfo.h | ||
bool IsForeignProject
(
const FString& ProjectFileName |
Determines whether a project is a foreign project or not. | Misc/UProjectInfo.h | |
void Refresh() |
Refreshes the list of known projects | Misc/UProjectInfo.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FUProjectDictionary & GetDefault() |
Gets the project dictionary for the active engine installation. | Misc/UProjectInfo.h |