Navigation
API > API/Runtime > API/Runtime/CoreUObject
HotReload module interface
| Name | IHotReloadInterface |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/HotReloadInterface.h |
| Include Path | #include "Misc/HotReloadInterface.h" |
Syntax
class IHotReloadInterface : public IModuleInterface
Implements Interfaces
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FHotReloadEvent | TMulticastDelegate_OneParam< void, bool > | Called when a Hot Reload event has completed. | Misc/HotReloadInterface.h |
| FModuleCompilerFinishedEvent | TMulticastDelegate_ThreeParams< void, const FString &, ECompilationResult::Type, bool > | Gets an event delegate that is executed when compilation of a module has finished. | Misc/HotReloadInterface.h |
| FModuleCompilerStartedEvent | TMulticastDelegate_OneParam< void, bool > | Gets an event delegate that is executed when compilation of a module has started. | Misc/HotReloadInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddHotReloadFunctionRemap
(
FNativeFuncPtr NewFunctionPointer, |
Adds a function to re-map after hot-reload. | Misc/HotReloadInterface.h | |
ECompilationResult::Type DoHotReloadFromEditor
(
EHotReloadFlags Flags |
Performs hot reload from the editor of all currently loaded game modules. | Misc/HotReloadInterface.h | |
FString GetModuleCompileMethod
(
FName InModuleName |
Queries the compilation method for a given module. | Misc/HotReloadInterface.h | |
bool IsAnyGameModuleLoaded() |
Checks if there's any game modules currently loaded | Misc/HotReloadInterface.h | |
bool IsCurrentlyCompiling() |
Returns whether modules are currently being compiled | Misc/HotReloadInterface.h | |
FHotReloadEvent & OnHotReload() |
Misc/HotReloadInterface.h | ||
FModuleCompilerFinishedEvent & OnModuleCompilerFinished() |
Misc/HotReloadInterface.h | ||
FModuleCompilerStartedEvent & OnModuleCompilerStarted() |
Misc/HotReloadInterface.h | ||
ECompilationResult::Type RebindPackages
(
const TArray< UPackage* >& Packages, |
HotReload: Reloads the DLLs for given packages. | Misc/HotReloadInterface.h | |
bool RecompileModule
(
const FName InModuleName, |
Recompiles a single module | Misc/HotReloadInterface.h | |
void RequestStopCompilation() |
Request that current compile be stopped | Misc/HotReloadInterface.h | |
void SaveConfig() |
Save the current state to disk before quitting. | Misc/HotReloadInterface.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IHotReloadInterface * GetPtr() |
Tries to gets a pointer to the active HotReload implementation. | Misc/HotReloadInterface.h |