IOnlineSession::SendSessionInviteToFriends

Sends invitations to play in the player's current session

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool SendSessionInviteToFriends
(
    const FUniqueNetId & LocalUserId,
    FName SessionName,
    const TArray< TSharedRef< const FUniqueNetId > > & Friends
)

Remarks

Sends invitations to play in the player's current session

Returns

true if successful, false otherwise

Parameters

Parameter

Description

LocalUserId

the user that is sending the invite

SessionName

session to invite them to

Friends

the player to send the invite to

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