UDemoNetDriver::RestoreConnectionPostScrub

Restores the given player controller so that it properly points to the given NetConnection after scrubbing when viewing a replay.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/DemoNetDriver.h

Include

#include "Engine/DemoNetDriver.h"

Source

/Engine/Source/Runtime/Engine/Private/DemoNetDriver.cpp

Syntax

void RestoreConnectionPostScrub
(
    APlayerController * PC,
    UNetConnection * NetConnection
)

Remarks

Restores the given player controller so that it properly points to the given NetConnection after scrubbing when viewing a replay.

Parameters

Parameter

Description

PC

The PlayerController to set up the given NetConnection for

NetConnection

The NetConnection to be assigned to the player controller.

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