/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h
const [TArray](API\Runtime\Core\Containers\TArray)< class [ULocalPlayer](API\Runtime\Engine\Engine\ULocalPlayer) * > & GetGamePlayers ( const [UGameViewportClient](API\Runtime\Engine\Engine\UGameViewportClient) * Viewport ) const