UNetConnection::GetParentConnectionId

If this is a child connection it will return the topmost parent coonnection ID, otherwise it will return its own ID.

Choose your operating system:

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

uint32 GetParentConnectionId() const

Remarks

If this is a child connection it will return the topmost parent coonnection ID, otherwise it will return its own ID.