UGameInstance::GetPrimaryPlayerUniqueId

Get the unique id for the primary player on this machine (others are splitscreen children)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h

Include

#include "Engine/GameInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/GameInstance.cpp

Syntax

FUniqueNetIdPtr GetPrimaryPlayerUniqueId() const

Remarks

Get the unique id for the primary player on this machine (others are splitscreen children)

Returns

the unique id of the primary player on this machine

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