AGameSession::UpdateSessionJoinability

Update session join parameters

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameSession.h

Include

#include "GameFramework/GameSession.h"

Source

/Engine/Source/Runtime/Engine/Private/GameSession.cpp

Syntax

virtual void UpdateSessionJoinability
(
    FName InSessionName,
    bool bPublicSearchable,
    bool bAllowInvites,
    bool bJoinViaPresence,
    bool bJoinViaPresenceFriendsOnly
)

Remarks

Update session join parameters

Parameters

Parameter

Description

SessionName

name of session to update

bPublicSearchable

can the game be found via matchmaking

bAllowInvites

can you invite friends

bJoinViaPresence

anyone who can see you can join the game

bJoinViaPresenceFriendsOnly

can only friends actively join your game

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