![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IProjectManager.h>
Inheritance diagram for IProjectManager:Static Public Member Functions | |
| static PROJECTS_API IProjectManager & | Get () |
ProjectAndPluginManager manages available code and content extensions (both loaded and not loaded.)
|
inlinevirtual |
Suppress project file writes.
Implemented in FProjectManager.
|
pure virtual |
Checks if the modules for a project are up to date
Implemented in FProjectManager.
Clear the list of supported target platforms for the current project
Implemented in FProjectManager.
|
pure virtual |
Clear the list of supported target platforms for the target project
Implemented in FProjectManager.
| IProjectManager::DECLARE_EVENT_TwoParams | ( | IProjectManager | , |
| FLoadingModulesForPhaseEvent | , | ||
| ELoadingPhase::Type | , | ||
| bool | |||
| ) |
Callback for when modules for when LoadModulesForProject() completes loading for a specific phase.
| IProjectManager::DECLARE_MULTICAST_DELEGATE | ( | FOnTargetPlatformsForCurrentProjectChangedEvent | ) |
Called when the target platforms for the current project are changed
|
static |
Static: Access singleton instance
|
pure virtual |
Returns the list of additional directories to be scanned for plugins (aside from the engine and project plugin directories).
Implemented in FProjectManager.
|
pure virtual |
Gets the name of the text file that contains the most recently loaded filename.
This is NOT the name of the recently loaded .uproject file.
Implemented in FProjectManager.
|
pure virtual |
Gets the current project descriptor.
Implemented in FProjectManager.
|
pure virtual |
Access array used to cache current project's list of module context infos
Implemented in FProjectManager.
Checks whether the current project has default settings for plugins (ie. does not enable any new plugins, or disable any default plugins)
Implemented in FProjectManager.
Checks whether the current loaded project has been modified but not saved to disk
Implemented in FProjectManager.
Gets the enterprise flag value on the current project
Implemented in FProjectManager.
Returns true if project file write should be suppressed.
Implemented in FProjectManager.
|
pure virtual |
Loads all modules for the currently loaded project in the specified loading phase
| LoadingPhase | Which loading phase we're loading modules from. Only modules that are configured to be loaded at the specified loading phase will be loaded during this call. |
Implemented in FProjectManager.
Loads the specified project file.
| ProjectFile | - The project file to load. |
Implemented in FProjectManager.
|
pure virtual |
Implemented in FProjectManager.
|
pure virtual |
Implemented in FProjectManager.
|
pure virtual |
Gets status about the current project
| OutProjectStatus | The status for the project. |
Implemented in FProjectManager.
|
pure virtual |
Gets status about the specified project
| FilePath | The filepath where the project is stored. |
| OutProjectStatus | The status for the project. |
Implemented in FProjectManager.
|
pure virtual |
Implemented in FProjectManager.
Removes suppression of project file writes.
Implemented in FProjectManager.
Saves the current project to the project path
| OutFailReason | On failure, gives an error message |
Implemented in FProjectManager.
Sets the enterprise flag value on the current project
| bValue | The value to set the enterprise flag to |
Implemented in FProjectManager.
|
pure virtual |
Sets whether a plugin is enabled for the current project configuration. Potentially updates the current project descriptor, but does not save to disk and may require restarting to load it.
| PluginName | Name of the plugin |
| bEnabled | Whether to enable or disable the plugin |
| OutFailReason | On failure, gives an error message |
Implemented in FProjectManager.
|
pure virtual |
Sets the project's EpicSampleNameHash (based on its filename) and category, then saves the file to disk. This marks the project as a sample and fixes its filename so that it isn't mistaken for a sample if a copy of the file is made.
| FilePath | The filepath where the sample project is stored. |
| Category | Category to place the sample in |
| OutFailReason | When returning false, this provides a display reason why the file could not be created. |
Implemented in FProjectManager.
|
pure virtual |
Replaces a referenced module with a new name
| OriginalModuleName | Name of module to replace |
| NewModuleName | Name of replacement module |
Implemented in FProjectManager.
|
pure virtual |
Updates a directory to be scanned for plugins (added or removed)
| Dir | the directory to scan |
| bAddOrRemove | whether to add or remove the directory |
Implemented in FProjectManager.
|
pure virtual |
Update the list of supported target platforms for the current project based upon the parameters provided
| InPlatformName | Name of the platform to target (eg, WindowsClient) |
| bIsSupported | true if the platform should be supported by this project, false if it should not |
Implemented in FProjectManager.
|
pure virtual |
Update the list of supported target platforms for the target project based upon the parameters provided
| FilePath | The filepath where the project is stored. |
| InPlatformName | Name of the platform to target (eg, WindowsClient) |
| bIsSupported | true if the platform should be supported by this project, false if it should not |
Implemented in FProjectManager.