Descriptor for a plugin reference. 更多...
#include <PluginReferenceDescriptor.h>
Public 成员函数 | |
| FPluginReferenceDescriptor (const FString &InName=TEXT(""), bool bInEnabled=false) | |
| Constructor | |
| bool | IsEnabledForPlatform (const FString &Platform) const |
| Determines whether the plugin is enabled for the given platform | |
| bool | IsEnabledForTarget (EBuildTargetType TargetType) const |
| Determines whether the plugin is enabled for the given target | |
| bool | IsEnabledForTargetConfiguration (EBuildConfiguration Configuration) const |
| Determines whether the plugin is enabled for the given target configuration | |
| bool | IsSupportedTargetPlatform (const FString &Platform) const |
| Determines if the referenced plugin is supported for the given platform | |
| bool | Read (const FJsonObject &Object, FText &OutFailReason) |
| Reads the descriptor from the given JSON object | |
| void | Write (TJsonWriter<> &Writer) const |
| Writes a descriptor to JSON | |
静态 Public 成员函数 | |
| static bool | ReadArray (const FJsonObject &Object, const TCHAR *Name, TArray< FPluginReferenceDescriptor > &OutModules, FText &OutFailReason) |
| Reads an array of modules from the given JSON object | |
| static void | WriteArray (TJsonWriter<> &Writer, const TCHAR *Name, const TArray< FPluginReferenceDescriptor > &Modules) |
| Writes an array of modules to JSON | |
Public 属性 | |
| bool | bEnabled |
| Whether it should be enabled by default | |
| TArray< FString > | BlacklistPlatforms |
| If enabled, list of platforms for which the plugin should be disabled. | |
| TArray< EBuildConfiguration > | BlacklistTargetConfigurations |
| If enabled, list of target configurations for which the plugin should be disabled. | |
| TArray< EBuildTargetType > | BlacklistTargets |
| If enabled, list of targets for which the plugin should be disabled. | |
| bool | bOptional |
| Whether this plugin is optional, and the game should silently ignore it not being present | |
| FString | Description |
| Description of the plugin for users that do not have it installed. | |
| FString | MarketplaceURL |
| URL for this plugin on the marketplace, if the user doesn't have it installed. | |
| FString | Name |
| Name of the plugin | |
| TArray< FString > | SupportedTargetPlatforms |
| The list of supported target platforms for this plugin. 更多... | |
| TArray< FString > | WhitelistPlatforms |
| If enabled, list of platforms for which the plugin should be enabled (or all platforms if blank). | |
| TArray< EBuildConfiguration > | WhitelistTargetConfigurations |
| If enabled, list of target configurations for which the plugin should be enabled (or all target configurations if blank). | |
| TArray< EBuildTargetType > | WhitelistTargets |
| If enabled, list of targets for which the plugin should be enabled (or all targets if blank). | |
Descriptor for a plugin reference.
Contains the information required to enable or disable a plugin for a given platform.
The list of supported target platforms for this plugin.
This field is copied from the plugin descriptor, and supplements the user's whitelisted and blacklisted platforms.