Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils > API/Plugins/OnlineSubsystemUtils/ASpectatorBeaconClient
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool RequestReservation
(
const FOnlineSessionSearchResult& DesiredHost, |
Sends a request to the remote host to allow the specified members to reserve space in the host's session. | SpectatorBeaconClient.h | |
virtual bool RequestReservation
(
const FString& ConnectInfoStr, |
Sends a request to the remote host to allow the specified members to reserve space in the host's session. | SpectatorBeaconClient.h |
RequestReservation(const FOnlineSessionSearchResult &, const FUniqueNetIdRepl &, const FPlayerReservation &)
Description
Sends a request to the remote host to allow the specified members to reserve space in the host's session. Note this request is async.
| Name | RequestReservation |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/SpectatorBeaconClient.h |
| Include Path | #include "SpectatorBeaconClient.h" |
| Source | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/SpectatorBeaconClient.cpp |
virtual bool RequestReservation
(
const FOnlineSessionSearchResult & DesiredHost,
const FUniqueNetIdRepl & RequestingSpectator,
const FPlayerReservation & Reservation
)
true if the request able to be sent, false if it failed to send
Parameters
| Name | Remarks |
|---|---|
| DesiredHost | a search result describing the server that the connection will be made to |
| RequestingSpectator | the spectator that will be joining |
| Reservation | the reservation for the spectator who wants to reserve space |
RequestReservation(const FString &, const FString &, const FUniqueNetIdRepl &, const FPlayerReservation &)
Description
Sends a request to the remote host to allow the specified members to reserve space in the host's session. Note this request is async.
| Name | RequestReservation |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/SpectatorBeaconClient.h |
| Include Path | #include "SpectatorBeaconClient.h" |
| Source | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/SpectatorBeaconClient.cpp |
virtual bool RequestReservation
(
const FString & ConnectInfoStr,
const FString & InSessionId,
const FUniqueNetIdRepl & RequestingSpectator,
const FPlayerReservation & Reservation
)
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 |
| RequestingSpectator | the spectator that will be joining |
| Reservation | the reservation for the spectator who wants to reserve space |