AGameStateBase::GetPlayerStateFromUniqueNetId

Returns the player state for a specified unique player Id

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameStateBase.h

Include

#include "GameFramework/GameStateBase.h"

Source

/Engine/Source/Runtime/Engine/Private/GameStateBase.cpp

Syntax

APlayerState * GetPlayerStateFromUniqueNetId
(
    const FUniqueNetIdWrapper & InPlayerId
) const

Remarks

Returns the player state for a specified unique player Id