UEngine::FindNamedNetDriver

Finds a [UNetDriver](API\Runtime\Engine\Engine\UNetDriver) based on its 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 * FindNamedNetDriver
(
    const UPendingNetGame * InPendingNetGame,
    FName NetDriverName
)

Remarks

Finds a UNetDriver based on its name.

Returns

A pointer to the UNetDriver that was found, or nullptr if it wasn't found.

Parameters

Parameter

Description

NetDriverName

The name associated with the driver to find.