UNetDriver::SetRoleSwapOnReplicate

Set whether this actor should swap roles before replicating properties.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h

Include

#include "Engine/NetDriver.h"

Source

/Engine/Source/Runtime/Engine/Private/NetworkDriver.cpp

Syntax

void SetRoleSwapOnReplicate
(
    AActor * Actor,
    bool bSwapRoles
)

Remarks

Set whether this actor should swap roles before replicating properties.

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