Navigation
API > API/Runtime > API/Runtime/Projects > API/Runtime/Projects/Interfaces
References
| Module | Projects |
| Header | /Engine/Source/Runtime/Projects/Public/Interfaces/IProjectManager.h |
| Include | #include "Interfaces/IProjectManager.h" |
Syntax
class IProjectManager
Remarks
ProjectAndPluginManager manages available code and content extensions (both loaded and not loaded.)
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSuppressProjectFileWrite
(
const FName InName |
Suppress project file writes. | |
| bool | CheckModuleCompatibility
(
TArray< FString >& OutIncompatibleModules |
Checks if the modules for a project are up to date | |
| void | Clear the list of supported target platforms for the current project | ||
| void | ClearSupportedTargetPlatformsForProject
(
const FString& FilePath |
Clear the list of supported target platforms for the target project | |
| IProjectManager & | Get () |
Static: Access singleton instance | |
| const TArray< FString > & | Returns the list of additional directories to be scanned for plugins (aside from the engine and project plugin directories). | ||
| const FString & | Gets the name of the text file that contains the most recently loaded filename. | ||
| const FProjectDescriptor * | Gets the current project descriptor. | ||
| TArray< FModuleContextInfo > & | Access array used to cache current project's list of module context infos | ||
| bool | Checks whether the current project has default settings for plugins (ie. does not enable any new plugins, or disable any default plugins) | ||
| bool | Checks whether the current loaded project has been modified but not saved to disk | ||
| bool | Gets the enterprise flag value on the current project | ||
| bool | Returns true if project file write should be suppressed. | ||
| bool | LoadModulesForProject
(
const ELoadingPhase::Type LoadingPhase |
Loads all modules for the currently loaded project in the specified loading phase | |
| bool | LoadProjectFile
(
const FString& ProjectFile |
Loads the specified project file. | |
| FLoadingModulesForPhaseEvent & | |||
| FOnTargetPlatformsForCurrentProjectChangedEvent & | |||
| bool | QueryStatusForCurrentProject
(
FProjectStatus& OutProjectStatus |
Gets status about the current project | |
| bool | QueryStatusForProject
(
const FString& FilePath, |
Gets status about the specified project | |
| bool | RemovePluginReference
(
const FString& PluginName, |
||
| void | RemoveSuppressProjectFileWrite
(
const FName InName |
Removes suppression of project file writes. | |
| bool | SaveCurrentProjectToDisk
(
FText& OutFailReason |
Saves the current project to the project path | |
| void | SetIsEnterpriseProject
(
bool bValue |
Sets the enterprise flag value on the current project | |
| bool | SetPluginEnabled
(
const FString& PluginName, |
Sets whether a plugin is enabled for the current project configuration. | |
| bool | SignSampleProject
(
const FString& FilePath, |
Sets the project's EpicSampleNameHash (based on its filename) and category, then saves the file to disk. | |
| bool | UpdateAdditionalPluginDirectory
(
const FString& Dir, |
Updates a directory to be scanned for plugins (added or removed) | |
| void | UpdateSupportedTargetPlatformsForCurrentProject
(
const FName& InPlatformName, |
Update the list of supported target platforms for the current project based upon the parameters provided | |
| void | UpdateSupportedTargetPlatformsForProject
(
const FString& FilePath, |
Update the list of supported target platforms for the target project based upon the parameters provided |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FLoadingModulesForPhaseEvent | Callback for when modules for when LoadModulesForProject() completes loading for a specific phase. |
Typedefs
| Name | Description |
|---|---|
| FOnTargetPlatformsForCurrentProjectChangedEvent | Called when the target platforms for the current project are changed |