IOnlineFriends::AcceptInvite

Starts an async task that accepts an invite from 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 AcceptInvite
(
    int32 LocalUserNum,
    const FUniqueNetId & FriendId,
    const FString & ListName,
    const FOnAcceptInviteComplete & Delegate
)

Remarks

Starts an async task that accepts an invite from another player.

Returns

true if the request was started successfully, false otherwise

Parameters

Parameter

Description

LocalUserNum

the user that is accepting the invite

FriendId

player that had sent the pending invite

ListName

name of the friends list to operate on

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