IOnlinePartySystem::SendInvitation

Sends an invitation to a user that could not otherwise join a party if the player accepts the invite they will be sent the data needed to trigger a call to RequestReservation

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlinePartyInterface.h"

Syntax

bool SendInvitation
(
    const FUniqueNetId & LocalUserId,
    const FOnlinePartyId & PartyId,
    const FPartyInvitationRecipient & Recipient,
    const FOnSendPartyInvitationComplete & Delegate
)

Remarks

Sends an invitation to a user that could not otherwise join a party if the player accepts the invite they will be sent the data needed to trigger a call to RequestReservation

Returns

true if task was started

Parameters

Parameter

Description

LocalUserId

user making the request

PartyId

id of an existing party

Recipient

structure specifying the recipient of the invitation

Delegate

called on completion

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