ULocalPlayer::GetPreferredUniqueNetId

Retrieves the preferred unique net id.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h

Include

#include "Engine/LocalPlayer.h"

Source

/Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp

Syntax

FUniqueNetIdRepl GetPreferredUniqueNetId() const

Remarks

Retrieves the preferred unique net id. This is for backwards compatibility for games that don't use the cached unique net id logic

Returns

unique Id associated with this player

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