Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FUProjectDictionary Class Reference

#include <UProjectInfo.h>

+ Collaboration diagram for FUProjectDictionary:

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< FStringGetProjectPaths () const
 

Static Public Member Functions

static FUProjectDictionaryGetDefault ()
 

Private Attributes

FString RootDir
 
TArray< FStringProjectRootDirs
 
TMap< FString, FStringShortProjectNameDictionary
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FUProjectDictionary()

FUProjectDictionary::FUProjectDictionary ( const FString & InRootDir)

Scans the engine root directory for all the known projects.

Member Function Documentation

◆ GetDefault()

static FUProjectDictionary & FUProjectDictionary::GetDefault ( )
static

Gets the project dictionary for the active engine installation.

◆ GetProjectPaths()

TArray< FString > FUProjectDictionary::GetProjectPaths ( ) const

Gets a list of all the known projects.

◆ GetRelativeProjectPathForGame()

FString FUProjectDictionary::GetRelativeProjectPathForGame ( const TCHAR * GameName,
const FString & BaseDir ) const

Gets the project filename for the given game. Empty if not found.

◆ IsForeignProject()

bool FUProjectDictionary::IsForeignProject ( const FString & ProjectFileName) const

Determines whether a project is a foreign project or not.

◆ Refresh()

void FUProjectDictionary::Refresh ( )

Refreshes the list of known projects

Member Data Documentation

◆ ProjectRootDirs

TArray<FString> FUProjectDictionary::ProjectRootDirs
private

List of project root directories

Definition at line 39 of file UProjectInfo.h.

◆ RootDir

FString FUProjectDictionary::RootDir
private

The root directory for this engine installation

Definition at line 36 of file UProjectInfo.h.

◆ ShortProjectNameDictionary

TMap<FString, FString> FUProjectDictionary::ShortProjectNameDictionary
private

Map of short game names to full project paths.

Definition at line 42 of file UProjectInfo.h.


The documentation for this class was generated from the following file: