APartyBeaconClient::RequestAddOrUpdateReservation

Sends a request to the remote host.

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/PartyBeaconClient.h

Include

#include "PartyBeaconClient.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/PartyBeaconClient.cpp

Syntax

virtual bool RequestAddOrUpdateReservation
(
    const FString & ConnectInfoStr,
    const FString & InSessionId,
    const FUniqueNetIdRepl & RequestingPartyLeader,
    const TArray< FPlayerReservation > & PartyMembers
)

Remarks

Sends a request to the remote host. If there is an existing reservation it will update it in the host's session. Otherwise it will allow the specified members to reserve space in the host's session.

this request is async.

Returns

true if the request able to be sent, false if it failed to send

Parameters

Parameter

Description

ConnectInfoStr

the URL of the server that the connection will be made to

InSessionId

Id of the session expected to be found at this destination

RequestingPartyLeader

the leader of the party that will be updated

PartyMembers

the list of players that will be added to the party