Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetLocalPlayerFromPlatformUserId
(
UWorld * InWorld,
const FPlatformUserId PlatformUserId
) const
Returns the first LocalPlayer that matches the given platform user id
The player that has the PlatformUserId specified, or nullptr if no players have that PlatformUserId
Parameter |
Description |
---|---|
PlatformUserId |
Platform user id to search for |