UEngine::HandleDisconnect

The proper way to disconnect a given World and NetDriver.

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

void HandleDisconnect
(
    UWorld * InWorld,
    UNetDriver * NetDriver
)

Remarks

The proper way to disconnect a given World and NetDriver. Travels world if necessary, cleans up pending connects if necessary.

Parameters

Parameter

Description

InWorld

The world being disconnected (might be nullptr in case of pending net dupl)

NetDriver

The net driver being disconnect (will be InWorld's net driver if there is a world)

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