Module |
|
Header |
/Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h |
Include |
#include "ModuleDescriptor.h" |
namespace EHostType
{
enum Type
{
Runtime,
RuntimeNoCommandlet,
RuntimeAndProgram,
CookedOnly,
UncookedOnly,
Developer,
DeveloperTool,
Editor,
EditorNoCommandlet,
EditorAndProgram,
Program,
ServerOnly,
ClientOnly,
ClientOnlyNoCommandlet,
Max,
}
}
Name |
Description |
---|---|
Runtime |
Loads on all targets, except programs. |
RuntimeNoCommandlet |
Loads on all targets, except programs and the editor running commandlets. |
RuntimeAndProgram |
Loads on all targets, including supported programs. |
CookedOnly |
Loads only in cooked games. |
UncookedOnly |
Only loads in uncooked games. |
Developer |
Deprecated due to ambiguities. |
DeveloperTool |
Loads on any targets where bBuildDeveloperTools is enabled. |
Editor |
Loads only when the editor is starting up. |
EditorNoCommandlet |
Loads only when the editor is starting up, but not in commandlet mode. |
EditorAndProgram |
Loads only on editor and program targets. |
Program |
Only loads on program targets. |
ServerOnly |
Loads on all targets except dedicated clients. |
ClientOnly |
Loads on all targets except dedicated servers. |
ClientOnlyNoCommandlet |
Loads in editor and client but not in commandlets. |
Max |
Environment that can load a module.