Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULocalPlayer * GetGamePlayer
(
UWorld* InWorld, |
Return the ULocalPlayer with the given index. | Engine/Engine.h | |
ULocalPlayer * GetGamePlayer
(
const UGameViewportClient* InViewport, |
Engine/Engine.h |
GetGamePlayer(UWorld *, int32)
Description
Return the ULocalPlayer with the given index.
| Name | GetGamePlayer |
| 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 * GetGamePlayer
(
UWorld * InWorld,
int32 InPlayer
)
pointer to the LocalPlayer with the given index
Parameters
| Name | Remarks |
|---|---|
| InPlayer | Index of the player required |
GetGamePlayer(const UGameViewportClient *, int32)
| Name | GetGamePlayer |
| 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 * GetGamePlayer
(
const UGameViewportClient * InViewport,
int32 InPlayer
)