FFuncReflection

[FFuncReflection](API\Plugins\NetcodeUnitTest\FFuncReflection) - helper for quickly/concisely setting function parameters through reflection

Windows
MacOS
Linux

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

Name Description

Public variable

UFunction *

 

Function

Reference to the function

Public variable

const TCHAR ...

 

FunctionName

The name of the function

Public variable

const FVMReflec...

 

ParmsRefl

Reflection instance, for writing the function parameters - initialize a new instance from this, e.g. FVMReflection(ParmsRefl)

Constructors

Name Description

Public function

FFuncReflection

(
    const TCHAR* InClassName,
    const TCHAR* InFuncName
)

Constructor for creating a function instance and (optionally) filling in its parameters

Public function

FFuncReflection

(
    UObject* TargetObj,
    const TCHAR* InFuncName
)

Constructor for creating a function instance and (optionally) filling in its parameters

Public function

FFuncReflection

(
    UFunction* InFunction,
    void* InParms
)

Constructor for reading (and optionally modifying) an existing functions parameters (e.g. from received RPC's)

Functions

Name Description

Public function

FORCEINLINEU...

 

GetFunc()

Public function Const

FORCEINLINEv...

 

GetParms()

Public function Const

FORCEINLINEb...

 

IsValid()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss