UEngine::GetGamePlayers

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h

Include

#include "Engine/Engine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

const TArray< class ULocalPlayer * > & GetGamePlayers
(
    const UGameViewportClient * Viewport
) const