UPartyBeaconState::GetTeamForCurrentPlayer

Get the team index for a given player

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

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

Include

#include "PartyBeaconState.h"

Source

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

Syntax

virtual int32 GetTeamForCurrentPlayer
(
    const FUniqueNetId & PlayerId
) const

Remarks

Get the team index for a given player

Returns

team index for the given player, INDEX_NONE otherwise

Parameters

Parameter

Description

PlayerId

uniqueid for the player of interest

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