ESpectatorReservationResult::Type

The result code that will be returned during spectator reservation

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/SpectatorBeaconState.h

Include

#include "SpectatorBeaconState.h"

Syntax

namespace ESpectatorReservationResult
{
    enum Type
    {
        NoResult,
        RequestPending,
        GeneralError,
        SpectatorLimitReached,
        IncorrectPlayerCount,
        RequestTimedOut,
        ReservationDuplicate,
        ReservationNotFound,
        ReservationAccepted,
        ReservationDenied,
        ReservationDenied_CrossPlayRestriction,
        ReservationDenied_Banned,
        ReservationRequestCanceled,
        ReservationInvalid,
        BadSessionId,
        ReservationDenied_ContainsExistingPlayers,
    }
}

Values

Name

Description

NoResult

Empty state.

RequestPending

Pending request due to async operation, server will contact client shortly.

GeneralError

An unknown error happened.

SpectatorLimitReached

All available reservations are booked.

IncorrectPlayerCount

Wrong number of players to join the session.

RequestTimedOut

No response from the host.

ReservationDuplicate

Already have a reservation entry for the requesting spectator.

ReservationNotFound

Couldn't find the spectator specified for a reservation update request.

ReservationAccepted

Space was available and it's time to join.

ReservationDenied

The beacon is paused and not accepting new connections.

ReservationDenied_CrossPlayRestriction

Some kind of cross play restriction prevents this spectator from joining

ReservationDenied_Banned

This player is banned.

ReservationRequestCanceled

The reservation request was canceled before being sent.

ReservationInvalid

The reservation was rejected because it was badly formed.

BadSessionId

The reservation was rejected because this was the wrong session.

ReservationDenied_ContainsExistingPlayers

The reservation contains players already in this game

Remarks

The result code that will be returned during spectator reservation

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss