Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerState
Description
Gets the online unique id for a player. If a player is logged in this will be consistent across all clients and servers.
| Name | BP_GetUniqueId |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h |
| Include Path | #include "GameFramework/PlayerState.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerState.cpp |
UFUNCTION (BlueprintCallable, Category="PlayerState", Meta=(DisplayName="Get Unique Net Id"))
FUniqueNetIdRepl BP_GetUniqueId() const