IOnlineSession::AddNamedSession

Adds a new named session to the list (from existing session data)

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 FOnlineSession & Session
)

Remarks

Adds a new named session to the list (from existing session data)

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