/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h
Returns the player controller assigned to the first local player. If World is specified it will search within that specific world
[APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * GetFirstLocalPlayerController ( const [UWorld](API\Runtime\Engine\Engine\UWorld) * World ) const