/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h
Returns local Player Controller viewing this pawn, whether it is controlling or spectating
[APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * GetLocalViewingPlayerController() const