FPluginDescriptor

Descriptor for plugins. Contains all the information contained within a .uplugin file.

Windows
MacOS
Linux

References

Module

Projects

Header

/Engine/Source/Runtime/Projects/Public/PluginDescriptor.h

Include

#include "PluginDescriptor.h"

Syntax

struct FPluginDescriptor

Remarks

Descriptor for plugins. Contains all the information contained within a .uplugin file.

Variables

Name Description

Public variable

bool

 

bCanContainContent

Can this plugin contain content?

Public variable

bool

 

bInstalled

Signifies that the plugin was installed on top of the engine

Public variable

bool

 

bIsBetaVersion

Marks the plugin as beta in the UI

Public variable

bool

 

bIsHidden

For auto-generated plugins that should not be listed in the plugin browser for users to disable freely.

Public variable

bool

 

bRequiresBuildPlatform

For plugins that are under a platform folder (eg. /PS4/), determines whether compiling the plugin requires the build platform and/or SDK to be available

Public variable

FString

 

Category

The name of the category this plugin

Public variable

FString

 

CreatedBy

The company or individual who created this plugin.

Public variable

FString

 

CreatedByURL

Hyperlink URL string for the company or individual who created this plugin. This is optional.

Public variable

FString

 

Description

Description of the plugin

Public variable

FString

 

DocsURL

Documentation URL string.

Public variable

EPluginEnabledB...

 

EnabledByDefault

Whether this plugin should be enabled by default for all projects

Public variable

FString

 

EngineVersion

Version of the engine that this plugin is compatible with

Public variable

FString

 

FriendlyName

Friendly name of the plugin

Public variable

TArray< FLocali...

 

LocalizationTargets

List of all localization targets associated with this plugin

Public variable

FString

 

MarketplaceURL

Marketplace URL for this plugin.

Public variable

TArray< FModule...

 

Modules

List of all modules associated with this plugin

Public variable

TArray< FPlugin...

 

Plugins

Dependent plugins

Public variable

FCustomBuildSte...

 

PostBuildSteps

Pre-build steps for each host platform

Public variable

FCustomBuildSte...

 

PreBuildSteps

Pre-build steps for each host platform

Public variable

TArray< FString...

 

SupportedPrograms

List of programs that are supported by this plugin.

Public variable

TArray< FString...

 

SupportedTargetPlatforms

List of target platforms supported by this plugin.

Public variable

FString

 

SupportURL

Support URL/email for this plugin.

Public variable

int32

 

Version

Version number for the plugin.

Public variable

FString

 

VersionName

Name of the version for this plugin.

Constructors

Name Description

Public function

FPluginDescriptor()

Constructor.

Functions

Name Description

Public function

bool

 

Load

(
    const FString& FileName,
    FText& OutFailReason
)

Loads the descriptor from the given file.

Public function

bool

 

Read

(
    const FString& Text,
    FText& OutFailReason
)

Reads the descriptor from the given string

Public function

bool

 

Read

(
    const FJsonObject& Object,
    FText& OutFailReason
)

Reads the descriptor from the given JSON object

Public function Const

bool

 

Save

(
    const FString& FileName,
    FText& OutFailReason
)

Saves the descriptor from the given file.

Public function Const

bool

 

SupportsTargetPlatform

(
    const FString& Platform
)

Determines whether the plugin supports the given platform

Public function Const

void

 

Write

(
    FString& Text
)

Writes a descriptor to JSON

Public function Const

void

 

Write

(
    TJsonWriter<>& Writer
)

Writes a descriptor to JSON

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback