Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
FFuncReflection - helper for quickly/concisely setting function parameters through reflection
| Name | FFuncReflection |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilReflection.h |
| Include Path | #include "NUTUtilReflection.h" |
Syntax
class FFuncReflection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFuncReflection
(
UFunction* InFunction, |
NUTUtilReflection.h | ||
FFuncReflection
(
const TCHAR* InClassName, |
Constructor for creating a function instance and (optionally) filling in its parameters | NUTUtilReflection.h | |
FFuncReflection
(
UObject* TargetObj, |
Constructor for creating a function instance and (optionally) filling in its parameters | NUTUtilReflection.h | |
FFuncReflection
(
UFunction* InFunction, |
Constructor for reading (and optionally modifying) an existing functions parameters (e.g. from received RPC's) | NUTUtilReflection.h | |
FFuncReflection
(
UFunction* InFunction, |
NUTUtilReflection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Function | UFunction * | Reference to the function | NUTUtilReflection.h | |
| FunctionName | const TCHAR * | The name of the function | NUTUtilReflection.h | |
| ParmsRefl | const FVMReflection | Reflection instance, for writing the function parameters - initialize a new instance from this, e.g. FVMReflection(ParmsRefl) | NUTUtilReflection.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ParmsMemory | FStructOnScope | The function parameters in memory | NUTUtilReflection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UFunction * GetFunc() |
NUTUtilReflection.h | ||
void * GetParms() |
NUTUtilReflection.h | ||
bool IsValid() |
NUTUtilReflection.h |