Navigation
Unreal Engine C++ API Reference > Runtime > Projects
References
Module | Projects |
Header | /Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h |
Include | #include "ModuleDescriptor.h" |
Syntax
namespace EHostType
{
enum Type
&123;
Runtime,
RuntimeNoCommandlet,
RuntimeAndProgram,
CookedOnly,
UncookedOnly,
Developer,
DeveloperTool,
Editor,
EditorNoCommandlet,
EditorAndProgram,
Program,
ServerOnly,
ClientOnly,
ClientOnlyNoCommandlet,
Max,
&125;
}
Values
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 |
Remarks
Environment that can load a module.