GNetConnectionBeingCleanedUp

: set to net connection currently inside [CleanUp()](API\Runtime\Engine\Engine\UNetConnection\CleanUp), for HasClientLoadedCurrentWorld() to be able to find it during PlayerController destruction, since we clear its Player before destroying it.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Syntax

static class UNetConnection * GNetConnectionBeingCleanedUp = ((void *)0);

Remarks

: set to net connection currently inside CleanUp(), for HasClientLoadedCurrentWorld() to be able to find it during PlayerController destruction, since we clear its Player before destroying it. (and that's not easily reversed)

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