UEngine::GetNumGamePlayers

Return the number of entries in the GamePlayers array

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

int32 GetNumGamePlayers
(
    const UGameViewportClient * InViewport
)

Remarks

Return the number of entries in the GamePlayers array

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss