EModuleChangeReason

Enumerates reasons for modules to change.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h

Include

#include "Modules/ModuleManager.h"

Syntax

enum EModuleChangeReason
{
    ModuleLoaded,
    ModuleUnloaded,
    PluginDirectoryChanged,
}

Values

Name

Description

ModuleLoaded

A module has been loaded and is ready to be used.

ModuleUnloaded

A module has been unloaded and should no longer be used.

PluginDirectoryChanged

The paths controlling which plug-ins are loaded have been changed and the given module has been found, but not yet loaded.

Remarks

Enumerates reasons for modules to change.

Values of this type will be passed into OnModuleChanged() delegates.