UReplicationDriver::CreateReplicationDriver

This is the function [UNetDriver](API\Runtime\Engine\Engine\UNetDriver) calls to create its replication driver.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/ReplicationDriver.h

Include

#include "Engine/ReplicationDriver.h"

Source

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

Syntax

static UReplicationDriver * CreateReplicationDriver
(
    UNetDriver * NetDriver,
    const FURL & URL,
    UWorld * World
)

Remarks

This is the function UNetDriver calls to create its replication driver. It will invoke OnCreateReplicationDriver if set, otherwise will instantiate ReplicationDriverClassName from the NetDriver.

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