engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IPlugin类 参考abstract

Information about an enabled plugin. 更多...

#include <IPluginManager.h>

Public 成员函数

virtual bool CanContainContent () const =0
 Determines if the plugin can contain content. 更多...
 
virtual FString GetBaseDir () const =0
 Get a path to the plugin's directory. 更多...
 
virtual FString GetContentDir () const =0
 Get a path to the plugin's content directory. 更多...
 
virtual const FPluginDescriptor & GetDescriptor () const =0
 Gets the plugin's descriptor 更多...
 
virtual const FString & GetDescriptorFileName () const =0
 Get a path to the plugin's descriptor 更多...
 
virtual const FString & GetFriendlyName () const =0
 Return plugin friendly name if available or the same name as GetName() otherwise.
 
virtual EPluginLoadedFrom GetLoadedFrom () const =0
 Returns the plugin's location 更多...
 
virtual FString GetMountedAssetPath () const =0
 Get the virtual root path for assets. 更多...
 
virtual const FString & GetName () const =0
 Gets the plugin name. 更多...
 
virtual EPluginType GetType () const =0
 Gets the type of a plugin 更多...
 
virtual bool IsEnabled () const =0
 Determines if the plugin is enabled. 更多...
 
virtual bool IsEnabledByDefault (bool bAllowEnginePluginsEnabledByDefault) const =0
 Determines if the plugin is enabled by default. 更多...
 
virtual bool IsHidden () const =0
 Determines if the plugin is should be displayed in-editor for the user to enable/disable freely. 更多...
 
virtual bool UpdateDescriptor (const FPluginDescriptor &NewDescriptor, FText &OutFailReason)=0
 Updates the plugin's descriptor 更多...
 

详细描述

Information about an enabled plugin.

成员函数说明

◆ CanContainContent()

virtual bool IPlugin::CanContainContent ( ) const
pure virtual

Determines if the plugin can contain content.

返回
True if the plugin can contain content.

◆ GetBaseDir()

virtual FString IPlugin::GetBaseDir ( ) const
pure virtual

Get a path to the plugin's directory.

返回
Path to the plugin's base directory.

◆ GetContentDir()

virtual FString IPlugin::GetContentDir ( ) const
pure virtual

Get a path to the plugin's content directory.

返回
Path to the plugin's content directory.

◆ GetDescriptor()

virtual const FPluginDescriptor & IPlugin::GetDescriptor ( ) const
pure virtual

Gets the plugin's descriptor

返回
Reference to the plugin's descriptor

◆ GetDescriptorFileName()

virtual const FString & IPlugin::GetDescriptorFileName ( ) const
pure virtual

Get a path to the plugin's descriptor

返回
Path to the plugin's descriptor.

◆ GetLoadedFrom()

virtual EPluginLoadedFrom IPlugin::GetLoadedFrom ( ) const
pure virtual

Returns the plugin's location

返回
Where the plugin was loaded from

◆ GetMountedAssetPath()

virtual FString IPlugin::GetMountedAssetPath ( ) const
pure virtual

Get the virtual root path for assets.

返回
The mounted root path for assets in this plugin's content folder; typically /PluginName/.

◆ GetName()

virtual const FString & IPlugin::GetName ( ) const
pure virtual

Gets the plugin name.

返回
Name of the plugin.

◆ GetType()

virtual EPluginType IPlugin::GetType ( ) const
pure virtual

Gets the type of a plugin

返回
The plugin type

◆ IsEnabled()

virtual bool IPlugin::IsEnabled ( ) const
pure virtual

Determines if the plugin is enabled.

返回
True if the plugin is currently enabled.

◆ IsEnabledByDefault()

virtual bool IPlugin::IsEnabledByDefault ( bool  bAllowEnginePluginsEnabledByDefault) const
pure virtual

Determines if the plugin is enabled by default.

返回
True if the plugin is currently enabled by default.

◆ IsHidden()

virtual bool IPlugin::IsHidden ( ) const
pure virtual

Determines if the plugin is should be displayed in-editor for the user to enable/disable freely.

返回
True if the plugin should be hidden.

◆ UpdateDescriptor()

virtual bool IPlugin::UpdateDescriptor ( const FPluginDescriptor &  NewDescriptor,
FText &  OutFailReason 
)
pure virtual

Updates the plugin's descriptor

参数
NewDescriptorThe new plugin descriptor
OutFailReasonThe error message if the plugin's descriptor could not be updated
返回
True if the descriptor was updated, false otherwise.

该类的文档由以下文件生成: