Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld
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 |
bool DestroySwappedPC
&40;
UNetConnection &42; Connection
&41;
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) whether a PC waiting for a swap was found
Parameters
Name | Description |
---|---|
Connection | the connection that performed the swap |