UEngine::CreateNetDriver

Creates a [UNetDriver](API\Runtime\Engine\Engine\UNetDriver) with an engine assigned name

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Engine/Engine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

UNetDriver * CreateNetDriver
(
    UWorld * InWorld,
    FName NetDriverDefinition
)

Remarks

Creates a UNetDriver with an engine assigned name

Returns

new netdriver if successful, nullptr otherwise

Parameters

Parameter

Description

InWorld

the world context

NetDriverDefinition

The name of the definition to use