UWorld::DestroySwappedPC

Looks for a PlayerController that was being swapped by the given NetConnection and, if found, destroys it (because the swap is complete or the connection was closed)

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

bool DestroySwappedPC
(
    UNetConnection * Connection
)

Remarks

Looks for a PlayerController that was being swapped by the given NetConnection and, if found, destroys it (because the swap is complete or the connection was closed)

Returns

whether a PC waiting for a swap was found

Parameters

Parameter

Description

Connection

the connection that performed the swap

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