UEngine::CreateNamedNetDriver

Creates a [UNetDriver](API\Runtime\Engine\Engine\UNetDriver) and associates a name with it.

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

bool CreateNamedNetDriver
(
    UWorld * InWorld,
    FName NetDriverName,
    FName NetDriverDefinition
)

Remarks

Creates a UNetDriver and associates a name with it.

Returns

True if the driver was created successfully, false if there was an error.

Parameters

Parameter

Description

InWorld

the world context

NetDriverName

The name to associate with the driver.

NetDriverDefinition

The name of the definition to use

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