Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UClass
References
| Module | CoreUObject |
| 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
&40;
FName InName,
FNativeFuncPtr InPointer,
bool bAddToFunctionRemapTable
&41;
Remarks
Replace a native function in the internal native function table true if the function was found and replaced, false if it was not
Parameters
| Name | 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 |