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 RequestAddOrUpdateReservation
(
const FString & ConnectInfoStr,
const FString & InSessionId,
const FUniqueNetIdRepl & RequestingPartyLeader,
const TArray< FPlayerReservation > & PartyMembers
)
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.
true if the request able to be sent, false if it failed to send
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 |