Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h |
Include |
#include "ModuleDescriptor.h" |
struct FModuleDescriptor
Description of a loadable module.
Name | Description | ||
---|---|---|---|
|
AdditionalDependencies |
List of additional dependencies for building this module. |
|
|
bHasExplicitPlatforms |
When true, an empty PlatformAllowList is interpeted as 'no platforms' with the expectation that explict platforms will be added in plugin extensions |
|
|
LoadingPhase |
When should the module be loaded during the startup sequence? This is sort of an advanced setting. |
|
|
Name |
Name of this module |
|
|
PlatformAllowList |
List of allowed platforms |
|
|
PlatformDenyList |
List of disallowed platforms |
|
|
ProgramAllowList |
List of allowed programs |
|
|
ProgramDenyList |
List of disallowed programs |
|
|
TargetAllowList |
List of allowed targets |
|
|
TargetConfigurationAllowList |
List of allowed target configurations |
|
|
TargetConfigurationDenyList |
List of disallowed target configurations |
|
|
TargetDenyList |
List of disallowed targets |
|
|
Type |
Usage type of module |
Name | Description | |
---|---|---|
|
FModuleDescriptor ( |
Normal constructor |
Name | Description | ||
---|---|---|---|
|
CheckModuleCompatibility ( |
Checks that all modules are compatible with the current engine version. |
|
|
IsCompiledInConfiguration ( |
Tests whether the module should be built for the given target |
|
|
IsCompiledInCurrentConfiguration() |
Tests whether the module should be built for the current engine configuration |
|
|
IsLoadedInCurrentConfiguration() |
Tests whether the module should be loaded for the current engine configuration |
|
|
LoadModulesForPhase ( |
Loads all the modules for a given loading phase. Returns a map of module names to load errors |
|
|
Read ( |
Reads a descriptor from the given JSON object |
|
|
Read ( |
Reads a descriptor from the given JSON object |
|
|
ReadArray ( |
Reads an array of modules from the given JSON object |
|
|
ReadArray ( |
Reads an array of modules from the given JSON object |
|
|
UpdateArray ( |
Updates an array of module descriptors in the specified JSON field (indexed by module name) |
|
|
UpdateJson ( |
Updates the given json object with values in this descriptor |
|
|
Write ( |
Writes a descriptor to JSON |
|
|
WriteArray ( |
Writes an array of modules to JSON |