| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/SpectatorBeaconHost.h |
Include |
#include "SpectatorBeaconHost.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient, NotPlaceable, Config=Engine)
class ASpectatorBeaconHost : public AOnlineBeaconHostObject
A beacon host used for taking reservations for an existing game session
Name | Description | ||
---|---|---|---|
|
bLogoutOnSessionTimeout |
Do the timeouts below cause a player to be removed from the reservation list |
|
|
CancelationReceived |
Delegate fired when the beacon indicates a reservation cancellation |
|
|
DuplicateReservation |
Delegate fired when the beacon detects a duplicate reservation |
|
|
NewPlayerAddedDelegate |
Delegate fired when reservation has been added |
|
|
ReservationChanged |
Delegate fired when the beacon indicates a reservation add/remove |
|
|
ReservationsFull |
Delegate fired when the beacon indicates all reservations are taken |
|
|
float |
SessionTimeoutSecs |
Seconds that can elapse before a reservation is removed due to player not being registered with the session |
|
State |
State of the beacon |
|
|
float |
TravelSessionTimeoutSecs |
Seconds that can elapse before a reservation is removed due to player not being registered with the session during a travel |
|
ValidatePlayers |
Delegate fired when asking the beacon owner if this reservation is legit |
Name | Description | |
---|---|---|
|
ASpectatorBeaconHost ( |
Name | Description | ||
---|---|---|---|
|
ESpectatorRe... |
AddSpectatorReservation ( |
Attempts to add a spectator reservation to the beacon |
|
DoesSessionMatch ( |
Does the session match the one associated with this beacon |
|
|
DumpReservations() |
Output current state of reservations to log |
|
|
GetMaxReservations() |
Get the maximum number of reservations allowed inside the beacon |
|
|
GetNumConsumedReservations() |
Get the number of reservations actually used/consumed across all parties inside the beacon |
|
|
GetPlayerValidation ( |
Obtain player validation string from spectator reservation entry |
|
|
GetReservationCount() |
Get the current reservation count inside the beacon NOTE: This is NOT the same as the number of consumed reservations across all parties, just the total number of reservations! |
|
|
TSubclassOf<... |
GetSpectatorBeaconHostClass() |
|
|
USpectatorBe... |
GetState() |
|
|
HandlePlayerLogout ( |
Notify the beacon of a player logout |
|
|
InitFromBeaconState ( |
Initialize the spectator host beacon from a previous state/configuration all existing reservations and configuration values are preserved |
|
|
InitHostBeacon |
Initialize the spectator host beacon |
|
|
NewPlayerAdded ( |
Handle a newly added player |
|
|
NotifyReservationEventNextFrame ( |
||
|
FOnCancelati... |
OnCancelationReceived() |
Delegate fired when a the beacon host cancels a reservation |
|
FOnSpectator... |
OnDuplicateReservation() |
Delegate fired when a the beacon detects a duplicate reservation |
|
FOnNewPlayer... |
OnNewPlayerAdded() |
Delegate fired when the beacon host adds a new player |
|
FOnReservati... |
OnReservationChanged() |
Delegate fired when a the beacon host detects that all reservations are full |
|
FOnReservati... |
OnReservationsFull() |
Crossplay Delegate fired when a the beacon host detects a reservation addition/removal |
|
FOnSpectator... |
OnValidatePlayers() |
Delegate called when the beacon gets any request, allowing the owner to validate players at a higher level (bans,etc) |
|
PlayerHasReservation ( |
Does a given player id have an existing reservation |
|
|
ProcessCancelReservationRequest ( |
Handle a reservation cancellation request received from an incoming client |
|
|
ProcessReservationRequest ( |
Handle a reservation request received from an incoming client |
|
|
RegisterAuthTicket ( |
Register user auth ticket with the reservation system Must have an existing reservation entry |
|
|
ESpectatorRe... |
RemoveSpectatorReservation ( |
Attempts to remove a spectator reservation from the beacon |
|
SendReservationUpdates() |
Update clients with current reservation information |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |