ULocalPlayer::GetCachedUniqueNetId

Retrieves this player's unique net ID that was previously cached

Choose your operating system:

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 GetCachedUniqueNetId() const

Remarks

Retrieves this player's unique net ID that was previously cached

Returns

unique Id associated with this player