IOnlineSession::IsPlayerInSession

Determine if the player is registered in the specified session

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool IsPlayerInSession
(
    FName SessionName,
    const FUniqueNetId & UniqueId
)

Remarks

Determine if the player is registered in the specified session

Returns

true if the player is registered in the session

Parameters

Parameter

Description

UniqueId

the player to check if in session or not

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