Ark Server API (ASA) - Wiki
|
#include <UProjectInfo.h>
Public Member Functions | |
FUProjectDictionary (const FString &InRootDir) | |
void | Refresh () |
bool | IsForeignProject (const FString &ProjectFileName) const |
FString | GetRelativeProjectPathForGame (const TCHAR *GameName, const FString &BaseDir) const |
TArray< FString > | GetProjectPaths () const |
Static Public Member Functions | |
static FUProjectDictionary & | GetDefault () |
Private Attributes | |
FString | RootDir |
TArray< FString > | ProjectRootDirs |
TMap< FString, FString > | ShortProjectNameDictionary |
Dictionary of all the non-foreign projects for an engine installation, found by parsing .uprojectdirs files for source directories.
Definition at line 13 of file UProjectInfo.h.
Scans the engine root directory for all the known projects.
|
static |
Gets the project dictionary for the active engine installation.
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.
Determines whether a project is a foreign project or not.
void FUProjectDictionary::Refresh | ( | ) |
Refreshes the list of known projects
List of project root directories
Definition at line 39 of file UProjectInfo.h.
|
private |
The root directory for this engine installation
Definition at line 36 of file UProjectInfo.h.
Map of short game names to full project paths.
Definition at line 42 of file UProjectInfo.h.