ULocalPlayer::GetUniqueNetIdForPlatformUser

Retrieves this player's unique net ID from the online subsystem using the platform user Id

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

virtual FUniqueNetIdRepl GetUniqueNetIdForPlatformUser() const

Remarks

Retrieves this player's unique net ID from the online subsystem using the platform user Id

Returns

unique Id associated with this player