Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils > API/Plugins/OnlineSubsystemUtils/APartyBeaconClient
Description
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. Note this request is async.
| Name | RequestAddOrUpdateReservation |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/PartyBeaconClient.h |
| Include Path | #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
)
true if the request able to be sent, false if it failed to send
Parameters
| Name | Remarks |
|---|---|
| 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 |