EHostType::Type

Environment that can load a module.

Choose your operating system:

Windows

macOS

Linux

References

Module

Projects

Header

/Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h

Include

#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

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.