UNetConnection::GetWorld

Get the world the connection belongs to

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/NetConnection.h"

Source

/Engine/Source/Runtime/Engine/Private/NetConnection.cpp

Syntax

virtual UWorld * GetWorld() const

Remarks

Get the world the connection belongs to

Returns

Returns the world of the net driver, or the owning actor on this connection

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