FScopedNetObjectReplace

Refactor to be based on minimal client Hooks netcode object serialization, in order to replace replication of a specific object, with another specified object, for the lifetime of the scoped instance

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h

Include

#include "Net/NUTUtilNet.h"

Syntax

class FScopedNetObjectReplace

Remarks

Refactor to be based on minimal client Hooks netcode object serialization, in order to replace replication of a specific object, with another specified object, for the lifetime of the scoped instance

Constructors

Name Description

Public function

FScopedNetObjectReplace

(
    UClientUnitTest* InUnitTest,
    UObject* InObjToReplace,
    UObject* InObjReplacement
)

FScopedNetObjectReplace

Destructors

Name Description

Public function

~FScopedNetObjectReplace()

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