FNamedOnlineSession::GetJoinability

Calculate the possible joinability state of this session check the values from left to right in order of precedence

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSessionSettings.h

Include

#include "OnlineSessionSettings.h"

Syntax

bool GetJoinability
(
    bool & bPublicJoinable,
    bool & bFriendJoinable,
    bool & bInviteOnly,
    bool & bAllowInvites
) const

Remarks

Calculate the possible joinability state of this session check the values from left to right in order of precedence

Returns

true if the out params are valid, false otherwise

Parameters

Parameter

Description

bPublicJoinable

[out] is the game joinable by anyone at all

bFriendJoinable

[out] is the game joinable by friends via presence (doesn't require invite)

bInviteOnly

[out] is the game joinable via explicit invites

bAllowInvites

[out] are invites possible (use with bInviteOnly to determine if invites are available right now)

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