Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
Include |
#include "Engine/LocalPlayer.h" |
struct FLocalPlayerContext
A context object that binds to a LocalPlayer. Useful for UI or other things that need to pass around player references
Name | Description | |
---|---|---|
|
FLocalPlayerContext() |
|
|
FLocalPlayerContext ( |
|
|
FLocalPlayerContext ( |
|
|
FLocalPlayerContext ( |
Name | Description | ||
---|---|---|---|
|
UGameInstanc... |
GetGameInstance() |
Returns the game instance |
|
AGameStateBa... |
GetGameState() |
Getter for the Game State Base |
|
T * |
GetGameState ( |
Templated Getter for the Game State |
|
AHUD * |
GetHUD() |
Getter for this player's HUD |
|
T * |
GetHUD ( |
Templated Getter for the HUD |
|
ULocalPlayer... |
GetLocalPlayer() |
Returns the local player. |
|
APawn * |
GetPawn() |
Getter for the base pawn of this player |
|
T * |
GetPawn ( |
Templated getter for the player's pawn |
|
APlayerContr... |
GetPlayerController() |
Returns the player controller. |
|
T * |
GetPlayerController ( |
Templated version of GetPlayerController() |
|
APlayerState... |
GetPlayerState() |
Getter for the Player State |
|
T * |
GetPlayerState ( |
Templated Getter for the Player State |
|
UWorld * |
GetWorld() |
Returns the world context. |
|
IsFromLocalPlayer ( |
This function tests if the given Actor is connected to the Local Player in any way. |
|
|
IsInitialized() |
Is this context initialized |
|
|
IsValid() |
Is this context initialized and still valid? |