IOnlineSession::AddNamedSession

Adds a new named session to the list (new session)

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

FNamedOnlineSession * AddNamedSession
(
    FName SessionName,
    const FOnlineSessionSettings & SessionSettings
)

Remarks

Adds a new named session to the list (new session)

Returns

a pointer to the struct that was added

Parameters

Parameter

Description

SessionName

the name to search for

GameSettings

the game settings to add

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