Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Hooks netcode object serialization, in order to replace replication of a specific object, with another specified object, for the lifetime of the scoped instance
| Name | FScopedNetObjectReplace |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
| Include Path | #include "Net/NUTUtilNet.h" |
Syntax
class FScopedNetObjectReplace
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedNetObjectReplace
(
UClientUnitTest* InUnitTest, |
FScopedNetObjectReplace | Net/NUTUtilNet.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedNetObjectReplace() |
Net/NUTUtilNet.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ObjToReplace | UObject * | Net/NUTUtilNet.h | ||
| UnitTest | UClientUnitTest * | Net/NUTUtilNet.h |