IPluginManager

PluginManager manages available code and content extensions (both loaded and not loaded).

Windows
MacOS
Linux

References

Module

Projects

Header

/Engine/Source/Runtime/Projects/Public/Interfaces/IPluginManager.h

Include

#include "Interfaces/IPluginManager.h"

Syntax

class IPluginManager

Remarks

PluginManager manages available code and content extensions (both loaded and not loaded).

Destructors

Name Description

Public function Virtual

~IPluginManager()

Functions

Name Description

Public function

void

 

AddPluginSearchPath

(
    const FString& ExtraDiscoveryPath,
    bool bRefresh
)

Stores the specified path, utilizing it in future search passes when searching for available plugins.

Public function

bool

 

AddToPluginsList

(
    const FString& PluginFilename
)

Adds a single plugin to the list of plugins.

Public function

bool

 

AreRequiredPluginsAvailable()

Checks if all the required plug-ins are available.

Public function

bool

 

CheckModuleCompatibility

(
    TArray< FString >& OutIncompatible...,
    TArray< FString >& OutIncompatible...
)

Checks whether modules for the enabled plug-ins are up to date.

Public function

TSharedPtr< ...

 

FindPlugin

(
    const FString& Name
)

Finds information for an enabled plugin.

Public function Static

IPluginManag...

 

Get()

Static: Access singleton instance.

Public function

TArray< TSha...

 

GetDiscoveredPlugins()

Gets an array of all the discovered plugins.

Public function

TArray< TSha...

 

GetEnabledPlugins()

Gets an array of all the enabled plugins.

Public function Const

TArray< TSha...

 

GetEnabledPluginsWithContent()

Gets an array of all enabled plugins that can have content.

Public function

void

 

GetLocalizationPathsForEnabledPlugins

(
    TArray< FString >& OutLocResPaths
)

Get the localization paths for all enabled plugins.

Public function Const

TArray< TSha...

 

GetPluginsWithPakFile()

Gets an array of plugins that loaded their own content pak file

Public function

bool

 

LoadModulesForEnabledPlugins

(
    const ELoadingPhase::Type LoadingPh...
)

Loads all plug-ins

Public function

void

 

MountExplicitlyLoadedPlugin

(
    const FString& PluginName
)

Marks an explicitly loaded plugin as enabled, mounts its content and tries to load its modules.

Public function

void

 

MountNewlyCreatedPlugin

(
    const FString& PluginName
)

Marks a newly created plugin as enabled, mounts its content and tries to load its modules

Public function

FNewPluginMo...

 

OnNewPluginCreated()

Public function

FNewPluginMo...

 

OnNewPluginMounted()

Gets an array of plugins that loaded their own content pak file

Public function

FName

 

PackageNameFromModuleName

(
    FName ModuleName
)

Does a reverse lookup to try to figure out what the UObject package name is for a plugin

Public function

void

 

RefreshPluginsList()

Updates the list of plugins.

Public function

bool

 

RequiresTempTargetForCodePlugin

(
    const FProjectDescriptor* Proj...,
    const FString& Platform,
    EBuildConfiguration Configuration,
    EBuildTargetType TargetType,
    FText& OutReason
)

Determines if a content-only project requires a temporary target due to having a plugin enabled

Public function

void

 

SetRegisterMountPointDelegate

(
    const FRegisterMountPointDelegate&...
)

Sets the delegate to call to register a new content mount point.

Classes

Name

Description

Public class

FNewPluginMountedEvent

Event signature for being notified that a new plugin has been mounted

Typedefs

Name

Description

FRegisterMountPointDelegate

Delegate type for mounting content paths.

Deprecated Functions

Name Description

Public function Const

TArray< FPlu...

 

QueryStatusForAllPlugins()

QueryStatusForAllPlugins() has been deprecated. Please use GetDiscoveredPlugins() instead.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss