IOnlineSession::FindSessions

Searches for sessions matching the settings specified

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool FindSessions
(
    int32 SearchingPlayerNum,
    const TSharedRef< FOnlineSessionSearch > & SearchSettings
)

Remarks

Searches for sessions matching the settings specified

Returns

true if successful searching for sessions, false otherwise

Parameters

Parameter

Description

SearchingPlayerNum

the index of the player searching for a match

SearchSettings

the desired settings that the returned sessions will have

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