APartyBeaconHost::GetNumPlayersOnTeam

Get the number of players on a team across all existing reservations

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/PartyBeaconHost.h

Include

#include "PartyBeaconHost.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/PartyBeaconHost.cpp

Syntax

int32 GetNumPlayersOnTeam
(
    int32 TeamIdx
) const

Remarks

Get the number of players on a team across all existing reservations

Returns

number of players on the given team

Parameters

Parameter

Description

TeamIdx

team to query

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