Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULocalPlayer * GetFirstGamePlayer
(
UWorld* InWorld |
Return the first ULocalPlayer in the GamePlayers array. | Engine/Engine.h | |
ULocalPlayer * GetFirstGamePlayer
(
const UGameViewportClient* InViewport |
Engine/Engine.h | ||
ULocalPlayer * GetFirstGamePlayer
(
UPendingNetGame* PendingNetGame |
Engine/Engine.h |
GetFirstGamePlayer(UWorld *)
Description
Return the first ULocalPlayer in the GamePlayers array.
| Name | GetFirstGamePlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetFirstGamePlayer
(
UWorld * InWorld
)
first ULocalPlayer or nullptr if the array is empty
GetFirstGamePlayer(const UGameViewportClient *)
| Name | GetFirstGamePlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetFirstGamePlayer
(
const UGameViewportClient * InViewport
)
GetFirstGamePlayer(UPendingNetGame *)
| Name | GetFirstGamePlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetFirstGamePlayer
(
UPendingNetGame * PendingNetGame
)