| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/PartyBeaconHost.h |
Include |
#include "PartyBeaconHost.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient, NotPlaceable, Config=Engine)
class APartyBeaconHost : 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 | |
---|---|---|
|
APartyBeaconHost ( |
Name | Description | ||
---|---|---|---|
|
EPartyReserv... |
AddPartyReservation ( |
Attempts to add a party reservation to the beacon |
|
ChangeTeam ( |
Place a party on a new team, party must fit and team must exist |
|
|
DoesSessionMatch ( |
Does the session match the one associated with this beacon |
|
|
DumpReservations() |
Output current state of reservations to log |
|
|
GetMaxAvailableTeamSize() |
Determine the maximum team size that can be accommodated based on the current reservation slots occupied. |
|
|
GetMaxPlayersPerTeam() |
Get the max number of players per team |
|
|
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 |
|
|
GetNumPlayersOnTeam ( |
Get the number of players on a team across all existing reservations |
|
|
GetNumTeams() |
Get the number of teams. |
|
|
TSubclassOf<... |
GetPartyBeaconHostClass() |
|
|
GetPartyLeader ( |
Get the party leader for a given unique id |
|
|
GetPlayersOnTeam ( |
Get all the known players on a given team |
|
|
GetPlayerValidation ( |
Obtain player validation string from party reservation entry |
|
|
GetReservationCount() |
Get the current reservation count inside the beacon |
|
|
GetReservationPlatformCount |
Get a count of all players for a given platform |
|
|
UPartyBeacon... |
GetState() |
|
|
GetTeamForCurrentPlayer ( |
Finds the current team assignment of the given player net id. |
|
|
HandlePlayerLogout ( |
Notify the beacon of a player logout |
|
|
HasCrossplayOptOutReservation() |
Crossplay |
|
|
InitFromBeaconState ( |
Initialize the party host beacon from a previous state/configuration all existing reservations and configuration values are preserved |
|
|
InitHostBeacon |
Initialize the party host beacon |
|
|
NewPlayerAdded ( |
Handle a newly added player |
|
|
NotifyReservationEventNextFrame ( |
||
|
FOnCancelati... |
OnCancelationReceived() |
Delegate fired when a the beacon host cancels a reservation |
|
FOnDuplicate... |
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 a reservation addition/removal |
|
FOnReservati... |
OnReservationsFull() |
Delegate fired when a the beacon host detects that all reservations are full |
|
FOnValidateP... |
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 |
|
|
PlayerRemoved ( |
Handle a newly removed player |
|
|
ProcessCancelReservationRequest ( |
Handle a reservation cancellation request received from an incoming client |
|
|
ProcessReservationAddOrUpdateRequest ( |
Handle a reservation add or update request depending on reservation existance received from an incoming client |
|
|
ProcessReservationRequest ( |
Handle a reservation request received from an incoming client |
|
|
ProcessReservationUpdateRequest ( |
Handle a reservation update request received from an incoming client |
|
|
ReconfigureTeamAndPlayerCount |
Reconfigures the beacon for a different team/player count configuration Allows dedicated server to change beacon parameters after a playlist configuration has been made Does no real checking against current reservations because we assume the UI wouldn't let this party start a gametype if they were too big to fit on a team together |
|
|
RegisterAuthTicket ( |
Register user auth ticket with the reservation system Must have an existing reservation entry |
|
|
EPartyReserv... |
RemovePartyReservation ( |
Attempts to remove a party reservation from the beacon |
|
SendReservationUpdates() |
Update clients with current reservation information |
|
|
SetTeamAssignmentMethod ( |
Define the method for assignment new reservations to teams |
|
|
SwapTeams ( |
Swap the parties between teams, parties must be of same size |
|
|
UpdatePartyLeader ( |
Update party leader for a given player with the reservation beacon (needed when party leader leaves, reservation beacon is in a temp/bad state until someone updates this) |
|
|
EPartyReserv... |
UpdatePartyReservation ( |
Updates an existing party reservation on the beacon An existing reservation for this party leader must already exist |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |