Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FModuleManager
Description
Gets a multicast delegate that is executed when the set of known modules changed, i.e. upon module load or unload. The delegate is thread-safe to allow subscribing from other than the game thread but is always broadcasted from the game thread.
The first parameter is the name of the module that changed. The second parameter is the reason for the change.
| Name | OnModulesChanged |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
| Include Path | #include "Modules/ModuleManager.h" |
TTSMulticastDelegateRegistration< void ModuleName, EModuleChangeReason ChangeReason)> & OnModulesChanged()
The multicast delegate.