APlayerState::GetPlayerController

Return the player controller that created this player state, or null for remote clients

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerState.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerState.cpp

Syntax

APlayerController * GetPlayerController() const

Remarks

Return the player controller that created this player state, or null for remote clients