Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
There is a problem with the parser API, where the Context you pass into the Evaluate function is marked: const ContextType* Context
This means you can not modify Context (which I need to do, to pass state information within the parser), but there is a loophole, where you are able to modify anything Context points to, so I use this struct to wrap the REAL context (FReflEvaluationContext), as a pointer in a dud struct.
| Name | FContextPointer |
| Type | struct |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilReflectionParser.h |
| Include Path | #include "NUTUtilReflectionParser.h" |
Syntax
struct FContextPointer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FContextPointer
(
FReflEvaluationContext* InContext |
NUTUtilReflectionParser.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Context | FReflEvaluationContext * | NUTUtilReflectionParser.h |