Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/PartyBeaconClient.h |
Include |
#include "PartyBeaconClient.h" |
Source |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/PartyBeaconClient.cpp |
virtual bool RequestReservation
(
const FOnlineSessionSearchResult & DesiredHost,
const FUniqueNetIdRepl & RequestingPartyLeader,
const TArray< FPlayerReservation > & PartyMembers
)
Sends a request to the remote host to allow the specified members to reserve space in the host's session.
this request is async.
true if the request able to be sent, false if it failed to send
Parameter |
Description |
---|---|
DesiredHost |
a search result describing the server that the connection will be made to |
RequestingPartyLeader |
the leader of this party that will be joining |
PartyMembers |
the list of players that want to reserve space |