IHotReloadInterface

HotReload module interface

Windows
MacOS
Linux

Inheritance Hierarchy

IModuleInterface

IHotReloadInterface

IHotReloadModule

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/HotReloadInterface.h

Include

#include "Misc/HotReloadInterface.h"

Syntax

class IHotReloadInterface : public IModuleInterface

Remarks

HotReload module interface

Functions

Name Description

Public function

void

 

AddHotReloadFunctionRemap

(
    FNativeFuncPtr NewFunctionPointer,
    FNativeFuncPtr OldFunctionPointer
)

Adds a function to re-map after hot-reload.

Public function

ECompilation...

 

DoHotReloadFromEditor

(
    EHotReloadFlags Flags
)

Performs hot reload from the editor of all currently loaded game modules.

Public function

FString

 

GetModuleCompileMethod

(
    FName InModuleName
)

Queries the compilation method for a given module.

Public function Static

IHotReloadIn...

 

GetPtr()

Tries to gets a pointer to the active HotReload implementation.

Public function

bool

 

IsAnyGameModuleLoaded()

Checks if there's any game modules currently loaded

Public function Const

bool

 

IsCurrentlyCompiling()

Returns whether modules are currently being compiled

Public function

FHotReloadEv...

 

OnHotReload()

Public function

FModuleCompi...

 

OnModuleCompilerFinished()

Public function

FModuleCompi...

 

OnModuleCompilerStarted()

Public function

ECompilation...

 

RebindPackages

(
    const TArray< UPackage* >& Pa...,
    EHotReloadFlags Flags,
    FOutputDevice& Ar
)

HotReload: Reloads the DLLs for given packages.

Public function

bool

 

RecompileModule

(
    const FName InModuleName,
    FOutputDevice& Ar,
    ERecompileModuleFlags Flags
)

Recompiles a single module

Public function

void

 

RequestStopCompilation()

Request that current compile be stopped

Public function

void

 

SaveConfig()

Save the current state to disk before quitting.

Typedefs

Name

Description

FHotReloadEvent

Called when a Hot Reload event has completed.

FModuleCompilerFinishedEvent

Gets an event delegate that is executed when compilation of a module has finished.

FModuleCompilerStartedEvent

Gets an event delegate that is executed when compilation of a module has started.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss