|
|
virtual void | AddHotReloadFunctionRemap (FNativeFuncPtr NewFunctionPointer, FNativeFuncPtr OldFunctionPointer)=0 |
| | Adds a function to re-map after hot-reload.
|
| |
| | DECLARE_MULTICAST_DELEGATE_OneParam (FHotReloadEvent, bool) |
| | Called when a Hot Reload event has completed. 更多...
|
| |
| | DECLARE_MULTICAST_DELEGATE_OneParam (FModuleCompilerStartedEvent, bool) |
| | Gets an event delegate that is executed when compilation of a module has started. 更多...
|
| |
| | DECLARE_MULTICAST_DELEGATE_ThreeParams (FModuleCompilerFinishedEvent, const FString &, ECompilationResult::Type, bool) |
| | Gets an event delegate that is executed when compilation of a module has finished. 更多...
|
| |
| virtual ECompilationResult::Type | DoHotReloadFromEditor (EHotReloadFlags Flags)=0 |
| | Performs hot reload from the editor of all currently loaded game modules. 更多...
|
| |
| virtual FString | GetModuleCompileMethod (FName InModuleName)=0 |
| | Queries the compilation method for a given module. 更多...
|
| |
|
virtual bool | IsAnyGameModuleLoaded ()=0 |
| | Checks if there's any game modules currently loaded
|
| |
|
virtual bool | IsCurrentlyCompiling () const =0 |
| | Returns whether modules are currently being compiled
|
| |
| virtual ECompilationResult::Type | RebindPackages (const TArray< UPackage * > &Packages, EHotReloadFlags Flags, FOutputDevice &Ar)=0 |
| | HotReload: Reloads the DLLs for given packages. 更多...
|
| |
| virtual bool | RecompileModule (const FName InModuleName, FOutputDevice &Ar, ERecompileModuleFlags Flags)=0 |
| | Recompiles a single module 更多...
|
| |
|
virtual void | RequestStopCompilation ()=0 |
| | Request that current compile be stopped
|
| |
|
virtual void | SaveConfig ()=0 |
| | Save the current state to disk before quitting.
|
| |
| virtual bool | IsGameModule () const |
| | Returns true if this module hosts gameplay code 更多...
|
| |
|
virtual void | PostLoadCallback () |
| | Called after the module has been reloaded
|
| |
|
virtual void | PreUnloadCallback () |
| | Called before the module has been unloaded
|
| |
| virtual void | ShutdownModule () |
| | Called before the module is unloaded, right before the module object is destroyed. 更多...
|
| |
| virtual void | StartupModule () |
| | Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
|
| |
| virtual bool | SupportsAutomaticShutdown () |
| | Override this to set whether your module would like cleanup on application shutdown 更多...
|
| |
| virtual bool | SupportsDynamicReloading () |
| | Override this to set whether your module is allowed to be unloaded on the fly 更多...
|
| |
|
virtual | ~IModuleInterface () |
| | Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface
|
| |
HotReload module interface