ASpectatorBeaconClient::RequestReservation

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

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

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

Include

#include "SpectatorBeaconClient.h"

Source

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

Syntax

virtual bool RequestReservation
(
    const FString & ConnectInfoStr,
    const FString & InSessionId,
    const FUniqueNetIdRepl & RequestingSpectator,
    const FPlayerReservation & Reservation
)

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

RequestingSpectator

the spectator that will be joining

Reservation

the reservation for the spectator who wants to reserve space

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