IOnlineFriends::SendInvite

Starts an async task that sends an invite to another player.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineFriendsInterface.h"

Syntax

bool SendInvite
(
    int32 LocalUserNum,
    const FUniqueNetId & FriendId,
    const FString & ListName,
    const FOnSendInviteComplete & Delegate
)

Remarks

Starts an async task that sends an invite to another player.

Returns

true if the request was started successfully, false otherwise

Parameters

Parameter

Description

LocalUserNum

the user that is sending the invite

FriendId

player that is receiving the invite

ListName

name of the friends list to 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