Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
void HandleDisconnect
(
UWorld * InWorld,
UNetDriver * NetDriver
)
The proper way to disconnect a given World and NetDriver. Travels world if necessary, cleans up pending connects if necessary.
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) |