FScopedNetNameReplace

Hooks netcode name serialization, in order to replace replication of a specific name, with another specified name, 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 FScopedNetNameReplace

Remarks

Hooks netcode name serialization, in order to replace replication of a specific name, with another specified name, for the lifetime of the scoped instance

Constructors

Name Description

Public function

FScopedNetNameReplace

(
    UMinimalClient* InMinClient,
    const FOnSerializeName::FDelegate&...
)

FScopedNetNameReplace

Public function

FScopedNetNameReplace

(
    UMinimalClient* InMinClient,
    FName InNameToReplace,
    FName InNameReplacement
)

This variation is not tested

Destructors

Name Description

Public function

~FScopedNetNameReplace()

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