UEngine::GetNumGamePlayers

Return the number of entries in the GamePlayers array

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

int32 GetNumGamePlayers
(
    UWorld * InWorld
)

Remarks

Return the number of entries in the GamePlayers array