Navigation
API > API/Runtime > API/Runtime/Projects
Environment that can load a module.
| Name | EHostType::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h |
| Include Path | #include "ModuleDescriptor.h" |
Syntax
namespace EHostType
{
enum Type
{
Runtime,
RuntimeNoCommandlet,
RuntimeAndProgram,
CookedOnly,
UncookedOnly,
Developer,
DeveloperTool,
Editor,
EditorNoCommandlet,
EditorAndProgram,
Program,
ServerOnly,
ClientOnly,
ClientOnlyNoCommandlet,
Max,
}
}
Values
| Name | Remarks |
|---|---|
| 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 |