APartyBeaconClient::RequestReservation

Sends a request to the remote host to allow the specified members to reserve space in the host's session.

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 RequestReservation
(
    const FString & ConnectInfoStr,
    const FString & InSessionId,
    const FUniqueNetIdRepl & RequestingPartyLeader,
    const TArray< FPlayerReservation > & PartyMembers
)

Remarks

Sends a request to the remote host to 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 this party that will be joining

PartyMembers

the list of players that want to reserve space