PluginManager manages available code and content extensions (both loaded and not loaded).
更多...
|
| virtual bool | AddPluginSearchPath (const FString &ExtraDiscoveryPath, bool bRefresh=true)=0 |
| | Stores the specified path, utilizing it in future search passes when searching for available plugins. 更多...
|
| |
| virtual bool | AddToPluginsList (const FString &PluginFilename)=0 |
| | Adds a single plugin to the list of plugins. 更多...
|
| |
| virtual bool | AreRequiredPluginsAvailable ()=0 |
| | Checks if all the required plug-ins are available. 更多...
|
| |
| virtual bool | CheckModuleCompatibility (TArray< FString > &OutIncompatibleModules, TArray< FString > &OutIncompatibleEngineModules)=0 |
| | Checks whether modules for the enabled plug-ins are up to date. 更多...
|
| |
| | DECLARE_DELEGATE (FUpdatePackageLocalizationCacheDelegate) |
| | Delegate type for updating the package localization cache. 更多...
|
| |
| | DECLARE_DELEGATE_TwoParams (FRegisterMountPointDelegate, const FString &, const FString &) |
| | Delegate type for mounting content paths. 更多...
|
| |
|
| DECLARE_EVENT_OneParam (IPluginManager, FNewPluginMountedEvent, IPlugin &) |
| | Event signature for being notified that a new plugin has been mounted
|
| |
|
| DECLARE_EVENT_TwoParams (IPluginManager, FLoadingModulesForPhaseEvent, ELoadingPhase::Type, bool) |
| | Callback for when modules for when LoadModulesForEnabledPlugins() completes loading for a specific phase.
|
| |
| virtual PROJECTS_API TSharedPtr< IPlugin > | FindPlugin (const FString &Name)=0 |
| | Finds information for an enabled plugin. 更多...
|
| |
|
virtual const TSet< FString > & | GetAdditionalPluginSearchPaths () const =0 |
| | Returns the list of extra directories that are recursively searched for plugins (aside from the engine and project plugin directories).
|
| |
| virtual TArray< TSharedRef< IPlugin > > | GetDiscoveredPlugins ()=0 |
| | Gets an array of all the discovered plugins. 更多...
|
| |
| virtual TArray< TSharedRef< IPlugin > > | GetEnabledPlugins ()=0 |
| | Gets an array of all the enabled plugins. 更多...
|
| |
| virtual TArray< TSharedRef< IPlugin > > | GetEnabledPluginsWithContent () const =0 |
| | Gets an array of all enabled plugins that can have content. 更多...
|
| |
| virtual void | GetLocalizationPathsForEnabledPlugins (TArray< FString > &OutLocResPaths)=0 |
| | Get the localization paths for all enabled plugins. 更多...
|
| |
|
virtual TArray< TSharedRef< IPlugin > > | GetPluginsWithPakFile () const =0 |
| | Gets an array of plugins that loaded their own content pak file
|
| |
| virtual bool | LoadModulesForEnabledPlugins (const ELoadingPhase::Type LoadingPhase)=0 |
| | Loads all plug-ins 更多...
|
| |
| virtual void | MountExplicitlyLoadedPlugin (const FString &PluginName)=0 |
| | Marks an explicitly loaded plugin as enabled, mounts its content and tries to load its modules. 更多...
|
| |
|
virtual void | MountNewlyCreatedPlugin (const FString &PluginName)=0 |
| | Marks a newly created plugin as enabled, mounts its content and tries to load its modules
|
| |
|
virtual FNewPluginMountedEvent & | OnNewPluginMounted ()=0 |
| | Gets an array of plugins that loaded their own content pak file
|
| |
|
virtual FName | PackageNameFromModuleName (FName ModuleName)=0 |
| | Does a reverse lookup to try to figure out what the UObject package name is for a plugin
|
| |
| virtual TArray< FPluginStatus > | QueryStatusForAllPlugins () const =0 |
| | Gets status about all currently known plug-ins. 更多...
|
| |
|
virtual void | RefreshPluginsList ()=0 |
| | Updates the list of plugins.
|
| |
| virtual bool | RequiresTempTargetForCodePlugin (const FProjectDescriptor *ProjectDescriptor, const FString &Platform, EBuildConfiguration Configuration, EBuildTargetType TargetType, FText &OutReason)=0 |
| | Determines if a content-only project requires a temporary target due to having a plugin enabled 更多...
|
| |
| virtual void | SetRegisterMountPointDelegate (const FRegisterMountPointDelegate &Delegate)=0 |
| | Sets the delegate to call to register a new content mount point. 更多...
|
| |
| virtual void | SetUpdatePackageLocalizationCacheDelegate (const FUpdatePackageLocalizationCacheDelegate &Delegate)=0 |
| | Sets the delegate to call to update the package localization cache. 更多...
|
| |
PluginManager manages available code and content extensions (both loaded and not loaded).