Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
bool ReplaceNativeFunction
(
FName InName,
FNativeFuncPtr InPointer,
bool bAddToFunctionRemapTable
)
Replace a native function in the internal native function table
true if the function was found and replaced, false if it was not
Parameter |
Description |
---|---|
InName |
name of the function |
InPointer |
pointer to the function |
bAddToFunctionRemapTable |
For C++ hot-reloading, UFunctions are patched in a deferred manner and this should be true For script hot-reloading, script integrations may have a many to 1 mapping of UFunction to native pointer because dispatch is shared, so the C++ remap table does not work in this case, and this should be false |