UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IReload Class Referenceabstract

#include <Reload.h>

Public Member Functions

virtual ~IReload ()=default
 
virtual EActiveReloadType GetType () const =0
 
virtual const TCHARGetPrefix () const =0
 
virtual bool GetEnableReinstancing (bool bHasChanged) const =0
 
virtual void NotifyFunctionRemap (FNativeFuncPtr NewFunctionPointer, FNativeFuncPtr OldFunctionPointer)=0
 
virtual void NotifyChange (UClass *New, UClass *Old)=0
 
virtual void NotifyChange (UEnum *New, UEnum *Old)=0
 
virtual void NotifyChange (UScriptStruct *New, UScriptStruct *Old)=0
 
virtual void NotifyChange (UPackage *New, UPackage *Old)=0
 
virtual void Reinstance ()=0
 
virtual UObjectGetReinstancedCDO (UObject *CDO)=0
 
virtual const UObjectGetReinstancedCDO (const UObject *CDO)=0
 
virtual const TMap< UClass *, UClass * > & GetReinstancedClasses ()=0
 
virtual const TArray< UClass * > & GetNewClasses ()=0
 

Detailed Description

Systems that implement a reload capability implement this interface and register it with the module manager while a reload is in progress.

Constructor & Destructor Documentation

◆ ~IReload()

virtual IReload::~IReload ( )
virtualdefault

Member Function Documentation

◆ GetEnableReinstancing()

virtual bool IReload::GetEnableReinstancing ( bool  bHasChanged) const
pure virtual

Return if re-instancing is to be allowed

◆ GetNewClasses()

virtual const TArray< UClass * > & IReload::GetNewClasses ( )
pure virtual

Return an array of the new classes

◆ GetPrefix()

virtual const TCHAR * IReload::GetPrefix ( ) const
pure virtual

When classes, structures, and enumerations are renamed, the given prefix is applied.

◆ GetReinstancedCDO() [1/2]

virtual const UObject * IReload::GetReinstancedCDO ( const UObject CDO)
pure virtual

◆ GetReinstancedCDO() [2/2]

virtual UObject * IReload::GetReinstancedCDO ( UObject CDO)
pure virtual

For a given CDO, return the new CDO if it has been re-instanced. If it hasn't been re-instanced, then the supplied CDO will be returned. If a non-CDO object is passed in, it will be returned as is.

◆ GetReinstancedClasses()

virtual const TMap< UClass *, UClass * > & IReload::GetReinstancedClasses ( )
pure virtual

Return a map of the reinstanced classes where the old class is the key and the new class is the value.

◆ GetType()

virtual EActiveReloadType IReload::GetType ( ) const
pure virtual

Returns the type of reload currently in progress.

◆ NotifyChange() [1/4]

virtual void IReload::NotifyChange ( UClass New,
UClass Old 
)
pure virtual

Invoke to register a new or changed class, enumeration, or structure for re-instancing.

◆ NotifyChange() [2/4]

virtual void IReload::NotifyChange ( UEnum New,
UEnum Old 
)
pure virtual

◆ NotifyChange() [3/4]

virtual void IReload::NotifyChange ( UPackage New,
UPackage Old 
)
pure virtual

◆ NotifyChange() [4/4]

virtual void IReload::NotifyChange ( UScriptStruct New,
UScriptStruct Old 
)
pure virtual

◆ NotifyFunctionRemap()

virtual void IReload::NotifyFunctionRemap ( FNativeFuncPtr  NewFunctionPointer,
FNativeFuncPtr  OldFunctionPointer 
)
pure virtual

Invoke when a duplicate function has been detected.

◆ Reinstance()

virtual void IReload::Reinstance ( )
pure virtual

Perform the re-instancing


The documentation for this class was generated from the following file: