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