Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Modules > API/Runtime/Core/Modules/FModuleManager
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
| Include | #include "Modules/ModuleManager.h" |
TTSMulticastDelegateRegistration < void ModuleName, EModuleChangeReason ChangeReason)> & OnModulesChanged()
Remarks
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. The multicast delegate.