IOnlineFriends::RejectInvite

Starts an async task that rejects 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 RejectInvite
(
    int32 LocalUserNum,
    const FUniqueNetId & FriendId,
    const FString & ListName
)

Remarks

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

Returns

true if the request was started successfully, false otherwise

Parameters

Parameter

Description

LocalUserNum

the user that is rejecting 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